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@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" # pciconf -vl em0@pci0:1:0:0: class=0x020000 card=0x10848086 chip=0x107d8086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/1000 PT' class = network subclass = ethernet # dmesg | grep em0 em0: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0xece0-0xecff mem 0xfe9e0000-0xfe9fffff,0xfe9c0000-0xfe9dffff irq 16 at device 0.0 on pci1 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:15:17:16:bf:9a -- best regards, Wendell Martins Borges Administrador de Redes e Sistemas Inds. Papel R. Ramenzoni S/A
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@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"I'm confused. Given the /etc/rc.conf settings, the above ifconfig output appears to be exactly what I would expect. What is not working? Steve
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. Try: ipv4_addrs_em0="192.168.112.1/24 192.168.112.181/24" Kind regards, Patrick -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J?rgen Egeling AG Mannheim 108285
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@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
Wendell Martins Borges wrote:>> # tcpdump -n -i em0 host 192.168.112.181 > > ping for another host: > > stewie# tcpdump -n -i em0 host 192.168.112.181 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on em0, link-type EN10MB (Ethernet), capture size 96 bytes > 13:11:21.530635 IP 192.168.112.8 > 192.168.112.181: ICMP echo request, > id 11852, seq 0, length 64 > 13:11:22.530803 IP 192.168.112.8 > 192.168.112.181: ICMP echo request, > id 11852, seq 1, length 64So, the box can be found on the network, but it is not returning traffic properly. What does # arp -a have to say, on both boxes? Steve
On 20/01/2009, at 13:22, Steve Bertrand wrote:> So, the box can be found on the network, but it is not returning > traffic > properly. > > What does # arp -a have to say, on both boxes?stewie# arp -a stewie (192.168.112.1) at 00:15:17:16:bf:9a on em0 permanent [ethernet] cartola (192.168.112.181) at 00:15:17:16:bf:9a on em0 permanent [ethernet] -- Atenciosamente, Wendell Martins Borges Administrador de Redes e Sistemas Inds. Papel R. Ramenzoni S/A