Summary: | sys-apps/openrc-0.5.1: net.eth0 doesnt append proper route entry during boot | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tymm <tymm> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | roy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Tymm
2009-10-14 19:57:31 UTC
Which version of openrc? To set the broadcast address if you need to, use the full word "broadcast" as in my /etc/conf.d/net shown below, and not "brd". /etc/conf.d/net: config_eth0="192.168.15.2 netmask 255.255.255.0 broadcast 192.168.15.255" routes_eth0="default via 192.168.15.1" dns_servers_eth0="192.168.15.1" Unless you have some special reason to do so, you don't even need to set the broadcast address. it will be set correctly by default. This works for me with openrc-0.5.2-r1. After a reboot with the above setup, the following is in my routing table: root@linux1 ~ # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo 0.0.0.0 192.168.15.1 0.0.0.0 UG 0 0 0 eth0 root@linux1 ~ # btw, openrc version is included in `emerge --info` Mhh, seems to be my fault. Using "broadcast" instead of "brd" didn't help. The same with no broadcast information. I have no clue whats wrong. |