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 ...
- 05-11-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 1
setting default gateway with two dhcp network cards
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 to use, or have it only use the first 1 ?
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 123.123.123.123
- 05-11-2005 #3
dhcpcd has an option -G which prevents setting the default route. man dhcpcd for more info.


Reply With Quote
