[CentOS] 2 default gateway?

Mario mario.mailing.lists at gmail.com
Mon Dec 29 21:30:30 UTC 2008


> I've got 2 internet connection, one is direct connected to my server and 
> the
> second i use by default gateway. How can I create 2 default gateway?

>you can't, that's why it is called "default". You can add gateways to each 
>of
>your interfaces by adding GATEWAY= to the respective ifcfg file in
>sysconfig/network-scripts.


ok, but for example when i connect to one of that interface on port 22, my 
server doesn't try to use the second gateway? does it use the 
interface(gateway) on which a connection is started?

Mario


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



More information about the CentOS mailing list