tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Trouble with networking on Google Compute Engine (NetBSD 7)




On 31/12/16 11:55, Benny Siegert wrote:
> 
>>> Try this:
>>> route flush
>>> route add -net 10.240.0.1/32 -interface vioif0
>>> route add default 10.240.0.1
> 
> Found the explanation in https://www.netbsd.org/docs/network/#nonsubnetgateway, and it turns out things work when adding -ifa 10.240.0.3 (or -ifp vioif0) to the third command.
> 
> Is there any way to make dhcpcd do that (i.e. specify the interface when adding the default route)?

dhcpcd has always done that (at least, on BSD since the support for it
predates BSD support).

Can you download a snapshot of the dhcpcd-6 branch from my repo and try
it please?
Login here as anonymous
https://roy.marples.name/projects/dhcpcd/login

Then download the branch tarball here:
https://roy.marples.name/projects/dhcpcd/tarball/dhcpcd-94ab98dabb.tar.gz?uuid=94ab98dabb05ab9124c27eee918fe4de8587ae3e

Roy


Home | Main Index | Thread Index | Old Index