Date: Tue, 20 Jan 2009 08:52:18 -0500 From: Steve Bertrand <steve@ibctech.ca> To: "Patrick M. Hausen" <hausen@punkt.de> Cc: freebsd-stable@freebsd.org, Wendell Martins Borges <wendell@ramenzoni.com.br> Subject: Re: aliases not working in em0 Message-ID: <4975D712.2080101@ibctech.ca> In-Reply-To: <20090120134733.GB22114@hugo10.ka.punkt.de> References: <5F259223-D531-4E25-9814-C0C90250707D@ramenzoni.com.br> <20090120134733.GB22114@hugo10.ka.punkt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Patrick M. Hausen wrote: > Hello, > > On Tue, Jan 20, 2009 at 11:12:45AM -0200, Wendell Martins Borges wrote: > >> ifconfig_em0="inet 192.168.112.1 netmask 255.255.255.0" >> ifconfig_em0_alias0="inet 192.168.112.181 netmask 255.255.255.255" > > I don't know if this can be the cause of your problem, but > the /32 netmask for aliases has been deprecated quite a while > ago. For how long? On a 7.0-R box, it works ok with a /32 prefix len: %ifconfig re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM> ether 00:0f:b5:80:53:85 inet 208.70.104.210 netmask 0xffffff00 broadcast 255.255.255.192 inet 208.70.104.211 netmask 0xffffff00 broadcast 255.255.255.255 inet6 2607:f118::b6 prefixlen 64 inet6 2607:f118::b7 prefixlen 64 media: Ethernet autoselect (1000baseTX <full-duplex>) status: active %ping 208.70.104.211 PING 208.70.104.211 (208.70.104.211): 56 data bytes 64 bytes from 208.70.104.211: icmp_seq=0 ttl=64 time=0.079 ms ^C I'll try it on one of my 7.1 boxes to see if I can reproduce the OP's issue. Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4975D712.2080101>