aliases not working in em0

Gavin Atkinson gavin at FreeBSD.org
Tue Jan 20 06:26:57 PST 2009


On Tue, 2009-01-20 at 11:12 -0200, Wendell Martins Borges wrote:
> I had a 7.0 server and my card worked fine, upgraded to 7.1 and  
> aliases stopped working, below some information from my server.
> 
> # uname -a
> FreeBSD stewie.ramenzoni.com.br 7.1-RELEASE FreeBSD 7.1-RELEASE #0:  
> Thu Jan  1 14:37:25 UTC 2009     root at logan.cse.buffalo.edu:/usr/obj/ 
> usr/src/sys/GENERIC  i386
> 
> # ifconfig em0
> 
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu  
> 1500
>          options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
>          ether 00:15:17:16:bf:9a
>          inet 192.168.112.1 netmask 0xffffff00 broadcast 192.168.112.255
>          inet 192.168.112.181 netmask 0xffffffff broadcast  
> 192.168.112.181
>          media: Ethernet autoselect (100baseTX <full-duplex>)
>          status: active
> 
> # cat /etc/rc.conf
> 
> 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"

Can you try the following:

ping -S 192.168.112.181 host
and then try pinging 192.168.112.181 from the host?

I'm wondering if it is the old "em fails to send gratuitous arp on alias
addition" problem, back again.

Also, run "tcpdump -vvvxXs0 -i em0 host 192.168.112.181" on the host in
question and try pinging it from a different host.  Do you see anything?

Gavin


More information about the freebsd-stable mailing list