From owner-freebsd-stable@FreeBSD.ORG Tue Jan 20 14:00:40 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44A1F1065670 for ; Tue, 20 Jan 2009 14:00:40 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 06A9E8FC13 for ; Tue, 20 Jan 2009 14:00:39 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 85091 invoked by uid 89); 20 Jan 2009 14:14:34 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 20 Jan 2009 14:14:34 -0000 Message-ID: <4975D8F9.9000700@ibctech.ca> Date: Tue, 20 Jan 2009 09:00:25 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Patrick M. Hausen" References: <5F259223-D531-4E25-9814-C0C90250707D@ramenzoni.com.br> <20090120134733.GB22114@hugo10.ka.punkt.de> <4975D712.2080101@ibctech.ca> In-Reply-To: <4975D712.2080101@ibctech.ca> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Wendell Martins Borges Subject: Re: aliases not working in em0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 14:00:40 -0000 Steve Bertrand wrote: > 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 metric 0 mtu 1500 > options=9b > 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 ) > 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. Interestingly enough, it does work here: vm# uname -a FreeBSD ww3.eagle.ca 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 vm# ifconfig le0 le0: flags=8843 metric 0 mtu 1500 options=8 ether 00:0c:29:31:e7:11 inet6 fe80::20c:29ff:fe31:e711%le0 prefixlen 64 scopeid 0x1 inet 208.70.104.27 netmask 0xffffff80 broadcast 208.70.104.127 inet 208.70.104.29 netmask 0xffffffff broadcast 208.70.104.29 ...and from another box: pearl# ping 208.70.104.29 PING 208.70.104.29 (208.70.104.29): 56 data bytes 64 bytes from 208.70.104.29: icmp_seq=0 ttl=63 time=1.275 ms ^C Wendell, what does #netstat -rn say? Also, if you run tcpdump listening on the alias IP address, do you see the ingress traffic from the remote workstations? ie: # tcpdump -n -i em0 host 192.168.112.181 Steve