# /etc/conf.d/net.eth0 - example eth0 network device configuration # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/conf.d/net.eth0,v 1.4 2005-07-02 20:38:57 niro Exp $ # Enable this device automatically on system boot. # If set to anything but ?yes? the NIC will be ignored by # the network script and not be brought up. ONBOOT="yes" # Static networking configuration example: # This method may be used to define ethernet interfaces with # statically allocated IPv4 addresses. # NETWORKING defines which method is used [static|dhcp]. #NETWORKING="static" # IP is required to set the address of the interface. #IP="192.168.0.1" # Requiered to configure the netmask. #NETMASK="255.255.255.0" # Required to configure the broadcast address. #BROADCAST="192.168.0.255" # Dynamic networking configuration example: # This method may be used to obtain an address via DHCP. # Enables the dhcp networking method. NETWORKING="dhcp" # Which dhcp client do you want to use ? DHCP_PROG="/sbin/dhcpcd" # DHCP_START allows you to pass additional # startup parameters to your dhcp client. # Ex: Timeout after 10 seconds DHCP_START="-t 10" # DHCP_STOP allows you to pass additional # stop parameters to your dhcp client. # Ex: -k kills the dhcp-cache at system shutdown # -z will not; keeps the resolv.conf etc. DHCP_STOP="-z" # The GATEWAY variable should contain the default gateway IP address, # if one is present. If not, then comment out the variables entirely. # GATEWAY_IF defines the interface to bind the default gateway to. #GATEWAY="192.168.0.100" #GATEWAY_IF="eth0"