Re: Linux router configuration??

Linux Advanced Routing and Traffic Control

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

 



On Fri, 2003-09-26 at 19:32, Raghuveer wrote:

Can I have both the network cards in the same n/w...? Becoz If I try to 
use both NIC's with the same n/w, running <$ route -n> we can see either 
eth1 or eth0 repeated twice. Pls let me know where is the problem..?


you don't need to do this.  just add both IP addresses to the same NIC, viz ;

ip address add 192.168.0.254/24 dev eth0
ip address add 10.128.254.254/16 dev eth0

and proceed as usual.  The subnet routes are added automatically.



/steve


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