| Summary: | baselayout-1.12.0_pre12 cannot set gateway | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | George Garvey <tmwg> |
| Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
| Status: | RESOLVED INVALID | ||
| Severity: | blocker | ||
| Priority: | High | ||
| Version: | 2005.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
How exactly is it "hosed"? After trying your patch, the routing table is exactly the same as it was before your patch for default routes. If you dis-agree then please re-open this bug, post any error messages relating to adding the default route, the routing table you end up with and the routing table you exepct. |
In /etc/conf.d/net, the ifconfig line: routes_eth0=( "default via 192.168.1.12" ) result in: route add default gw -net 192.168.1.12 metric 0 dev eth0 (or something close to that). As a result, networking is pretty much hosed. 192.168.1.12, here, does NAT for everyone in the company. I changed /lib/rcscripts/net.modules.d/ifconfig line 306 to: [[ " ${x} " != *" -net "* && " ${x} " != *" -host "* && " ${x} " != *" default "* ]] && x="-net ${x}" so I could at least boot the computer. (Although, not being able to boot may have been from vmware, not this. I also remove vmware from the boot process, because it always hung and I didn't want to find out why.)