[PLUG] Set up default gateway in kernel routing table

Russell Senior russell at personaltelco.net
Thu Sep 27 19:07:07 UTC 2018


Just a fwiw, DHCP. Static network configuration works too, if you know what
you are doing. However, the empirical evidence suggests you would benefit
from DHCP.

On Thu, Sep 27, 2018, 09:47 Rich Shepard <rshepard at appl-ecosys.com> wrote:

>    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