[PLUG] Set up default gateway in kernel routing table
John Meissen
john at meissen.org
Thu Sep 27 16:54:06 UTC 2018
What's the IP address and netmask of the system you're trying to set this on?
> 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
> _______________________________________________
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
More information about the PLUG
mailing list