LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-16-2012, 12:57 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question "mode=1 miimon=100"


Hi all,


I was going through this web page:-

http://serverfault.com/questions/146...face-ie-bond01


for setting up bonded network interface in my machine running Centos 5.5


although this tutorial worked like charm , I have got 1 doubt ?

1) what does the line "mode=1 miimon=100" means ?


Setting up bonded interface ?

[root network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no

[root network-scripts]# cat ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no

[root network-scripts]# cat ifcfg-bond0
DEVICE=bond0
BONDING_OPTS="mode=1 miimon=100"
BOOTPROTO=none
ONBOOT=yes
NETWORK=10.2.1.0
NETMASK=255.255.255.0
IPADDR=10.2.1.11
USERCTL=no

[root network-scripts]# cat ifcfg-bond0:1
DEVICE=bond0:1
BOOTPROTO=static
ONBOOT=yes
NETWORK=10.2.1.0
NETMASK=255.255.255.0
IPADDR=10.2.1.12
USERCTL=no
 
Old 03-16-2012, 01:29 AM   #2
sriram_ec
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
miimon :
Specifies the MII link monitoring frequency in milliseconds. This determines how often the link state of each slave is inspected for link failures. A value of zero disables MII link monitoring. A value of 100 is a good starting point.
Somewhere I read that, it is deprecated. Not very sure. I think now bond driver uses netif_carrier_ok to find the link status of its slaves.

mode :
specifies the kind of protocol used by bond driver for its slaves.
balance-rr
active-standby.
xor-mac. etc..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
How to do the "RTP stream analysis" by "tethereal" only in command mode windy7704 Linux - Newbie 0 04-02-2008 03:48 AM
Why my wireless card "atheros" run only as an acces point in "Master" mode. jardiamj Linux - Wireless Networking 3 11-11-2007 12:12 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration