Re: fake MAC addresses and ARP



Some ideas:

1. Enable IFF_STATICARP on your interface to stop ARP sending out to resolve the IP/MAC address tuple.

2. Consider that you can deal with resolution in userland (RTF_RESOLVE) but this involves changing the net's entry (route) in the FTE. You'd then process RTM_RESOLVE messages and install routes yourself -- it's possible to do arp in userland with this.

3. Try to avoid using the 169.254.0.0/16 prefix as it has a specific meaning. We don't implement interface scoping for these addresses yet so the FTE can't deal with them appearing more than once for the same subnet; it may be easier to pick something else -- note that if ARP is enabled for an interface with one of these addresses, all ARP traffic is forced to be broadcast as per the zeroconf RFCs.

BMS


_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • using 2nd network interface - wont try to TX anything
    ... I'm trying to make use of a 2nd ethernet interface. ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... TX bytes is 0 for ixp2 despite attempts to ping the other host on that LAN ... 17:39:11.723759 arp who-has 172.30.2.3 tell 172.30.2.1 ...
    (comp.os.linux.networking)
  • new arp code snapshot for review...
    ... Here is a snapshot of the new arp code that i have been working on ... The advantage is a reduction in size of the routing table, ... use the loopback interface if useloopback ... contains the definition of the 'struct lltable' and various ...
    (freebsd-current)
  • new arp code snapshot for review...
    ... Here is a snapshot of the new arp code that i have been working on ... The advantage is a reduction in size of the routing table, ... use the loopback interface if useloopback ... contains the definition of the 'struct lltable' and various ...
    (freebsd-net)
  • Re: bridging vs wifi, proxy arp broken on 8.0 rc? (was: Re: Bridged networking for virtualbox on 
    ... Which type of virtual interface you're using in virtualbox doesn't ... routing + proxy arp for the guest ip.) ... on the 8.0 rc box and now even setting up the prox arp entry fails ... Fixit# mkdir /var/db ...
    (freebsd-net)
  • Re: Strange issue with Samba on 8.0rc1
    ... the same network and sending all data out on the faster interface, ... the vge driver is off the hook. ... The thing to avoid that is by unsetting ARP questions on the interface, and statically assigning it to your devices so that they will only talk with the correct interface. ...
    (freebsd-current)