Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 13:18:49 -0200
From:      Wendell Martins Borges <wendell@ramenzoni.com.br>
To:        freebsd-stable@freebsd.org
Subject:   Re: aliases not working in em0
Message-ID:  <331F8138-1E86-435F-900A-47E3E5BE913D@ramenzoni.com.br>
In-Reply-To: <1232461601.22840.28.camel@buffy.york.ac.uk>
References:  <5F259223-D531-4E25-9814-C0C90250707D@ramenzoni.com.br> <1232461601.22840.28.camel@buffy.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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.168.112.8: icmp_seq=0 ttl=64 time=0.353 ms
64 bytes from 192.168.112.8: icmp_seq=1 ttl=64 time=0.388 ms
64 bytes from 192.168.112.8: icmp_seq=2 ttl=64 time=0.329 ms
64 bytes from 192.168.112.8: icmp_seq=3 ttl=64 time=0.382 ms
64 bytes from 192.168.112.8: icmp_seq=4 ttl=64 time=0.198 ms
64 bytes from 192.168.112.8: icmp_seq=5 ttl=64 time=0.364 ms
^C
--- 192.168.112.8 ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.198/0.336/0.388/0.065 ms


mordor:~ wendell$ ping 192.168.112.181
PING 192.168.112.181 (192.168.112.181): 56 data bytes
^C
--- 192.168.112.181 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss


>
>
> 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?
>


stewie# tcpdump -nvvvxXs0 -i em0 host 192.168.112.181
tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size  
65535 bytes
13:18:20.479184 IP (tos 0x0, ttl 64, id 34240, offset 0, flags [none],  
proto ICMP (1), length 84) 192.168.112.8 > 192.168.112.181: ICMP echo  
request, id 18764, seq 0, length 64
         0x0000:  4500 0054 85c0 0000 4001 92da c0a8 7008   
E..T....@.....p.
         0x0010:  c0a8 70b5 0800 da85 494c 0000 3beb  
7549  ..p.....IL..;.uI
         0x0020:  34f6 0300 0809 0a0b 0c0d 0e0f 1011 1213   
4...............
         0x0030:  1415 1617 1819 1a1b 1c1d 1e1f 2021  
2223  .............!"#
         0x0040:  2425 2627 2829 2a2b 2c2d 2e2f 3031 3233  $%&'()*+,-./ 
0123
         0x0050:  3435 3637                                4567
13:18:21.479226 IP (tos 0x0, ttl 64, id 25324, offset 0, flags [none],  
proto ICMP (1), length 84) 192.168.112.8 > 192.168.112.181: ICMP echo  
request, id 18764, seq 1, length 64
         0x0000:  4500 0054 62ec 0000 4001 b5ae c0a8 7008   
E..Tb...@.....p.
         0x0010:  c0a8 70b5 0800 8684 494c 0001 3ceb  
7549  ..p.....IL..<.uI
         0x0020:  87f6 0300 0809 0a0b 0c0d 0e0f 1011  
1213  ................
         0x0030:  1415 1617 1819 1a1b 1c1d 1e1f 2021  
2223  .............!"#
         0x0040:  2425 2627 2829 2a2b 2c2d 2e2f 3031 3233  $%&'()*+,-./ 
0123
         0x0050:  3435 3637                                4567
13:18:22.479392 IP (tos 0x0, ttl 64, id 61679, offset 0, flags [none],  
proto ICMP (1), length 84) 192.168.112.8 > 192.168.112.181: ICMP echo  
request, id 18764, seq 2, length 64
         0x0000:  4500 0054 f0ef 0000 4001 27ab c0a8 7008   
E..T....@.'...p.
         0x0010:  c0a8 70b5 0800 ef82 494c 0002 3deb  
7549  ..p.....IL..=.uI
         0x0020:  1df7 0300 0809 0a0b 0c0d 0e0f 1011  
1213  ................
         0x0030:  1415 1617 1819 1a1b 1c1d 1e1f 2021  
2223  .............!"#
         0x0040:  2425 2627 2829 2a2b 2c2d 2e2f 3031 3233  $%&'()*+,-./ 
0123
         0x0050:  3435 3637                                4567
13:18:23.479559 IP (tos 0x0, ttl 64, id 10446, offset 0, flags [none],  
proto ICMP (1), length 84) 192.168.112.8 > 192.168.112.181: ICMP echo  
request, id 18764, seq 3, length 64
         0x0000:  4500 0054 28ce 0000 4001 efcc c0a8 7008   
E..T(...@.....p.
         0x0010:  c0a8 70b5 0800 5081 494c 0003 3eeb  
7549  ..p...P.IL..>.uI
         0x0020:  bbf7 0300 0809 0a0b 0c0d 0e0f 1011  
1213  ................
         0x0030:  1415 1617 1819 1a1b 1c1d 1e1f 2021  
2223  .............!"#
         0x0040:  2425 2627 2829 2a2b 2c2d 2e2f 3031 3233  $%&'()*+,-./ 
0123
         0x0050:  3435 3637                                4567

[ ]s

--

best regards,

Wendell Martins Borges
Administrador de Redes e Sistemas
Inds. Papel R. Ramenzoni S/A




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?331F8138-1E86-435F-900A-47E3E5BE913D>