# /etc/conf.d/net.eth0 - example eth0 network device configuration # $Id$ # 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="no" # 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="-k" # The GATEWAY variable should contain the default gateway IP address, # if one is present. If not, then comment out the variables entirely. #GATEWAY="192.168.0.100" # The NAMESERVER variable should contain a list of DNS-servers, # if there are some present. This also overrides the DHCP-settings. #NAMESERVER="192.168.0.100 192.168.0.101" # # Wireless networking extensions (see man iwconfig(8) for more details) # # transfer rate 11M, 54M #WIRELESS_BITRATE # which channel shall be used [1-14] (use this or frequency) #WIRELESS_CHANNEL # network SSID #WIRELESS_ESSID # wich freqency shall be used #WIRELESS_FREQUENCY # wireless operation mode (managed=infrastructe, ad-hoc, master=ap) #WIRELESS_MODE # nickname of the wireless node #WIRELESS_NICK # which authentification mode shall be used (wep,wpa,wpa2,off) #WIRELESS_AUTH_MODE # Encryption key length, 64=WEP64, 128=WEP128, 256=WEP256 #WIRELESS_KEY_LENGTH # Encryption key in hex (or use ascii key, WEP only) #WIRELESS_KEY # Encryption key in ascii (or use hex key, for WEP+WPA) #WIRELESS_KEY_ASCII # driver used for wpa_supplicant (scripts defaults to wext) # to see all possible drivers, run 'wpa_supplicant --help' #WIRELESS_WPA_DRIVER=wext # # Setup Bridges # # Note: to setup a bridge this file must be called net.br[0-9] # # Interfaces to which the bridge shall point to # It is possible to use more than one #BRIDGE_INTERFACES="eth0 eth1" # Enables or disables Spanning Tree # Possible values are 'on' and 'off' #BRIDGE_STP="on" # Sets ageing time #BRIDGE_AGEING_TIME # Sets bridge priority #BRIDGE_PRIORITY # Sets bridge forwarde delay time #BRIDGE_FORWARD_DELAY # Sets hello time #BRIDGE_HELLO_TIME # Sets max message age #BRIDGE_MAX_MESSAGE_AGE # Sets path cost for a configured bridge port/interface # It is possible to use more than one # e.g. port1=cost1 port2=cost2 #BRIDGE_PATH_COST="eth0=12 eth2=9" # Sets port priority for a configured bridge port/interface # It is possible to use more than one # e.g. port1=prio1 port2=prio2 #BRIDGE_PORT_PRIORITY="eth0=1 eth2=3" # # Networking for the bridge can be configured as normal # A static example: #NETWORKING="static" #IP="192.168.0.1" #NETMASK="255.255.255.0" #BROADCAST="192.168.0.255"