ifconfig -- how to remove address and mask?
alexey.karguine at gmail.com
Tue Oct 30 04:57:23 PDT 2007
On 29.10.2007, at 7:14, freebsd at dreamchaser.org wrote:
> running 6.1,
> Is there a way to bring an interface down and remove the ipaddr and
> 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...
You can use something like that:
ifconfig fxp0 inet 10.10.10.1/24 -alias
It will remove address 10.10.10.1/24 from interface fxp0.
More information about the freebsd-questions