LinuxQuestions.org
Visit Jeremy's Blog.
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 53 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 04:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration