Switches, Hubs, and Modems
1748171 Members
3978 Online
108758 Solutions
New Discussion

two roue one nic

 
hturker
Frequent Advisor

two roue one nic

hello i have ont 1:10Gb Ethernet blade switch and a bl465

i wated to give two different ip two nic

which
eth0 150.150.220.38
netmask 255.255.255.0
gw 150.150.220.1

eth1 150.150.200.31
netmask 255.255.255.0
gw 150.150.200.1

if i did not give any route command they work very nice

but i wanted to give route command
route add -net 150.150.200.0 netmask 255.255.255.0 gw 150.150.200.1 dev eth1

route add -net 150.150.220.0 netmask 255.255.255.0 gw 150.150.220.1 dev eth0

and add two default gw

route add default gw 150.150.200.1 dev eth1
route add default gw 150.150.220.1 dev eth0

after this i make a control

i can ping 150.150.200.1 and i can ping 150.150.200.38 from a machine in the same network with 150.150.200.0/24

i can ping 150.150.220.1 and i can ping 150.150.220.31 from a machine in the same network with 150.150.220.0/24

and from a other network which is connected froma backbone 150.150.218.0/24
i can ping 150.150.220.38 but i cant ping 150.150.200.31


why?