Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1037 - netifd: implement point-to-point interface support #6015

Closed
openwrt-bot opened this issue Oct 3, 2017 · 0 comments
Closed

FS#1037 - netifd: implement point-to-point interface support #6015

openwrt-bot opened this issue Oct 3, 2017 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

stintel:

Several hosting providers, like Hetzner or OVH, assign IP addresses that in a different subnet than the gateway they provide. To properly support this, you need to configure the interface IP as point-to-point with iproute2, like this:

ip addr add x.x.x.x peer y.y.y.y dev ethX

From IP-ADDRESS(8):

peer ADDRESS
the address of the remote endpoint for pointopoint interfaces. Again, the ADDRESS may be followed by a slash and a decimal number, encoding the network prefix length. If a peer address is specified,
the local address cannot have a prefix length. The network prefix is associated with the peer rather than with the local address.

It is possible to work around this with static routes, which is what I have done currently, but it makes bird unhappy, logging this message every 20 seconds:
Tue Oct 3 12:25:19 2017 daemon.err bird4: KRT: Received route 0.0.0.0/0 with strange next-hop 176.31.101.254

See also [[http://bird.network.cz/pipermail/bird-users/2012-April/007696.html|this thread]] on the bird ML.

Please implement iproute2 point-to-point interface support in netifd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant