Update of /cvsroot/devil-linux/build/config/etc/sysconfig/nic In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv9214 Modified Files: ifcfg-eth0.sample ifcfg-eth1.sample ifcfg-eth2.sample ifcfg-eth3.sample ifcfg-eth4.sample ifcfg-vlan100.sample Log Message: - added some explanation for the available parameters Index: ifcfg-eth1.sample =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/sysconfig/nic/ifcfg-eth1.sample,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ifcfg-eth1.sample 9 Sep 2010 03:18:47 -0000 1.5 +++ ifcfg-eth1.sample 29 Sep 2010 19:15:56 -0000 1.6 @@ -4,12 +4,13 @@ # see also # ifcfg-vlan100.sample # -DHCP=no -ONBOOT=yes DEVICE=eth1 -# it is essential that you leave the IP unconfigured or undefined if -# you want to do vlans on this interface -#IP="" +ONBOOT=yes +DHCP=no + +# MTU redefines MTU settings for the link layer. +# Use it only if know what are you doing. Example below is for 9k jumbo frames +#MTU=9000 # currently only the e100, e1000 and tg3 modules are known to support vlan tagging MODULE=e100 #MODULE_OPTS= Index: ifcfg-eth0.sample =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/sysconfig/nic/ifcfg-eth0.sample,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- ifcfg-eth0.sample 7 Sep 2010 19:57:47 -0000 1.11 +++ ifcfg-eth0.sample 29 Sep 2010 19:15:56 -0000 1.12 @@ -2,17 +2,42 @@ # # example for a "normal" INTERFACE with no VLANs and no BRIDGING # + +# DEVICE is mandatory parameter +DEVICE=eth0 + +ONBOOT=yes + DHCP=no #DHCP=yes #DHCP=server # options passed directly to dhcpcd on startup #DHCP_OPTIONS="" -ONBOOT=yes -DEVICE=eth0 + +# IP address can be defined in CIDR notation, i.e. +# IP="10.90.1.200/24" +# In such case NETMASK maybe commented out IP=10.90.1.200 + +# NETMASK also can be in CIDR notation, i.e. +# NETMASK="/24" NETMASK=255.255.255.0 + +# BROADCAST is an auto-calculated value +# you can safely omit it. #BROADCAST=10.90.1.255 + +# MAC is not for NIC identification, but for +# mac address spoofing/redefining. You can safely omit it #MAC= +# + +# MTU redefines MTU settings for the link layer. +# Use it only if know what are you doing. Example below is for 9k jumbo frames +#MTU=9000 + +# MODULE - NIC module. It's optional parameter because hardware +# autodetection should load all necessary modules. MODULE=pcnet32 #MODULE_OPTS= # @@ -21,7 +46,7 @@ # where ROUTE is a keyword and the line with ROUTE # should not have spaces between the beginning of # the line and the keyword -# Route statement is a any valid "ip route"# command, +# Route statement is any valid "ip route" command, # without "ip route add" prefix - it will be added # automatically # @@ -32,7 +57,7 @@ # where RULE is a keyword and the line with RULE # should not have spaces between the beginning of # the line and the keyword -# Rule statement is a any valid "ip rule" command, +# Rule statement is any valid "ip rule" command, # without "ip rule add" prefix - it will be added # automatically # Index: ifcfg-vlan100.sample =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/sysconfig/nic/ifcfg-vlan100.sample,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ifcfg-vlan100.sample 7 Sep 2010 19:57:47 -0000 1.6 +++ ifcfg-vlan100.sample 29 Sep 2010 19:15:56 -0000 1.7 @@ -4,12 +4,13 @@ # see also # ifcfg-eth1.sample # + +# the base interface (see ifcfg-eth1.sample for configuration) +DEVICE=eth1 +ONBOOT=yes DHCP=no #DHCP=yes #DHCP=server -ONBOOT=yes -# the base interface (see ifcfg-eth1.sample for configuration) -DEVICE=eth1 ### note: 0 < vlanid < 4095 VLANID=100 IP=10.90.5.254 Index: ifcfg-eth4.sample =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/sysconfig/nic/ifcfg-eth4.sample,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ifcfg-eth4.sample 7 Sep 2010 19:57:47 -0000 1.6 +++ ifcfg-eth4.sample 29 Sep 2010 19:15:56 -0000 1.7 @@ -2,14 +2,26 @@ # # example for a "normal" INTERFACE with no VLANs and no BRIDGING # +DEVICE=eth4 +ONBOOT=yes + DHCP=no #DHCP=yes #DHCP=server -ONBOOT=yes -DEVICE=eth4 + +# IP address can be defined in CIDR notation, i.e. +# IP="10.90.1.200/24" +# In such case NETMASK maybe commented out IP=10.90.1.200 + +# NETMASK also can be in CIDR notation, i.e. +# NETMASK="/24" NETMASK=255.255.255.0 + +# BROADCAST is an auto-calculated value +# you can safely omit it. #BROADCAST=10.90.1.255 + #MAC= MODULE=prism54 #MODULE_OPTS= Index: ifcfg-eth2.sample =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/sysconfig/nic/ifcfg-eth2.sample,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ifcfg-eth2.sample 7 Sep 2010 19:57:47 -0000 1.3 +++ ifcfg-eth2.sample 29 Sep 2010 19:15:56 -0000 1.4 @@ -5,11 +5,9 @@ # ifcfg-eth3.sample and # ifcfg-br0.sample # -DHCP=no -ONBOOT=yes DEVICE=eth2 -# it is essential that you leave the IP at 0.0.0.0 if -# you want to do bridging on this interface -IP=0.0.0.0 +ONBOOT=yes +DHCP=no + MODULE=8139too #MODULE_OPTS= Index: ifcfg-eth3.sample =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/sysconfig/nic/ifcfg-eth3.sample,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ifcfg-eth3.sample 7 Sep 2010 19:57:47 -0000 1.3 +++ ifcfg-eth3.sample 29 Sep 2010 19:15:56 -0000 1.4 @@ -5,11 +5,9 @@ # ifcfg-eth2.sample and # ifcfg-br0.sample # -DHCP=no -ONBOOT=yes DEVICE=eth3 -# it is essential that you leave the IP at 0.0.0.0 if -# you want to do bridging on this interface -IP=0.0.0.0 +ONBOOT=yes +DHCP=no + MODULE=8139too #MODULE_OPTS= |