LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > karanis
User Name
Password

Notices


Rate this Entry

MULTI ethernet bonding

Posted 04-05-2020 at 05:23 PM by karanis
Tags net

# /etc/rc.d/rc.inet1.conf HAS 2 if enabled at boot
# eth0: no DNS, no static IP , eth1: no DNS, no static IP

/sbin/ifconfig eth0 down
/sbin/ifconfig eth1 down
/sbin/modprobe bonding mode=0 miimon=100

/usr/sbin/ip addr add 192.168.2.IP/24 dev bond0

/usr/sbin/ip link set bond0 up
/usr/sbin/ip link set eth0 master bond0
/usr/sbin/ip link set eth1 master bond0

/sbin/route add default gw 192.168.2.1
/sbin/ifconfig eth0:1 192.168.1.69 netmask 255.255.255.255 up
Posted in Uncategorized
Views 247 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
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