[LARTC] Basic question

Linux Advanced Routing and Traffic Control

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

 



On Wed, Feb 27, 2002 at 10:31:17PM +0530, suresh wrote:
> 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

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


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