how use route to configure this topolory?
I have this network:
NodeGroup1(172.16.100.2/25) <-Link1-> Node1(Link1 IP: 172.16.100.1/25 and LInkInter1 IP: 172.16.0.2/30)<-LinkInter1->
Node2(LinkInter1 IP: 172.16.0.1/30 and Link2 IP: 172.16.100.132/25)<-Link2->NodeGroup2(Link2 IP:172.16.100.129/25).
I want that traffic that goes from NodeGroup1 reaches NodeGroup2. I am thinkng in using the route command, but I don't know which values to use. Any help in using the route?
Here is the routing table:
NodeGroup1
root@debian:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.100.0 * 255.255.255.128 U 0 0 0 eth1
10.103.0.0 * 255.255.255.0 U 0 0 0 eth0
default 10.103.0.1 0.0.0.0 UG 0 0 0 eth0
root@debian:~#
Node1
root@debian:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.0 * 255.255.255.252 U 0 0 0 eth1
172.16.100.0 * 255.255.255.128 U 0 0 0 eth2
10.103.0.0 * 255.255.255.0 U 0 0 0 eth0
default 10.103.0.1 0.0.0.0 UG 0 0 0 eth0
root@debian:~#
Node2
root@debian:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.0 * 255.255.255.252 U 0 0 0 eth1
172.16.100.128 * 255.255.255.128 U 0 0 0 eth2
10.103.0.0 * 255.255.255.0 U 0 0 0 eth0
default 10.103.0.1 0.0.0.0 UG 0 0 0 eth0
NodeGroup2
root@debian:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.100.128 * 255.255.255.128 U 0 0 0 eth1
10.103.0.0 * 255.255.255.0 U 0 0 0 eth0
default 10.103.0.1 0.0.0.0 UG 0 0 0 eth0
root@debian:~#
Last edited by xeon123; 03-29-2014 at 10:19 AM.
|