NAT on XP Pro

Sample Network Diagram


Configure the IP addresses
To enable NAT and use MasterShaper on IHL, the XP Professional computer must have 2 Ethernet ports. One will plug into the Internet connection. The other will connect to IHL.
 * 1) Control Panel > Network Connections
 * 2) Rename the network connection to the Internet to WAN. Use the IP settings specified by the Internet Service Provider.
 * 3) Rename the network connection to IHL to LAN
 * 4) Edit the LAN settings. Right Click > Properties > TCP/IP Settings
 * IP Address: 192.168.50.1
 * Netmask: 255.255.255.0
 * Leave default gateway and DNS blank

Configure the IP addresses on the IHL

 * 1) From a browser, log into webmin on IHL
 * 2) System > Inveneo Network Management
 * 3) Under Connection to the Internet, set a Static IP address
 * IP Address: 192.168.50.2
 * Netmask: 255.255.255.0
 * Gateway: 192.168.50.1
 * 1) Click Apply Changes
 * 2) Reboot IHL

Stop and test
You will be able to ping the XP Pro machine (192.168.50.1) from IHL (192.168.50.2) and vice versa. You won't be able to reach the internet yet. No worries.

Configure NAT on the XP Pro Machine
netsh routing ip nat install netsh routing ip nat add interface "WAN" full netsh routing ip nat add interface "LAN" private
 * 1) Control Panel > Administrative Tools > Services.
 * 2) Find the "routing and remote access" service. Double click it and set its startup type to "automatic"
 * 3) Start regedit
 * 4) Find: My Computer > HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > Tcpip > Parameters > IPEnableRouter and set it to 1
 * 5) Reboot XP
 * 6) open a command prompt
 * 1) Reboot XP

Stop and test
From IHL, do ping tests to the Internet ping 4.2.2.2 ping www.inveneo.org You should be able to ping. If you cannot, check the IP address of IHL and XP. You will not be able to ping the Internet from a client machine on the network

In XP configure the static route to the client LAN:
Open a command prompt route -p add 192.168.100.0 mask 255.255.255.0 192.168.50.2 Reboot XP

Final Testing
From a client machine plugged into the LAN side of IHL, perform some ping tests ping 192.168.100.1 [if you can't, cabling/physical problems] ping 192.168.50.2 [if you can't, IHL /etc/networking/interfaces problems] ping 192.168.50.1 [if you can't, XP Pro static route configuration problems] ping 4.2.2.2 [if you can't, XP Pro NAT configuration problems] ping www.inveneo.org [if you can't DNS problems]

Return to Installing MasterShaper 0.44 Return to MasterShaper main page