User Tools

Site Tools


linux:netzwerk:interfaces_redhat

This is an old revision of the document!


Interface Config

Beispiele mit der Interface Config

Echte Config Files unter /etc/sysconfig/network-scripts

Config eines Interfaces für ein Bond

ifcfg-enp1s0

NAME=enp1s0
DEVICE=enp1s0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
NM_CONTROLLED=no


ifcfg-enp1s1

NAME=enp1s1
DEVICE=enp1s1
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
NM_CONTROLLED=no

Config eines Bonds als LACP

ifcfg-bond0

NAME=bond0
DEVICE=bond0
BONDING_MASTER=yes
TYPE=Bond
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=4 miimon=100 lacp_rate=1"
NM_CONTROLLED=no


Config eines Bonds als LACP mit VLAN's

ifcfg-bond0.10

DEVICE=bond0.10
NAME=bond0.10
BOOTPROTO=static
ONPARENT=yes
IPADDR=10.0.0.10
NETMASK=255.255.255.0
GATEWAY=10.0.0.1
MTU=1500
VLAN=yes
NM_CONTROLLED=no
linux/netzwerk/interfaces_redhat.1624974179.txt.gz · Last modified: by stone