2009/7/10 pluknet <pluk...@gmail.com>:
> Hi.
>
> I have the next string in rc.conf:
> ifconfig_lo0_alias0="inet 192.168.193.193/32"
>
> /etc/rc.d/netif restart lo0 prints an error:
>
> Stopping network:ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>  lo0.
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
>        inet6 ::1 prefixlen 128
>        inet 127.0.0.1 netmask 0xff000000
>        inet 192.168.193.193 netmask 0xffffffff
>
> Can someone comment on this?
>

P.S. AFAICS from sh -x this equvalents to:
ifconfig lo0 inet 192.168.193.193/32 -alias
ifconfig lo0 inet 192.168.193.193 delete

$ sudo ifconfig lo0 inet 192.168.193.193/32 -alias
$ ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
$ sudo ifconfig lo0 inet 192.168.193.193 delete
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address

-- 
wbr,
pluknet
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to