Fedora: which network interface card is being used?
Q I've just installed Fedora and am a bit confused as to which of my network interface cards is the one in use; I have two, and on the previous install eth0 was used as the default. Here is the output from ifconfig:
eth0 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST
RX packets:0 errors:0 dropped:0
TX packets:0 errors:0 dropped:0
eth1 Link encap:Ethernet HWaddr
inet6 addr: fe80::250:baff:feb3:
UP BROADCAST RUNNING
MULTICAST MTU:1500 Metric:1
RX packets:258479 errors:0
dropped:0 overruns:0 frame:0
TX packets:264885 errors:0
dropped:0 overruns:13 carrier:0
While the network is working, it looks to me as if all traffic is going through eth1. Could you shed some light on this?
A Are you using DHCP on both network interface cards? If so, here's what's probably happening:
Step 4 resets the routing table's default gateway, overriding the route set in step 2. You can check this by running
The line that shows a destination of 0.0.0.0 will end with whichever interface is used as default. Is there a reason why you use two NICs? If so, you probably need to set up the default route manually. Otherwise, disable the 'activate device when computer starts' option for one of the NICs in the network configuration program.
Follow us on Identi.ca or Twitter