kern/119432: [arp] route add -host <host> -iface <nic> causes arp entry with nic's arp address [regression]

Axel Scheepers axel.scheepers at nl.clara.net
Mon Jan 12 11:10:04 PST 2009


The following reply was made to PR kern/119432; it has been noted by GNATS.

From: Axel Scheepers <axel.scheepers at nl.clara.net>
To: bug-followup at FreeBSD.org, axel at axel.truedestiny.net
Cc:  
Subject: Re: kern/119432: [arp] route add -host &lt;host&gt; -iface
 &lt;nic&gt; causes arp entry with nic's arp address [regression]
Date: Mon, 12 Jan 2009 19:47:23 +0100

 Hi again,
 
 Back on FreeBSD(7.1-RELEASE-p1) for my home router ;)
 I can confirm using -net -netmask 255.255.255.255 -interface
 <ip-of-extInt> -cloning works ok;
 
 /etc/rc.conf:
 ifconfig_fxp0="inet x.x.x.x netmask 255.255.255.255 link0 polling"
 static_routes="sipspoof default"
 route_sipspoof="-net 192.168.0.1 -netmask 255.255.255.255 -interface
 x.x.x.x -cloning"
 route_default="default 192.168.0.1"
 
 taliesin# ping -c 2 69.147.83.33
 PING 69.147.83.33 (69.147.83.33): 56 data bytes
 64 bytes from 69.147.83.33: icmp_seq=0 ttl=48 time=173.483 ms
 64 bytes from 69.147.83.33: icmp_seq=1 ttl=48 time=209.926 ms
 
 --- 69.147.83.33 ping statistics ---
 2 packets transmitted, 2 packets received, 0.0% packet loss
 round-trip min/avg/max/stddev = 173.483/191.704/209.926/18.222 ms
 
 Setting defaultrouter will not work since that gets set before the
 static routes are setup hence the need for the default static route.
 
 Kind regards,
 
 Axel Scheepers
 


More information about the freebsd-net mailing list