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

This is what I get (and I have no idea why):

instance-3# route flush
10/0                 localhost            done
127/0                localhost            done
::/128               localhost            done
::/128               localhost            done
::127.0.0.0/128      localhost            done
::224.0.0.0/128      localhost            done
::255.0.0.0/128      localhost            done
::ffff:0.0.0.0/128   localhost            done
2001:db8::/128       localhost            done
2002::/128           localhost            done
2002:7f00::/128      localhost            done
2002:e000::/128      localhost            done
2002:ff00::/128      localhost            done
fe80::/128           localhost            done
fe80:1::18a3:d7bf:ac 42:01:0a:f0:00:04    done
fe80:2::1/128        link#2               done
instance-3# route add -net 10.240.0.1/32 -interface vioif0
route: vioif0: bad value
instance-3# netstat -rnf inet
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use    Mtu Interface
10.240.0.1/32      link#1             UC          -        -   1460  vioif0
127.0.0.1          127.0.0.1          UH          -        -  33648  lo0
instance-3# route add default 10.240.0.1
route: writing to routing socket: Network is unreachable
add net default: gateway 10.240.0.1: Network is unreachable

I just checked, and these commands do not work on -current either :(

—Benny.


Home | Main Index | Thread Index | Old Index