Network Bonding

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
21 hours 25 minutes
Difficulty
Intermediate
CEU/CPE
21
Video Transcription
00:00
>> Hello Cybrarians.
00:00
Welcome back to the Linux+ course here at Cybrary.
00:00
I'm your instructor Rob Goelz,
00:00
and in today's lesson we're
00:00
going to discuss network bonding.
00:00
Upon completion of the lesson,
00:00
you'll be able to understand
00:00
the concept network bonding,
00:00
we're going to describe different types of bonds,
00:00
bond modes, and we're also
00:00
going to know how to configure a network bond.
00:00
Network bonding in a nutshell allows
00:00
a Linux system to see multiple interfaces.
00:00
We connect two interfaces together as one interface,
00:00
and that's a network bond,
00:00
generally a bonded interface pair.
00:00
You can see that pretty commonly.
00:00
Why bond? Well,
00:00
there's three bond modes that
00:00
give some insight into this.
00:00
The aggregation, which is mode number 4,
00:00
means that all interfaces in the bond are
00:00
combined into one large network pipe.
00:00
Active/passive is used when one interface is up
00:00
and the other interface is available or passive,
00:00
and one interface can become available.
00:00
The passive interface can become
00:00
available if the active interface fails.
00:00
Then finally we have mode 5, load balancing,
00:00
and that means that network traffic is shared between
00:00
all interfaces that are in that bond.
00:00
In CentOS you can configure
00:00
a bond by creating a bond script file,
00:00
and that's in the usual place
00:00
etc/sysconfig network-scripts.
00:00
You say etc/sysconfig/network-scripts/ifconfig-bond name
00:00
and that bond will continue.
00:00
In CentOS, you can configure
00:00
a bond by creating a bond script file at
00:00
etc/sysconfig/network-scriptsifconfig-bond name;
00:00
it's a mouthful.
00:00
At any rate, you can add your interfaces into this bond
00:00
and configure the interfaces that are
00:00
going to be involved in the bond.
00:00
You would configure the bond in this file,
00:00
also specifying the bond mode and finally,
00:00
you would modify individual interface files
00:00
and add them to the bond.
00:00
In Ubuntu, you can configure a bond by
00:00
creating a file at etc/network interfaces.
00:00
Alternatively, you can modify
00:00
the net plane YAML file, etc/net plan,
00:00
etc and you can create a bond and network manager
00:00
using either nmcli or nmtui we saw before.
00:00
In this lesson we covered network bonding in Linux,
00:00
we also talked about the different types of bond mode,
00:00
and we covered how to configure
00:00
bonding in CentOS and Ubuntu.
Up Next