Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 376711

Summary: /etc/init.d/net.eth0 does not set default route on startup
Product: Gentoo Linux Reporter: Andre Kloth <bugs-gentoo>
Component: [OLD] baselayoutAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andre Kloth 2011-07-28 12:04:09 UTC
I use baselayout 2 and my /etc/conf.d/net.eth0 looks like this:

  config_eth0="139.XX.YY.ZZ/24"
  routes_eth0="default via 139.XX.YY.254"
  dns_servers_eth0="139.XXX.YYY.ZZZ"

Right after the boot, the eth0 interface is up, but the default route is not set. If I do "/etc/init.d/net.eth0 restart" the interface comes up with the default route. Additionally, the system "sometimes" removes the default route automagically. I didn't looked at the scripts to figure out why this happens ...


Reproducible: Always

Steps to Reproduce:
1. Boot
Comment 1 Andre Kloth 2011-07-28 12:14:51 UTC
Just rebooted and checked again. The default route is set to 139.XX.YY.245 after the reboot. But in the /etc/conf.d/net I've written 139.XX.YY.254.
Comment 2 Andre Kloth 2011-07-28 14:36:43 UTC
Had a redundant definition of interface address and route in /etc/conf.d/net and /etc/conf.d/network and a typo in the latter one. Removed network from default runlevel. Now everthing works like a charm.