Re: [CentOS] two gateways on one PC ?

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



Niels Przybilla wrote:

Hi,

i added second nic to my server

I have these two uplinks:

My main uplink is 195.XXX.XXX.XXX
My secondary is 83.XXX.XXX.XXX

When I add the secondary NIC, CentOS automatically sets default gw to 83.XXX.XXX.1 and deletes the gateway from 195.XXX.XXX.1

How can I set it that CentOs uses the gateway 195.XXX.XXX.1 as default gateway. When I set this manually with route, CentOS changes my sentings after a reboot. And I need also to accept incoming traffic on 83.XXX.XXX.1.

Thanks for your help and best regards

Niels

Have you checked http://lartc.org/howto/index.html -- especially section 4.x ?


_______________________________________________
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