Windows XP Need help with subnet routing and using XP as a router

Joined
Jul 23, 2009
Messages
1
Reaction score
0
Here's a picture (aren't they worth a 1000 words...)

10hw1oh.jpg


PHP:
    # The Setup:
 # """"""""""
 #	 Computer					 IPs						Gateway
 #	 ---------- ------------------------------------------ ------------
 #	 PCS		 192.168.254.1
 #	 DB		  192.168.254.2 192.168.50.50			   192.168.50.1
 #	 Linksys				   192.168.50.1   123.x.x.x	123.x.x.y
 #
 #	 192.168.254.0/24	PLC1 Subnet
 #	 10.10.10.0/24	   PCS2 Subnet
 #	 192.168.50.0/24	 LAN Subnet
 #	 123.x.x.0/24		ISP Subnet
 #
 #	 The PCS computer has one network card. It is on a subnet with various PLC
 #	 devices. All IPs on this subnet are statically assigned.
 #
 #	 The DB computer has two network cards. One on the PLC1 subnet, the other
 #	 on the office LAN subnet. It has the IPEnableRouter=1 regedit applied.
 #
 #	 The Linksys router is connected to the LAN subnet. Its WAN port is
 #	 connected to the DSL modem supplied by the ISP. It assigns IPs to the LAN
 #	 subnet via DHCP.
 #
 # The Question:
 # """""""""""""
 #	 What additional settings are required to allow the PLC1 subnet access to
 #	 the internet?
 #
 #	 Devices on the PLC subnet must be able to send email alerts.
 #
 #	 The answer likely lies in a few simple route table entries. I think the
 #	 proverbial forest is hiding the trees. I can't seem to get it working.
 #
 #	 On the PCS computer I tried:
 #
 #		 route -p add 192.168.50.0 mask 255.255.255.0 192.168.254.2
 #
 #	 Which allows ping 192.168.50.50 to work, but the rest of the subnet is
 #	 inaccessible. Suggestions would be appreciated.
 #
 #	 I'm guessing there are entries also required on the DB computer.
 #
 #	 Thanks in advance to the community for any help offered.
 #
 #	 Dave
 #
 # PCS Computer Route Table:
 # """""""""""""""""""""""""
 #	 ===========================================================================
 #	 0x1 ........................... MS TCP Loopback interface
 #	 0x2 ...00 21 9b 87 ed a6 ...... Intel(R) Gigabit
 #	 ===========================================================================
 #	 Network Destination		  Netmask		Gateway	  Interface  Metric
 #				 0.0.0.0		  0.0.0.0  192.168.254.2  192.168.254.1	  20
 #			   127.0.0.0		255.0.0.0	  127.0.0.1	  127.0.0.1	   1
 #			192.168.50.0	255.255.255.0  192.168.254.2  192.168.254.1	   1
 #		   192.168.254.0	255.255.255.0  192.168.254.1  192.168.254.1	  20
 #		   192.168.254.1  255.255.255.255	  127.0.0.1	  127.0.0.1	  20
 #		 192.168.254.255  255.255.255.255  192.168.254.1  192.168.254.1	  20
 #			   224.0.0.0		240.0.0.0  192.168.254.1  192.168.254.1	  20
 #		 255.255.255.255  255.255.255.255  192.168.254.1  192.168.254.1	   1
 #	 Default Gateway: 192.168.254.2
 #	 ===========================================================================
 #	 Persistent Routes:
 #		 Network Address  Netmask Gateway		Address  Metric
 #			192.168.50.0	255.255.255.0  192.168.254.2	   1
 #
 #	 Windows IP Configuration		Ethernet adapter PLC:
 #		 Primary Dns Suffix :			Description . . : Intel(R) Gigabit
 #		 Node Type . . . . . : Unknown   Dhcp Enabled. . : No
 #		 IP Routing Enabled. : No		IP Address. . . : 192.168.254.1
 #		 WINS Proxy Enabled. : No		Subnet Mask . . : 255.255.255.0
 #										 Default Gateway : 192.168.254.2
 #
 # DB Computer Route Table:
 # """"""""""""""""""""""""
 #	 ===========================================================================
 #	 0x1 ........................... MS TCP Loopback interface
 #	 0x2 ...00 17 3f ce c0 5f ...... Realtek RTL8139
 #	 0x3 ...00 21 9b 87 ed 84 ...... Intel(R) Gigabit
 #	 ===========================================================================
 #	 Network Destination		  Netmask		Gateway	  Interface  Metric
 #				 0.0.0.0		  0.0.0.0   192.168.50.1  192.168.50.50	  20
 #			   127.0.0.0		255.0.0.0	  127.0.0.1	  127.0.0.1	   1
 #			192.168.50.0	255.255.255.0  192.168.50.50  192.168.50.50	  20
 #		   192.168.50.50  255.255.255.255	  127.0.0.1	  127.0.0.1	  20
 #		  192.168.50.255  255.255.255.255  192.168.50.50  192.168.50.50	  20
 #		   192.168.254.0	255.255.255.0  192.168.254.2  192.168.254.2	  20
 #		   192.168.254.2  255.255.255.255	  127.0.0.1	  127.0.0.1	  20
 #		 192.168.254.255  255.255.255.255  192.168.254.2  192.168.254.2	  20
 #			   224.0.0.0		240.0.0.0  192.168.50.50  192.168.50.50	  20
 #			   224.0.0.0		240.0.0.0  192.168.254.2  192.168.254.2	  20
 #		 255.255.255.255  255.255.255.255  192.168.50.50  192.168.50.50	   1
 #		 255.255.255.255  255.255.255.255  192.168.254.2  192.168.254.2	   1
 #	 Default Gateway:	 192.168.50.1
 #	 ===========================================================================
 #	 Persistent Routes:
 #		 None
 #
 #	 Windows IP Configuration
 #		 Primary Dns Suffix :
 #		 Node Type . . . . . : Unknown
 #		 IP Routing Enabled. : Yes
 #		 WINS Proxy Enabled. : No
 #
 #	 Ethernet adapter LAN:					 Ethernet adapter PLC:
 #		 Description . . . . : Realtek RTL8139	 Description . . : Intel(R) Gigabit
 #		 Dhcp Enabled. . . . : Yes				 Dhcp Enabled. . : No
 #		 Autoconfig Enabled  : Yes				 IP Address. . . : 192.168.254.2
 #		 IP Address. . . . . : 192.168.50.50	   Subnet Mask . . : 255.255.255.0
 #		 Subnet Mask . . . . : 255.255.255.0	   Default Gateway :
 #		 Default Gateway . . : 192.168.50.1
 #		 DHCP Server . . . . : 192.168.50.1
 #		 DNS Servers . . . . : 142.x.x.x
 #							   142.x.x.y
 #
(excuse the PHP box - its the only way I could get the formatting to take)

 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top