Список опций: /usr/share/doc/initscripts* и /usr/share/doc/net-scripts*
Алиасы:
/etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
ONBOOT=yes
Множественное задание алиасов:
/etc/sysconfig/network-scripts/ifcfg-eth0-range0
DEVICE=eth0:1-10
BOOTPROTO=static
IPADDR_START=192.168.10.100
IPADDR_END=192.168.10.110
CLONENUM_START=0
NETMASK=255.255.255.0
ONBOOT=yes
или /etc/sysconfig/network-scripts/ifcfg-eth0:0:
IPADDR=192.168.1.1-10
Вланы:
/etc/sysconfig/vlan
DOT1Q_VLANS=yes
VLAN_NAMING=VLAN_PLUS_VID
/etc/sysconfig/network-scripts/ifcfg-vlan0002
DEVICE=vlan0002
VLAN_TRUNK_IF=eth0
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.252
ONBOOT=yes
IP туннель:
/etc/sysconfig/network-scripts/ifcfg-iptun0
DEVICE=iptun0
TUNLOCAL=172.16.0.2
TUNREMOTE=172.16.0.1
PHYSLOCAL=192.168.1.1
PHYSREMOTE=192.196.2.1
TTL=16
TYPE=ipip # можно gre
ONBOOT=yes
IPSec:
/etc/sysconfig/network-scripts/ifcfg-ipsectun0
DEVICE=ipsectun0
TUNLOCAL=10.0.0.1
TUNREMOTE=10.0.0.2
PHYSLOCAL=192.168.0.1
PHYSREMOTE=192.168.0.2
SPI=0x1000
# Each tunnel must have CIPHER and/or DIGEST.
# Basedir for CIPHERFILE and DIGESTFILE is /etc/ipsec.
CIPHER=3des-cbc
CIPHERFILE=random-3des.key
DIGEST=md5
DIGESTFILE=random-md5.key
ONBOOT=no
URL:
Обсуждается: http://www.opennet.me/tips/info/761.shtml