overlay/Documentation/ls_pro_live/root_overlay/etc/conf.d/net

28 lines
842 B
Plaintext
Raw Normal View History

# 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_eth0=( "dhcp" )
fallback_eth0=( "192.168.178.103 netmask 255.255.255.0 broadcast 192.168.178.255" )
fallback_route_eth0=( "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_eth0="192.168.178.1"