add route doesn't work
Hi,
I have a 3Com Layer 2 switch. I segmented the switch into two VLAN. I would like to route from segment one to segment two. In segment one, I have a PDC with two NIC, NIC 1 with IP of 172.16.0.1/255.255.254.0 plugged into segment one and NIC 2 with IP of 192.168.0.1/255.255.255.0 plugged into segment two. In segment two, I have a BDC with one NIC with IP of 192.168.0.1/255.255.255.0. I can ping BDC from PDC, but BDC couldn't ping PDC. The routes that I added are as below:
at PDC,
route add 192.168.0.0 mask 255.255.255.0 gateway 192.168.0.2
route add 172.16.0.0 mask 255.255.255.0 gateway 192.168.0.2
at BDC,
route add 172.16.0.0 mask 255.255.255.0 gateway 192.168.0.2
Anything wrong with the route?
Thanks.
|