Skip to contentSkip to conversation

Basic question

LARTC suresh 2 participants 2 messages Feb 27, 2002 – Feb 28, 2002

lore
Share & tools
lore

suresh

author
#0 lore raw

Hello All,

Sorry for very basic question .I am new to adv. routing

What is command to add in table main which looks like

172.16.1.250 dev eth1 proto kernel scope link src 172.16.1.245 here 172.16.1.250 is gw ip and 172.16.1.245 is interface address.

I tried with command
ip route add 192.168.1.247 scope link dev eth1 proto kernel

but i did not get the "src 172.16.1.245"

Thanks
Suresh

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 11 lines · suresh

Hello All,

Sorry for very basic question .I am new to adv. routing

What is command to add in table main which looks like

172.16.1.250 dev eth1 proto kernel scope link src 172.16.1.245 here 172.16.1.250 is gw ip and 172.16.1.245 is interface address.

I tried with command
ip route add 192.168.1.247 scope link dev eth1 proto kernel

src 172.16.1.245 should live behind 'dev eth1'.

Regards,

bert

Signature · 6 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/