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

Re: Setting default address for box with multiple IP addresses



Craig White wrote:

remove any gateway addresses from
/etc/sysconfig/network-scripts/ifcfg-eth0 (and 0:0 and 0:1)

put gateway address and gateway device in /etc/sysconfig/network
like
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=phoenix.mullenpr.com
GATEWAY=64.3.90.1
GATEWAYDEV=eth1

I have done that. It cleaned up the route nicely. Also the original problem seems to be fixed now (outbound connections are now from the ip address of the first defined IP address.


Thanks to all.

--
Bryan White, ArcaMax Inc.



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