Red Hat Bugzilla – Bug 18300
(initscript or maybe even a kernel bug, where some subinterfaces do not respect the default route.
Last modified: 2014-03-16 22:16:36 EDT
I have a redhat 7.0 server with 10 sub interfaces (eth0:1 - eth0:10)
my /etc/sysconfig/network-scripts/ifcfg-eth0:x interfaces look like so:
After a reboot or /etc/init.d/network restart some sub interfaces lose
their ability to comunicate with any network nodes not on the local subnet.
This has happend both times I have rebooted and only start working after
about 30 /etc/init.d/network restarts/ifdown/ifups's until finally one of
the sub interfaces come up.
It seems like after the system is restarted some sub-interfaces do not get
assigned a default gateway. I have tried adding "GATEWAY"
and "GATEWAYDEV" as well as playing with "BOOTPROTO" but with no luck.
I would be willing to provide access to this box if needed.
My email is:
What does your routing table look like?
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
22.214.171.124 * 255.255.255.192 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 126.96.36.199 0.0.0.0 UG 0 0 0 eth0
This is how the route tabled looked when it is NOT working as well.
Do you have an ifcfg-eth0 file?
What did your /etc/sysconfig/network script look like with GATEWAY and
[shane@master shane]$ cat /etc/sysconfig/network
This file was created by a redhat 7.0 fresh install, the only files I played
with are the ones I created (i.e. the sub interface files eth0:x).
Redhat 7.0 install also created a /etc/sysconfig/network-scripts/ifcfg-eth0 and
it looks like this:
I noticed this problem after doing a default server install and then
aimmediately creating the ifcfg-eth0:x files. I should be able to reproduce
the problem merely by rebooting.
I can give you an account on the machine if it helps, email me with an account
if you would like to take this route.
Is there any other information you require?
This report is really old now. I don't think it's kinda that can be
tested and reproduced on a newer system easily. Better closed?
Closing out bugs on older, no longer supported releases. Apologies for any lack
of response. Please reopen if it persists on current releases.