Re: aliases not working in em0

2009-01-20 Thread Wendell Martins Borges
On 20/01/2009, at 13:25, Steve Bertrand wrote: Also, it may help to run tcpdump without the 'host' parameter on em0 while the pinging is occurring to see if you can find out whether the ICMP replies are being sent out as the primary IP. stewie# tcpdump -n -i em0 icmp tcpdump: verbose output

Re: aliases not working in em0

2009-01-20 Thread Steve Bertrand
Steve Bertrand wrote: > 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 (E

Re: aliases not working in em0

2009-01-20 Thread Wendell Martins Borges
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

Re: aliases not working in em0

2009-01-20 Thread Steve Bertrand
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 byt

Re: aliases not working in em0

2009-01-20 Thread Wendell Martins Borges
On 20/01/2009, at 12:26, Gavin Atkinson wrote: Can you try the following: ping -S 192.168.112.181 host and then try pinging 192.168.112.181 from the host? stewie# ping -S 192.168.112.181 192.168.112.8 PING 192.168.112.8 (192.168.112.8) from 192.168.112.181: 56 data bytes 64 bytes from 192.16

Re: aliases not working in em0

2009-01-20 Thread Wendell Martins Borges
On 20/01/2009, at 12:00, Steve Bertrand wrote: 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: stewie# netstat -rn | grep 192.168.112.181 192.168.112.18100:15:17:16:bf:9a

Re: aliases not working in em0

2009-01-20 Thread Steve Bertrand
Patrick M. Hausen wrote: > Hi, all, > > On Tue, Jan 20, 2009 at 08:52:18AM -0500, Steve Bertrand wrote: >> 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

Re: aliases not working in em0

2009-01-20 Thread Gavin Atkinson
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

Re: aliases not working in em0

2009-01-20 Thread Patrick M. Hausen
Hi, all, On Tue, Jan 20, 2009 at 08:52:18AM -0500, Steve Bertrand wrote: > 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 0xff00 bro

Re: aliases not working in em0

2009-01-20 Thread Miroslav Lachman
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

Re: aliases not working in em0

2009-01-20 Thread Steve Bertrand
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

Re: aliases not working in em0

2009-01-20 Thread Steve Bertrand
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 probl

Re: aliases not working in em0

2009-01-20 Thread Wendell Martins Borges
On 20/01/2009, at 11:43, Steve Bertrand wrote: 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 Hi Steve, The settings are really OK. However after the update does not can access the alias of I

Re: aliases not working in em0

2009-01-20 Thread Patrick M. Hausen
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

Re: aliases not working in em0

2009-01-20 Thread Steve Bertrand
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 > r...@logan.cse