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

Re: ifconfig remove eth0:1



> If you saw my last message, "Apache on second ip address", I have tried
> to get Apache to server the same content on two ip addresses off the
> same adapter.
> 
> I have setup the second address successfully (I can ssh into it) but
> can't get Apache to be "sensitive" to the second ip address.

it should work with apache too! check your apache configuration for
Listen or BindAddress directives that force apache to be bound just on
the primary address of eth0, and try to restart it.

> Anyway, this question is how one removes the eth0:1 entry. I've tried
>     ifconfig del eth0:1
> and
>     ifconfig eth0:1 del
> both unsuccessfully.

ifconfig eth0:1 0.0.0.0 will kill the virtual interface.

> Help much appreciated.
> Rory

hope it helps!

pietro.



Reply to: