Login Form
Who's Online
We have 15 guests online
BBC News Feed
Proudly Pinoy

Proudly Pinoy

What's This Logo?

Mabuhay! This "Proudly Pinoy" logo expresses pride in being Filipino. It is available for all Filipino designed or owned websites. If you are a Filipino or have a Filipino site, please support this project and express your pride of being Pinoy, by posting this logo on your Pinoy site or blog!

Ako Mismo

Ako Mismo

"Ako Mismo kikilos para sa bayan ko."

Simulan mo ang pagkilos tungo sa muling pagbangon ng Pilipinas.

Maliit man o malaki, ikaw mismo ang magsasabi kung ano ang gagawin mo.

Ubuntu 10.04 LTS
Fedora 14 Laughlin

My QR Code. Scan it!

QR Code

PostHeaderIcon LACP config on Ubuntu/Debian

User Rating: / 0
PoorBest 

You have to install ifenslave, it is a tool to attach and detach slave network interfaces to a bonding device.

sudo apt-get install ifenslave

Interface Configuration on /etc/network/interfaces:


# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

# For bonding
auto bond0
iface bond0 inet dhcp
slaves all

# LACP config
bond-mode 4
bond-miimon 100
bond-lacp-rate 1


Ethernet Bonding Modes:

0 (balance-rr) Round-robin policy: Transmit packets in sequential order from the first available slave through the last. This mode provides load balancing and fault tolerance.

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.

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.

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

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:
  • Ethtool support in the base drivers for retrieving the speed and duplex of each slave.
  • A switch that supports IEEE 802.3ad Dynamic link aggregation. Most switches will require some type of configuration to enable 802.3ad 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.

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.

The most used are the first four mode types...


 

Add your comment

Your name:
Your email:
Subject:
Comment:



Your Ad Here

Search This Website
Facebook Page

Facebook Fan Page

Follow Me on Twitter!

Donate to me
Amount: 
Boto Mo, Ipatrol Mo

Ako ang Simula

"Simulan ang pagbabago"

One year before the 2010 elections, stand up and say ENOUGH.

Advertisement
Featured Links:

Test your Internet connection quality at Pingtest.net

What is Pingtest.net?

Use Pingtest.net to determine the quality of your broadband Internet connection. Streaming media, voice, video communications, and online gaming require more than just raw speed. Test your connection now to get your Pingtest.net rating and share the result with others!


Test your Internet connection speed at Speedtest.net

What is Speedtest.net?

Use Speedtest.net to test the speed of your Internet connection. See if you are getting what you pay for or share your results with others!

PCSO Lotto Results
  • LOTTO SWERTRES 3 PCSO FEB. 23, 2012 RESULTS
    Swertres 3 Luzon Vis-Min Morning 11:00 am: 8-9-7 Afternoon 4:00 pm: 9-1-5 Evening 9:00 pm: winning combination must be in exact order Php: 4,500 per P10 play Draws Date: 2/23/2012
  • LOTTO EZ2 PCSO FEB. 23, 2012 RESULTS
    Two Digit EZ2 Luzon Morning 11am: 16-08 Afternoon 4pm: 06-08 Evening 9pm: numbers must be in exact order Php 4,000.00 per P10 play Draws Date: 2/23/2012
  • PCSO GRAND 6/55 LOTTO FEB. 22, 2012 RESULTS
    Grand 6/55 Draw 05-42-13-45-31-19 Jackpot Prize of Php 30 M (minimum) no winner winning numbers in any particular order Evening Draw Date: 2/22/2012 GrandLotto consolation prizes are P150,000 for 5 winning numbers, P2,000 for 4 and P150 for 3.
Yahoo! Messenger