Date: Tue, 20 Dec 2016 10:58:04 -0600 From: Adam Vande More <amvandemore@gmail.com> To: DTD <doug@safeport.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: anyone know what 'ping: sendto: Can't assign requested" means Message-ID: <CA%2BtpaK24h%2BCvkSZ5uukBPdULFa2WhMRi2oU2KN_pYwPAmawHRg@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.1612061326441.53759@bucksport.safeport.com> References: <alpine.BSF.2.00.1612061326441.53759@bucksport.safeport.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 6, 2016 at 12:33 PM, DTD <doug@safeport.com> wrote: > For truth in advertising this is pinging from a jail. The problem is > limited to pinging outside of the jailed environment. I took a shot a the > ping source to see if there was an illuminating comment around the message > but got lost in tacking this through libc source. > > I can show this is not a routing issue and the jails can ping. Our LAN has > a > dozen or so devices all in the network 192.168.2.0/24. To demonstrate the > problem I used two hosts in the LAN and some external systems. The jail > environment is chaos (host) and two jails, gaia and gsscc. First, from > either > jail all the above is ping-able: > > From gaia: > > gaia:~> ping -c 2 chaos > PING chaos.boltsys.com (192.168.2.117): 56 data bytes > 64 bytes from 192.168.2.117: icmp_seq=0 ttl=64 time=0.020 ms > 64 bytes from 192.168.2.117: icmp_seq=1 ttl=64 time=0.047 ms > > --- chaos.boltsys.com ping statistics --- > 2 packets transmitted, 2 packets received, 0.0% packet loss > round-trip min/avg/max/stddev = 0.020/0.034/0.047/0.013 ms > gaia:~> ping -c 2 gsscc > PING gsscc.boltsys.com (192.168.2.111): 56 data bytes > 64 bytes from 192.168.2.111: icmp_seq=0 ttl=64 time=0.022 ms > 64 bytes from 192.168.2.111: icmp_seq=1 ttl=64 time=0.023 ms > > artemis is a host on the 192.168.2.0/24: > > gaia:~> ping -c 2 artemis > PING artemis.boltsys.com (192.168.2.102): 56 data bytes > ping: sendto: Can't assign requested address > ping: sendto: Can't assign requested address > > The message indicates it can't use the correct source address eg ping -S -- Adam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK24h%2BCvkSZ5uukBPdULFa2WhMRi2oU2KN_pYwPAmawHRg>