ifconfig -- how to remove address and mask?
freebsd at dreamchaser.org
freebsd at dreamchaser.org
Tue Oct 30 00:02:58 PDT 2007
I stand corrected.
ifconfig <interface> delete
did the job;
destroy is what failed.
Thanks.
> I tried delete, but it only works for *additional* ip addresses added
> using the alias command, not the original, primary one. I can't
> remember the error message.
>
> Yuri Pankov wrote:
>> On Sun, 2007-10-28 at 21:14 -0700, freebsd at dreamchaser.org wrote:
>>> running 6.1,
>>>
>>> Is there a way to bring an interface down and remove the ipaddr and
>>> mask?
>>> I've tried ifconfig destroy with no effect, and I'm getting tired of
>>> twiddling rc.conf and rebooting...
>>>
>>> The problem arises when testing a new configuration where an existing
>>> interface has an assigned ip addr, and is then changed to be used with
>>> pppoe. The routine tables get really confused...
> ...
>> Try ifconfig <interface> delete.
>
More information about the freebsd-questions
mailing list