Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376711 - /etc/init.d/net.eth0 does not set default route on startup
Summary: /etc/init.d/net.eth0 does not set default route on startup
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 12:04 UTC by Andre Kloth
Modified: 2011-07-28 14:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.