2 nics, 2 networks, 2 switches

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



Hi Everyone,

I have a server with two NICs. One NIC is already configured for network
A, but the second is disabled at the moment.  I want to enable it too,
but put it on network B.  Unfortunately, I don't know how to do that.
Well, what I've tried hasn't worked anyway.

Each NIC is plugged into a separate switch, and each network has it's
own gateway.  But, I can only set one default gateway.  What parameters
do I need to use in the NIC config file to force NIC 1 to use gateway 1,
and NIC 2 to use gateway 2?  I tried using "GATEWAY=blah" in each config
file (ifcfg-eth0 and ifcfg-eth1), but it didn't work.

I'm over looking something.

Regards,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.22.2-42.fc6 i686 GNU/Linux 
11:40:26 up 14 days, 10:05, 4 users, load average: 0.57, 0.20, 0.08 


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux