Möchte man mehrere physikalische Netzwerkkarten zu einer bündeln die erreichbar ist über eine Adresse, um beispielsweise eine Vorsorge zu haben, falls eine Netzwerkkarte ausfallen sollte, aus dem Grund mehr Bandbreite zu haben oder einfach nur, um die Last auf mehrere Netzwerkkarten zu verteilen.
Unter Gentoo ist dieses sehr einfach. Als erstes muss in den Kernel Optionen Kernel Bonding aktiviert sein.
? Location:
? -> Device Drivers
? -> Network device support (NETDEVICES [=y])
<*> Bonding driver support
Sollte man die Absicht haben mehrere Bonds zu benutzen, muss man den Support im Kernel als Modul benutzen.
Es wird außerdem eine Software benötigt, die im Portage-Tree zu finden ist.
emerge net-misc/ifenslave
Wir gehen mal davon aus, dass das System 5 Netzwerkkarten besitzt, wobei eine on-Board ist und die anderen 4 sind Erweiterungskarten.
Die On-Board wird in diesem Beispiel über eth0 angesprochen und die Erweiterungskarten eth1, eth2, eth3, eth4.
Sollte man nun den Kernel Support aktiviert und ifenslave emerged haben, kann man sich die Konfigurationsdatei vornehmen.
# /etc/conf.d/net
#
# Die On-Board Karte soll nicht gebonded werden und könnte eventuell später
# verwendet werden um via PPP ins Internet zu gehen.
# eth0 soll über 192.168.1.2 und über die Netzmaske 255.255.255.0 anzusprechen sein.
config_eth0=( "192.168.1.2/24" )
# eth1, eth2, eth3, eth4 sollen eine Adresse benutzen und wären sehr gut im
# Einsatz um das lokale Netz anzusprechen.
config_eth1=( "null" )
config_eth2=( "null" )
config_eth3=( "null" )
config_eth4=( "null" )
slaves_bond0="eth1 eth2 eth3 eth4"
depend_bond0() {
need net.eth1 net.eth2 net.eth3 net.eth4
}
# das Bond ist über 192.168.1.1 und über die Netzmaske 255.255.255.0 anzusprechen.
config_bond0=( "192.168.1.1/24" )
# das Bond benutzt als Standard den Gateway 192.168.1.3.
routes_bond0=( "default via 192.168.1.3" )
Nun kann man diese Konfigurationsdatei speichern und erstellt sich noch ein paar init Skripte für die ganzen Netzwerkkarten inklusive des bond's. Wenn man das alles gemacht hat, kann man jetzt das System über die Adresse 192.168.1.1 ansprechen und der Server nutzt 4 Netzwerkkarten ansprechen und verteilt den Traffic.
ln -s net.lo net.eth0
ln -s net.lo net.eth1
ln -s net.lo net.eth2
ln -s net.lo net.eth3
ln -s net.lo net.eth4
ln -s net.lo net.bond0
Wenn man nach dem Systemstart auch alle Netzwerkkarten benutzen möchte, muss man das init Skript net.bond0 in einen Runlevel, z.B. Runlevel 3, packen. Die Skripte net.eth1, net.eth2, net.eth3 und net.eth4 brauchen das nicht. Wenn man aber wie in dem fall net.eth0 nicht im bond hat, muss dieses dieses auch in einen Runlevel packen.
Dieses kann man tun mit:
rc-update add net.bond0 default
rc-update add net.eth0 default
ghd New Zealand is known for her function.Qualities of people are using ghd nz frequently.They think it will make themself pretty and have a Good Hair Day.
Chanel J12 CERAMIC Ladies Replica Watch CH017(34mm).Sale Chanel Watches,Chanel Watches,Chanel Replica Watches,Replica Watches are on sale now! When speaking of the quality of movement and reliable characteristic,Chanel J12 Watches,chanel j12 white ceramic,Chanel Ladies Watches, Rolex is no doubt the most excellent one.Chanel Mens Watches,chanel j12 white,chanel watches j12, As one series of this famous brand,white chanel watch,chanel watches online,black chanel watch, Replica Watch is also perfect. With a full GMT hand which is full independently adjustable, chanel women watches,chanel j12 superleggera,you can read the time of a second time zone easily.chanel j12 ceramic watch,chanel j12 chronograph,chanel black j12, Chanel Watches are the best interpretation your taste.Replica Chanel watches have durable materials,chanel j12 black watch,chanel black watch,mens chanel watches,when you wear them, you will like them good texture. The more important is that you will love these kinds of series replica Chanel watches,chanel watches ladies,chanel watches white,ladies chanel watches, it can show your excellence extraordinary taste. 18K Solid White Gold Mauboussin wristwatch with Mechanical Movement and 18K Solid Gold buckle. This elegant luxury timepiece was presented to me as a gift in 2008. It was worn only few times and in Mint as New Condition in and out, still has factory protective sticker on back.chanel j12 ceramic watch,chanel watch j12 ceramic, The watch keeps good time. This particular watch can be worn either by man or a woman. The list price of this watch is nearly $9,000. The total weight of the watch is 53 grams. The watch comes in its own outer box and inner presentation case along with genuine leather pouch and blank warranty certificate.
Sapete che Hogan scarpe? In Italia è così il fuoco. Nella strada, immerso nel verde, piena di persone che indossano hogan uomo scarpe. Molte persone scelgono un paio di hogan donna scarpe in dono il nuovo anno.Hogan scarpe I negozi online offrono la migliore Hogan scarpe sito ufficiale.