In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Cat / etc/modprobe.d/bonding.conf
Alias bond0 bonding
# options bond0 miimon=100 mode=1
Enable the bond module
Modprobe bonding
Lsmod | grep bond
Cat / etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
# HWADDR=4C:E9:E4:9C:62:6A
# TYPE=Ethernet
# UUID=f10986c7-9528-4658-a124-2e3bf84d700a
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=192.29.10.128
NETMASK=255.255.255.0
GATEWAY=192.29.10.254
BONDING_OPTS= "mode=0 miimon=100"
Cat / etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
# HWADDR=4C:E9:E4:9C:62:6A
TYPE=Ethernet
UUID=f10986c7-9528-4658-a124-2e3bf84d700a
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
Cat / etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
# HWADDR=4C:E9:E4:9C:62:6B
TYPE=Ethernet
UUID=e79ac0df-a822-4b9b-94eb-af0c94416508
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
Cat / proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 4c:e9:e4:9c:62:6a
Slave queue ID: 0
Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 4c:e9:e4:9c:62:6b
Slave queue ID: 0
Switch port aggregation
Dis cur int Eth-Trunk 33
#
Interface Eth-Trunk33
Description Di8-22kou
Port default vlan 301
#
Dis eth-trunk 33
Eth-Trunk33's state information is:
Working Mode: Normal Hash Arithmetic: profile default
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 32
Operating Status: up Number of Up Ports in Trunk: 2
PortName Status Weight
GE1/8/0/22 Up 1
GE2/8/0/22 Up 1
Huawei switch port aggregation another configuration
> dis cur int Eth-Trunk 85
#
Interface Eth-Trunk85
Description connect to 192.29.12.11
Port link-type trunk
Port trunk pvid vlan 312
Undo port trunk allow-pass vlan 1
Port trunk allow-pass vlan 312
Mode lacp-dynamic
#
Problem handling
Ifup eth0 indicates that the network card does not exist.
Restart after / etc/udev/rules.d/70-persistent-net.rules deletes excess Nic entries
Ifconfig has no bond0 display
Deactivate the NetworkManager service and return to normal
Service NetworkManager stop
Chkconfig NetworkManager off
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.