On Thu, Mar 03, 2016 at 01:30:10PM +0100, Martin Pieuchot wrote:
> On 03/03/16(Thu) 09:32, Matthieu Herrb wrote:
> > One more data point: I've checked with 5.8, the patch is not needed
> > there. (the "route add .../32 -link -iface if" stays and renews the
> > arp entry when needed).
> 
> Which route does that create?  I might not be obvious, but without
> including your route table output, I don't have enough information
> to figure out what's happening.
> 
> The route table output is like the dmesg for routing problems ;)

Here's the result for a 5.8 machine with /etc/hostname.bge0: 
(I've removed the v6 bits)


   inet 91.224.149.89/32
   !route add 91.224.148.0/32 -link -iface bge0

and /etc/mygate:

    91.224.148.0

nowhere% route -n show -inet
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            91.224.148.0       UGS        3     9637     -     8 bge0 
91.224.148.0       bc:5f:f4:ee:0c:88  UHLS       1        0     -     8 bge0 
91.224.149.89      38:ea:a7:a6:cd:7d  UHLl       0        0     -     1 lo0  
91.224.149.89/32   91.224.149.89      UC         0        0     -     8 bge0 
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0  
127.0.0.1          127.0.0.1          UHl        1   691790 32768     1 lo0  
224/4              127.0.0.1          URS        0        0 32768     8 lo0  


and also 

nowhere% arp -an 
Host                                 Ethernet Address   Netif Expire     Flags
91.224.148.0                         bc:5f:f4:ee:0c:88   bge0 5m47s      
91.224.149.89                        38:ea:a7:a6:cd:7d   bge0 permanent  l


For more context (in french, I wrote the OpenBSD part) 
https://chiliproject.tetaneutral.net/projects/tetaneutral/wiki/Routage  

-- 
Matthieu Herrb

Attachment: pgpWZkDMBJAWs.pgp
Description: PGP signature

Reply via email to