Hacker News new | ask | show | jobs
by jleahy 1093 days ago
It’s very nasty, but there are a lot of options. For example you can give the gateway an address in the link local range and add a route pointing at that. I think that’s the best way.

Another option would be to set the subnet mask to /0 and enable ARP proxy on the gateway (that is truly diabolical).

Another way is to have a private /30 or /31 as the linknet and then add the /32 public ip as an additional one with a /0 route to the routers ip in the private /30 (and the router can have a /32 route to your ip in the private /30).

1:1 NAT is another option (but that’s not quite the question).

1 comments

see my other answer for a way.

We do actually use proxy-arp for install only as it's hard to inject a route into installer

ah, onlink, indeed that is another way.