Unable to set gateway when second network adapter fitted
When a second network adapter is fitted, the boot script fails to configure the default gateway. Here's from /var/log/messages with DEBUG_ETH_UP="yes" configured for the boot script
After removing the second network adapter, the boot script is able to configure the gateway.
EDIT: or not. The problem now seems intermittent :( Now with only the onboard network adapter the same "SIOCADDRT: No such process" error is logged during boot and the "/sbin/route add default gw 126.96.36.199" command fails at the console too. Am experimenting with disabling the onboard adapter and fitting the NIC.
EDIT 2: definitely intermittent. Just rebooted with no hardware changes; same error during boot and route -n showed no default gateway but "/sbin/route add default gw 188.8.131.52" worked. :(
System details and history
Mea culpa :redface: The gateway in rc.inet1.conf was 184.108.40.206 not 192.168.1.0 and the problem symptoms were compounded by my sometimes erroneously trying to add 192.168.0.0 at the command line.
The lesson (apart from trying to avoid human error) is that the message "SIOCADDRT: No such process" can mean that the gateway being added does not match the network on (any of) the interfaces.
|All times are GMT -5. The time now is 09:16 AM.|