Hi, after having not restarted the network-devices after several updates I today noticed that a net restart would fail. Reason: Instead of adding the default route ifconfig sets a host route ... hopefully I have serial-console access to my boxes :-| I have not made any changes to the conf.d/net file an verified it's syntax with the current Version of the Gentoo Handbook, making me astonished that it did not work as expected. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/net.eht0 restart 2. route 3. Actual Results: default 172.25.1.254 255.255.255.255 UGH 0 0 0 eth0 172.25.1.0 * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo Expected Results: Ziel Router Genmask Flags Metric Ref Use Iface 172.25.1.0 * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 172.25.1.254 0.0.0.0 UG 0 0 0 eth0
Maybe we could even help you if you posted your baselayout version and attach your /etc/conf.d/net file; sorry but we cannot guess.
so this is like my /etc/conf.d/net files are looking like ( I have 6 identical Machines with the same problem ) --- 8< --- modules_eth0=("ifconfig") config_eth1=( null ) config_eth0=( "1.2.3.4/24") routes_eth0=(" default via 1.2.3.254 ") --- 8< -- Profile is default-linux/x86/2006.1 installed baselayout version is sys-apps/baselayout-1.12.9
I don't need Help but I guess you guys need to fix this.
(In reply to comment #2) > so this is like my /etc/conf.d/net files are looking like ( I have 6 identical > Machines with the same problem ) > > --- 8< --- > modules_eth0=("ifconfig") > config_eth1=( null ) > config_eth0=( "1.2.3.4/24") > routes_eth0=(" default via 1.2.3.254 ") > --- 8< -- > > Profile is default-linux/x86/2006.1 > > installed baselayout version is sys-apps/baselayout-1.12.9 > Believe it or not, it appears to be the 'space' between the " and the word default. I was just having the same issue with a new install of Gentoo I did today using the 2008.0 stage3 tarball etc. and following the gentoo online documentation. Once I booted directly from the HDD I could no longer access anywhere but the local network. Googling showed me this issue and a bit more investigation showed that in the net.example there was no space between the " and the word default... so I tried it, and it worked. Wow, picky. Anyway, definitely something to be aware of. Your default routes should work properly if your /etc/conf.d/net looks like this: - modules_eth0=("ifconfig") config_eth1=( null ) config_eth0=( "1.2.3.4/24") routes_eth0=("default via 1.2.3.254 ")