[WBEL-users] 2 addresses on a NIC and default route problem
Craig White
craigwhite at azapple.com
Tue Feb 1 09:05:52 CST 2005
On Tue, 2005-02-01 at 08:10 -0500, Robert Moskowitz wrote:
> I have two addresses on my NIC.
>
> The first is the final address for the system, but without a default
> gateway. I did this to get BIND set right, while running the system on a
> test subnet. Oh and this is a public address.
>
> The second address is from my 1918 RFC, and it has a default gateway.
>
> After reboot, there is no default route.
>
> I did not know what to do, so I added a 0.0.0.0 route to the second
> address, pointed to the gateway.
>
> This worked.
>
> Then I rebooted, and no default route.
>
> I deactiviated the second address, then reactivated it and the default
> route showed up.
>
> ?????
----
I am no expert on these things but when I am setting up multiple
addresses on a system I never put the gatewayaddress on a nic via ifcfg-
ethx
I always set
GATEWAYDEV=ethx
GATEWAY=xxx.xxx.xxx.xxx
in /etc/sysconfig/network
YMMV
Craig
More information about the Whitebox-users
mailing list