Auteur Topic: Link Aggregation: Nuttig of niet?  (gelezen 76356 keer)

Offline Hofstede

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 10
  • -Ontvangen: 1452
  • Berichten: 6.089
Link Aggregation: Nuttig of niet?
« Reactie #75 Gepost op: 06 maart 2013, 19:06:09 »
Las net dat de vandaag aangekondigde DS1813+ vier netwerkaansluitingen heeft. Kun je die ook alle vier bundelen ;)

Zie hier: http://nl.hardware.info/nieuws/33807/ce ... -station-3

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 2973
  • -Ontvangen: 314
  • Berichten: 2.619
  • $ sudo -i
Re: Link Aggregation: Nuttig of niet?
« Reactie #76 Gepost op: 06 maart 2013, 20:14:13 »
Citaat van: "Hofstede"
Las net dat de vandaag aangekondigde DS1813+ vier netwerkaansluitingen heeft. Kun je die ook alle vier bundelen ;)

Zie hier: http://nl.hardware.info/nieuws/33807/ce ... -station-3

Ohhhhh, ik zit gelukkig nog binnen de 30-dagen internet retourgarantie! Bedankt voor de tip!  :wink:
Commander: DS1821+ | DSM 7.2-64570 U3
SightWinder: DS1821+ | DSM 7.2.1-69057 U4 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 U7
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline Robert Koopman

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 271
  • -Ontvangen: 1801
  • Berichten: 10.983
    • http://www.dwvbb.nl
Re: Link Aggregation: Nuttig of niet?
« Reactie #77 Gepost op: 06 maart 2013, 20:39:22 »
Ik wil nu de 1813+  :D
RS812+ : 3*WD60EFPX 6.2.4-25556 Update 7 SHR
RS814+ : 3*WD30EFRX 7.1.1-42962 Update 6 Btrfs

Offline Hofstede

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 10
  • -Ontvangen: 1452
  • Berichten: 6.089
Link Aggregation: Nuttig of niet?
« Reactie #78 Gepost op: 06 maart 2013, 20:44:15 »
Ja, of de DS 1812+ wordt nu een stukje goedkoper. Blij dat ik begin vorige maand heb besloten om op CeBIT te wachten.

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 2973
  • -Ontvangen: 314
  • Berichten: 2.619
  • $ sudo -i
Re: Link Aggregation: Nuttig of niet?
« Reactie #79 Gepost op: 06 maart 2013, 20:50:10 »
Citaat van: "Robert Koopman"
Ik wil nu de 1813+  :D

Gefeliciteerd man!  8)
Commander: DS1821+ | DSM 7.2-64570 U3
SightWinder: DS1821+ | DSM 7.2.1-69057 U4 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 U7
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 2973
  • -Ontvangen: 314
  • Berichten: 2.619
  • $ sudo -i
Re: Link Aggregation: Nuttig of niet?
« Reactie #80 Gepost op: 06 maart 2013, 20:52:21 »
Citaat van: "Hofstede"
Ja, of de DS 1812+ wordt nu een stukje goedkoper. Blij dat ik begin vorige maand heb besloten om op CeBIT te wachten.

Goeie actie man!
Tja, mijn Hyundai Getz 1.6 heeft er inmiddels in nog geen 3 maanden tijd 15pk erbij gekregen in het 1.7 model!  :mrgreen:
Commander: DS1821+ | DSM 7.2-64570 U3
SightWinder: DS1821+ | DSM 7.2.1-69057 U4 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 U7
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 2973
  • -Ontvangen: 314
  • Berichten: 2.619
  • $ sudo -i
Re: Link Aggregation: Nuttig of niet?
« Reactie #81 Gepost op: 06 maart 2013, 21:12:32 »
Citaat van: "ascent"
Die heb ik wel; *eerst* de bond aanmaken vanuit je DSM ;-) Die is standaard active/passive. Je maakt 'm active/active door de configfile te editten.

In de ifcfg-eth0 en ifcfg-eth1 -files staan de verwijzingen van de master/slaves naar de bond0!
Ik moet dus op basis van onderstaand alleen mijn ifcfg-bond0 wijzigen naar:

DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
IPADDR=xxx.xxx.xxx.xxx
NETMASK=xxx.xxx.xxx.xxx
BONDING_OPTS="mode=6 use_carrier=1 miimon=100 updelay=100 lacp_rate=fast"
USERCTL=no


mode=1 (active-backup)
Active-backup policy: Only one slave in the bond is active. A different slave becomes active if, and only if, the active slave fails. The bond's MAC address is externally visible on only one port (network adapter) to avoid confusing the switch. This mode provides fault tolerance. The primary option affects the behavior of this mode.

mode=2 (balance-xor)
XOR policy: Transmit based on [(source MAC address XOR'd with destination MAC address) modulo slave count]. This selects the same slave for each destination MAC address. This mode provides load balancing and fault tolerance.

mode=3 (broadcast)
Broadcast policy: transmits everything on all slave interfaces. This mode provides fault tolerance.

mode=4 (802.3ad)
IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification.

Pre-requisites:
1. Ethtool support in the base drivers for retrieving
the speed and duplex of each slave.
2. A switch that supports IEEE 802.3ad Dynamic link
aggregation.
Most switches will require some type of configuration
to enable 802.3ad mode.

mode=5 (balance-tlb)
Adaptive transmit load balancing: channel bonding that does not require any special switch support. The outgoing traffic is distributed according to the current load (computed relative to the speed) on each slave. Incoming traffic is received by the current slave. If the receiving slave fails, another slave takes over the MAC address of the failed receiving slave.

Prerequisite:
Ethtool support in the base drivers for retrieving the
speed of each slave.

mode=6 (balance-alb)
Adaptive load balancing: includes balance-tlb plus receive load balancing (rlb) for IPV4 traffic, and does not require any special switch support. The receive load balancing is achieved by ARP negotiation. The bonding driver intercepts the ARP Replies sent by the local system on their way out and overwrites the source hardware address with the unique hardware address of one of the slaves in the bond such that different peers use different hardware addresses for the server.


Zijn Q&Q toevallig vanavond nog online op dit forum?  :lol:
Commander: DS1821+ | DSM 7.2-64570 U3
SightWinder: DS1821+ | DSM 7.2.1-69057 U4 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 U7
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline ascent

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 20
  • Berichten: 17
Re: Link Aggregation: Nuttig of niet?
« Reactie #82 Gepost op: 06 maart 2013, 22:28:19 »
Goed bezig mannen! Zal ook eens naar de vandaag aangekondigde modellen kijken;)

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 2973
  • -Ontvangen: 314
  • Berichten: 2.619
  • $ sudo -i
Re: Link Aggregation: Nuttig of niet?
« Reactie #83 Gepost op: 06 maart 2013, 22:33:21 »
Citaat van: "ascent"
Goed bezig mannen! Zal ook eens naar de vandaag aangekondigde modellen kijken;)

Heb je nog een suggestie voor mij of gaan we het hier over de nieuwe auto-modellen hebben van Hyundai?  :mrgreen:
Commander: DS1821+ | DSM 7.2-64570 U3
SightWinder: DS1821+ | DSM 7.2.1-69057 U4 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 U7
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline ascent

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 20
  • Berichten: 17
Re: Link Aggregation: Nuttig of niet?
« Reactie #84 Gepost op: 06 maart 2013, 22:35:40 »
Wat voor suggestie heb je nodig?

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 2973
  • -Ontvangen: 314
  • Berichten: 2.619
  • $ sudo -i
Re: Link Aggregation: Nuttig of niet?
« Reactie #85 Gepost op: 06 maart 2013, 22:38:12 »
Citaat van: "ascent"
Wat voor suggestie heb je nodig?

Over het editeren van de ifcfg-bond0 file mbt de modus. Heb je nog even gequotert!  :D
Commander: DS1821+ | DSM 7.2-64570 U3
SightWinder: DS1821+ | DSM 7.2.1-69057 U4 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 U7
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline ascent

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 20
  • Berichten: 17
Re: Link Aggregation: Nuttig of niet?
« Reactie #86 Gepost op: 06 maart 2013, 22:40:13 »
Het enige wat ik hoefde te doen op mijn 412+ was:

BONDING_OPTS="mode=active-backup use_carrier=1 miimon=100 updelay=100 primary=eth0"

