E
E
Everal2015-10-12 04:46:15
linux
Everal, 2015-10-12 04:46:15

How to set default eth0 routing?

Other interfaces are registered in the routes while I am saved by the ip route del default command, but sometimes it does not work, how to register routing through eth0?

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 EXTERNAL 0.0.0.0 UG 202 0 0 eth0
EXTERNAL 0.0.0.0 255.255.255.0 U 0 202 0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0

because of the first route there is no internet

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2015-10-12
@Everal

properly configure network interfaces

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question