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)



>> 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)?


Home | Main Index | Thread Index | Old Index