h36sa@bowser /etc/conf.d $ cat net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
# modules=( "dhclient" )
plug_timeout="6"
config_eth0=( "192.168.0.23 netmask 255.255.255.0" )
dns_domain_eth0="localdomain"
nis_domain_eth0="localdomain"
routes_eth0=( "default via 192.168.0.1" ) # IPv4 default route
dns_servers_eth0=( "192.168.0.1" )
bridge_br0=( "eth0" )
config_eth0=( "null" )
config_br0=( "192.168.0.23 netmask 255.255.255.0" )
dhcpcd_br0=( "-t 10" )
RC_NEED_br0=( "net.eth0" )
brctl_br0=( "setfd 0" "sethello 0" "stp off" )
routes_br0=( "default via 192.168.0.1" ) # IPv4 default route
dns_servers_br0=( "192.168.0.1" )
h36sa@bowser /etc/conf.d $ sudo /etc/init.d/net.eth0 restart
* Caching service dependencies ... [ ok ]
* Stopping eth0
* Bringing down eth0
* Stopping ifplugd on eth0 ... [ ok ]
* Shutting down eth0 ... [ ok ]
* Starting eth0
* Starting ifplugd on eth0 ... [ ok ]
* Backgrounding ...
* WARNING: net.eth0 has started but is inactive
h36sa@bowser /etc/conf.d $ cat net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
# modules=( "dhclient" )
config_eth0=( "192.168.0.23 netmask 255.255.255.0" )
routes_eth0=( "default via 192.168.0.1" ) # IPv4 default route
h36sa@bowser /etc/conf.d $ sudo /etc/init.d/net.eth0 restart
* Caching service dependencies ... [ ok ]
* Stopping eth0
* Bringing down eth0
* Stopping ifplugd on eth0 ... [ ok ]
* Shutting down eth0 ... [ ok ]
* Starting eth0
* Starting ifplugd on eth0 ... [ ok ]
* Backgrounding ...
* WARNING: net.eth0 has started but is inactive