28 lines
842 B
Plaintext
28 lines
842 B
Plaintext
|
# This blank configuration will automatically use DHCP for any net.*
|
||
|
# scripts in /etc/init.d. To create a more complete configuration,
|
||
|
# please review /usr/share/doc/openrc/net.example and save your configuration
|
||
|
# in /etc/conf.d/net (this file :]!).
|
||
|
|
||
|
#
|
||
|
# DHCP IP / route configuration, with fallback to a static IP / route
|
||
|
#
|
||
|
|
||
|
config_eth1=( "dhcp" )
|
||
|
fallback_eth1=( "192.168.178.103 netmask 255.255.255.0 broadcast 192.168.178.255" )
|
||
|
fallback_route_eth1=( "default via 192.168.178.1" )
|
||
|
|
||
|
|
||
|
#
|
||
|
# pure static IP / route configuration, should the above not work even with fallback..
|
||
|
# (in that case, comment the whole DHCP section and uncomment this one)
|
||
|
#
|
||
|
|
||
|
#config_eth0=( "192.168.178.103 netmask 255.255.255.0 broadcast 192.168.178.255" )
|
||
|
#routes_eth0=( "default via 192.168.178.1" )
|
||
|
|
||
|
#
|
||
|
# DNS configuration
|
||
|
#
|
||
|
|
||
|
dns_servers_eth1="192.168.178.1"
|