Rich Shepard
2018-09-27 16:44:59 UTC
Having been a while since I last set routes I've lost a step when setting
the default gateway.
The routing table has both loopback and LAN routes. Now I need to set the
default gateway and the kernel tells me there's a SIOCADDRT (address) error.
In slackware's rc.inet1.conf interface configuration file the default
gateway is set on 192.168.55.4. Using this command:
route add default gw 192.168.55.4
returns the above error that the network is unreachable.
The route man page example has a host name for the gateway and I've tried
that, too, with the same result.
What have I missed here?
On a curious, somewhat related issue, while there's only one Ethernet port
on the motherboard ifconfig sees it as eth1 rather than eth0.
Rich
the default gateway.
The routing table has both loopback and LAN routes. Now I need to set the
default gateway and the kernel tells me there's a SIOCADDRT (address) error.
In slackware's rc.inet1.conf interface configuration file the default
gateway is set on 192.168.55.4. Using this command:
route add default gw 192.168.55.4
returns the above error that the network is unreachable.
The route man page example has a host name for the gateway and I've tried
that, too, with the same result.
What have I missed here?
On a curious, somewhat related issue, while there's only one Ethernet port
on the motherboard ifconfig sees it as eth1 rather than eth0.
Rich