[lug] DHCP and a static IP

Alan Robertson alanr at unix.sh
Fri Oct 26 07:11:15 MDT 2001


Rob Nagler wrote:
> 
> > I've never done this before, but another approach that comes to mind
> > would be using a virtual interface, like eth0:0, for the static IP
> > address.  It can be configured in /etc/sysconfig just like any other
> > interface.
> 
> The only problem we've had with static virtual interfaces is that
> they have to be on the same subnet.  I haven't gotten it to work
> with multiple subnets.  This was on RH 6.2.  I haven't tried it
> on RH 7.1.

I think you can get this to work if you make sure you have routes for all
the subnets, and get all the netmasks right.

	-- Alan Robertson
	   alanr at unix.sh



More information about the LUG mailing list