Results 1 to 3 of 3
I have 3 network cards. one is static, other 2 are dhcp. The problem is that I end up with 2 default gateways in routes. How can I define which ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-11-2005 #1
- Join Date
- May 2005
setting default gateway with two dhcp network cards
Of course, my eth2 is the first one listed in routes and I want to use the gateway from eth0.
- 05-11-2005 #2Code:
route add default gw 188.8.131.52
- 05-11-2005 #3
dhcpcd has an option -G which prevents setting the default route. man dhcpcd for more info.