[LARTC] Basic question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux