Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2015 14:56:43 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   Re: r288951: ifconfig -alias, arp not removed
Message-ID:  <5632961B.2040604@FreeBSD.org>
In-Reply-To: <56324D69.4080507@FreeBSD.org>
References:  <5632485F.5080203@FreeBSD.org> <56324C80.8000408@vangyzen.net> <56324D69.4080507@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--idTac2hu78KME0irTXCJbIcMF2QbvRb6S
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 10/29/2015 9:46 AM, Bryan Drewery wrote:
> On 10/29/15 9:42 AM, Eric van Gyzen wrote:
>> On 10/29/2015 11:25, Bryan Drewery wrote:
>>> # ifconfig
>>> igb0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 m=
tu 1500
>>>
>>> options=3D403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_=
HWCSUM,TSO4,TSO6,VLAN_HWTSO>
>>>         ether c8:0a:a9:04:39:78
>>>         inet 10.10.0.7 netmask 0xffff0000 broadcast 10.10.255.255
>>>         inet 10.10.7.2 netmask 0xffff0000 broadcast 10.10.255.255
>>>         inet 10.10.0.9 netmask 0xffff0000 broadcast 10.10.255.255
>>>         nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
>>>         media: Ethernet autoselect (1000baseT <full-duplex>)
>>>         status: active
>>>
>>> # ifconfig igb0 inet 10.10.0.9 -alias
>>> # arp -an|grep 10.10.0.9
>>> ? (10.10.0.9) at c8:0a:a9:04:39:78 on igb0 permanent [ethernet]
>>> # arp -d 10.10.0.9
>>> arp: writing to routing socket: Operation not permitted
>>>
>>> I swear this is not normal. I'm on an older build as well, r288951.
>>
>> That definitely looks abnormal.  See what "route get" says.  I think
>> that's the error you get when there is a route for that address.
>>
>=20
> # netstat -rn|grep 10.10.0.9
> # route get 10.10.0.9
>    route to: lapbox
> destination: 10.10.0.0
>        mask: 255.255.0.0
>         fib: 0
>   interface: igb0
>       flags: <UP,DONE,PINNED>
>  recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
>        0         0         0         0      1500         1         0
> # route get 5.5.5.5
>    route to: 5.5.5.5
> destination: default
>        mask: default
>     gateway: router.asus.com
>         fib: 0
>   interface: igb0
>       flags: <UP,GATEWAY,DONE,STATIC>
>  recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
>        0         0         0         0      1500         1         0
>=20
> For more context, this current system had 10.10.0.9 added to it. I
> started up a VM which also started using 10.10.0.9 and managed to "win"=

> on the local network for owning it. (I don't know arp and this stuff
> well). I then came to this system to remove the alias and the arp entry=

> to allow me to connect from it and have gotten into this situation.
>=20

Just saw this in dmesg, which is what I described:

arp: 08:00:27:12:c1:a5 is using my IP address 10.10.0.9 on igb0!
arp: 08:00:27:12:c1:a5 is using my IP address 10.10.0.9 on igb0!
arp: 08:00:27:12:c1:a5 attempts to modify permanent entry for 10.10.0.9
on igb0
arp: 08:00:27:12:c1:a5 attempts to modify permanent entry for 10.10.0.9
on igb0
arp: 08:00:27:12:c1:a5 attempts to modify permanent entry for 10.10.0.9
on igb0
arp: 08:00:27:12:c1:a5 attempts to modify permanent entry for 10.10.0.9
on igb0



--=20
Regards,
Bryan Drewery


--idTac2hu78KME0irTXCJbIcMF2QbvRb6S
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWMpYbAAoJEDXXcbtuRpfPlqYH/0t/FtB7pORqqdX7Zpc5YTjl
fSk7bLOPUBxNFnLwXJmoPQ0VvOSM2GEcsYzQPHAIAozFv6093FjQXqWX1j60d0yg
YMaM0Uh0cQMZx2MBXIscoZ7Zg8FLbj7X4Btc6y0wYMdlTuAR1M7GNscIDZver6aG
LxiZSBRDYmnvQQLYESerMGaAJVV6dCx5yTuzgcCYeKvtObCZgPrXDo0+rscuIVL4
NVtg9lCU3n0jZASNs5G3WcFCqAWmlCQp6BQMn9NQ2bdlYuseZEDRUlRSxgA4sHDm
Fox5z0hxkHcGtk11FqayV1fuKWuv9p/TwB8AeTpfC9A5iJgA8Ovd+98aH/myfNk=
=SDaL
-----END PGP SIGNATURE-----

--idTac2hu78KME0irTXCJbIcMF2QbvRb6S--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5632961B.2040604>