Followed an excellent thread on configuring network settings. Looks like I got the address right (10.10.150.10/24) as I can ping my local interface (10.10.150.10), and the upstream router's address (10.10.150.4) all day long.
But, I have a route for the 10-net, and the 169.254 net only. pi@harlot:/etc/network $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use iface
10.10.150.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
Anyway,
sudo route add default gw 192.168.0.1 netmask 255.255.255.0 eth0
FAILS to: SIOCADDRT: Network is unreachable.
I am obviously missing something....
/etc/network/interfaces
has what seems to be the right stuff:
auto eth0
address 10.10.150.10
netmask 255.255.255.0
gateway 192.168.0.1
A little hazy on bringing interfaces up and down; I did a sudo ip link set eth0 up
and pings looked good ...
But, no can add the route!! Anybody see the error in my ways?
Using Raspbian (Debian) v. 8 (jessie).