Email Subscription Notifications Suspended Temporarily
We are in the process of making navigation in the Servers and Operating Systems forums simpler and more direct. While doing this, we have to temporarily suspend email notifications for subscriptions. If you are subscribed to one or more discussion boards or blogs in the community, please check them daily to see new content. Notifications will be turned back on in a few days. We apologize for any inconvenience this may cause. Thanks, Warren_Admin
Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

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?