# Network adapter configuration # # The address format is "scheme,socket,instance,hwaddr". # # Note: the "network address" here is NOT the same as the IP address. # See the Networking HOWTO. In short, the network address is the IP # address masked by the netmask. # case "$ADDRESS" in dhcp,*,*,*) # Transceiver selection, for some cards -- see 'man ifport' IF_PORT="" # Use BOOTP? [y/n] BOOTP="n" # Use DHCP? [y/n] DHCP="" # Host's IP address, netmask, network address, broadcast address IPADDR="0.0.0.0" NETMASK="255.255.255.0" NETWORK="0.0.0.0" BROADCAST="0.0.0.0" # Gateway address for static routing GATEWAY="0.0.0.0" # Things to add to /etc/resolv.conf for this interface DOMAIN="" SEARCH="" DNS_1="" DNS_2="" DNS_3="" # NFS mounts, should be listed in /etc/fstab MOUNTS="" # For IPX interfaces, the frame type and network number IPX_FRAME="" IPX_NETNUM="" # Extra stuff to do after setting up the interface start_fn () { /sbin/dhclient; } # Extra stuff to do before shutting down the interface stop_fn () { kill `cat /var/run/dhclient.pid`; } ;; fixed,*,*,*) # Transceiver selection, for some cards -- see 'man ifport' IF_PORT="" # Use BOOTP? [y/n] BOOTP="n" # Use DHCP? [y/n] DHCP="n" # Host's IP address, netmask, network address, broadcast address IPADDR="192.168.0.99" NETMASK="255.255.255.0" NETWORK="192.168.0.0" BROADCAST="192.168.0.255" # Gateway address for static routing GATEWAY="192.168.0.1" # Things to add to /etc/resolv.conf for this interface DOMAIN="lupe-christoph.de" SEARCH="lupe-christoph.de" DNS_1="192.168.0.1" DNS_2="" DNS_3="" # NFS mounts, should be listed in /etc/fstab MOUNTS="" # For IPX interfaces, the frame type and network number IPX_FRAME="" IPX_NETNUM="" # Extra stuff to do after setting up the interface start_fn () { return; } # Extra stuff to do before shutting down the interface stop_fn () { return; } ;; esac