vervangen door

BONDING_OPTS="mode=balance-alb use_carrier=1 miimon=100 updelay=100 primary=eth0"

in de file /etc/sysconfig/network-scripts/ifcfg-bond0 nadat ik een active/passive bond had aangemaakt

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 2973
  • -Ontvangen: 314
  • Berichten: 2.619
  • $ sudo -i
Re: Link Aggregation: Nuttig of niet?
« Reactie #87 Gepost op: 06 maart 2013, 22:43:42 »
Citaat van: "ascent"
Het enige wat ik hoefde te doen op mijn 412+ was:

BONDING_OPTS="mode=active-backup use_carrier=1 miimon=100 updelay=100 primary=eth0"

vervangen door

BONDING_OPTS="mode=balance-alb use_carrier=1 miimon=100 updelay=100 primary=eth0"

in de file /etc/sysconfig/network-scripts/ifcfg-bond0 nadat ik een active/passive bond had aangemaakt

Mijn 1812+ heeft blijkbaar een andere /etc/sysconfig/network-scripts/ifcfg-bond0 file, bedankt iig!
Commander: DS1821+ | DSM 7.2-64570 U3
SightWinder: DS1821+ | DSM 7.2.1-69057 U4 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 U7
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline ascent

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 20
  • Berichten: 17
Re: Link Aggregation: Nuttig of niet?
« Reactie #88 Gepost op: 06 maart 2013, 22:49:10 »
okay.. maar, je gaf zelf al een antwoord op je vraag door de mode=6 te zetten. werkte dat, na reboot of network restart?

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 2973
  • -Ontvangen: 314
  • Berichten: 2.619
  • $ sudo -i
Re: Link Aggregation: Nuttig of niet?
« Reactie #89 Gepost op: 06 maart 2013, 23:53:52 »
Citaat van: "ascent"
okay.. maar, je gaf zelf al een antwoord op je vraag door de mode=6 te zetten. werkte dat, na reboot of network restart?

Nee, helaas was de ifcfg-bond0 file na de reboot weer in "mode=4". Onderstaand een overzicht van NA de reboot.

In het configuratiescherm van de bond1 staat het volgende (0-len zijn natuurlijk nummerts)



Wel zie ik nu in de systeeminformatie een bond1 in plaats van 2 aparte ip-adressen.

voor bonding:
mac-adres xxx.xxx.xxx.xx1 LAN1
mac-adres xxx.xxx.xxx.xx2 LAN2

na bonding:
xxx.xxx.xxx.xx3 (1+2=3) BOND1
IPv6-adres = mac-adress/64 Scope:Link



Dank allen voor jullie input voor deze avond!

Leermomentje voor mezelf:
Vooral niet vergeten om als root@xxx.xxx.xxx.xxx in te loggen op je NAS!  :oops:

Dus morgen de brillenglazen weer oppoetsen en de command-line/ssh/vi nog maar eens goed bestuderen.
Zo, nu tiet vur een pafke! Laters!
Commander: DS1821+ | DSM 7.2-64570 U3
SightWinder: DS1821+ | DSM 7.2.1-69057 U4 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 U7
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !


 

Link Aggregatie (lacp)

Gestart door BabyloniaBoard The lounge

Reacties: 13
Gelezen: 4492
Laatste bericht 16 juli 2015, 22:15:45
door Ben(V)
gitcdn[.]link

Gestart door stapperBoard Synology Router

Reacties: 5
Gelezen: 617
Laatste bericht 15 december 2022, 06:57:24
door stapper
D-Link IP Cameras onveilig

Gestart door BrioletBoard Surveillance Station

Reacties: 2
Gelezen: 2577
Laatste bericht 01 mei 2013, 17:31:29
door Briolet
link in inlogscherm

Gestart door Ds211Board Synology DSM algemeen

Reacties: 7
Gelezen: 2827
Laatste bericht 06 oktober 2013, 21:12:45
door Birdy
Download redirector BROKEN LINK <106e>

Gestart door HobbyfotograafBoard Download Station

Reacties: 2
Gelezen: 2712
Laatste bericht 04 maart 2008, 15:04:28
door Pandy