Date: Fri, 10 Jul 2009 20:24:27 +0400 From: pluknet <pluknet@gmail.com> To: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: aliases on lo0: SIOCDIFADDR gives EADDRNOTAVAIL Message-ID: <a31046fc0907100924r21e772far20a33d9eff49072d@mail.gmail.com> In-Reply-To: <a31046fc0907100913j7c3edf1ft7173c135a83cc846@mail.gmail.com> References: <a31046fc0907100913j7c3edf1ft7173c135a83cc846@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/10 pluknet <pluknet@gmail.com>: > Hi. > > I have the next string in rc.conf: > ifconfig_lo0_alias0=3D"inet 192.168.193.193/32" > > /etc/rc.d/netif restart lo0 prints an error: > > Stopping network:ifconfig: ioctl (SIOCDIFADDR): Can't assign requested ad= dress > =A0lo0. > lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > =A0 =A0 =A0 =A0inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > =A0 =A0 =A0 =A0inet6 ::1 prefixlen 128 > =A0 =A0 =A0 =A0inet 127.0.0.1 netmask 0xff000000 > =A0 =A0 =A0 =A0inet 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=3D8049<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 --=20 wbr, pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc0907100924r21e772far20a33d9eff49072d>