hi acid_kewpie,
you really rock, yesterday i've gone throug IP ROUTE, seen route add also, but i added around 10-15 time, so messed up entirely and working fine, now.
Quote:
sorry fo 192.168.20.0, it supposed to be 192.168.80.254 (one nic out of four attached to linux router)
|
, i added rest of the three networks to it.
Quote:
route add -net 192.168.90.0 netmask 255.255.255.0 gw 192.168.80.254
route add -net 192.168.60.0 netmask 255.255.255.0 gw 192.168.80.254
route add -net 192.168.70.0 netmask 255.255.255.0 gw 192.168.80.254
|
And also to make them persistant, i gone through your link but found little confused ,so followed
http://unixfoo.blogspot.in/2009/05/c...-route-in.html
Quote:
GATEWAY0=192.168.80.254
NETMASK0=255.255.255.0
ADDRESS0=192.168.60.0
GATEWAY1=192.168.80.254
NETMASK1= 255.255.255.0
ADDRESS1=192.168.70.0
GATEWAY2=192.168.80.254
NETMASK2= 255.255.255.0
ADDRESS3=192.168.90.0
|
but when i searched to know more aboue route add, some of them mentioned dev eth0 / eth1 etc...
if you don't mind, can you tell me what exactly thig command does, because they given workaround not the real descritpion.
attached pic gives you clear picutre, please find it and let me know any other best way there to do it.
thank you very much....