KRT: Received route with strange next-hop

Brian Rak brak at gameservers.com
Sat Dec 5 23:19:16 CET 2015


On 12/5/2015 9:54 AM, Ondrej Zajicek wrote:
> On Sat, Nov 28, 2015 at 04:16:54PM -0500, Brian Rak wrote:
>>> Sorry for late answer, 'device route' i call a route for directly
>>> attached network prefix, with associated iface but without associated
>>> gateway IP. Perhaps there is a better / more established term for such
>>> routes.
>>>
>> Sorry, my spam filter was delaying this.
>>
>> That's what I have I think?  I have the '45.63.4.188 dev veth0 scope link'
>> route, I'm not aware of any other way to add this (and it doesn't use a
>> gateway IP).
>
> Well, the recommended way is to add ptp address:
>
> ip addr add A.B.C.D peer 45.63.4.188 dev veth0
>
> instead of just the route (when ptp address is added, the route is also
> added by the kernel)
>
The host end of the interface does not have an IP address, so using 'ip 
addr add' won't really work. A peer address won't really work, this 
isn't a /30 (the 45.63.4.188 IP is assigned to a virtual machine, and is 
part of a bigger /23, we're using proxy ARP to get traffic to/from the VM).


More information about the Bird-users mailing list