Monday, 2 April 2018

Bond and Bridge Setup

Step-1
Go to
# cd /etc/sysconfig/network-scripts/
#ls

we first need to Create bond0 interface: ifcfg-bond0
#vi /ifcfg-bond0

DEVICE=bond0
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Ethernet
UUID=954566ue-3d2a-43e7-b773-4fdc34ke93ee
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
DEFROUTE=yes
USERCTL=no
PEERDNS=yes
IPV6INIT=no
BRIDGE=br0

Step-2
Now we can continue to setting up a bridge interface: Create file ifcfg-br0
#vi /ifcfg-br0 

DEVICE=br0
TYPE=Bridge
UUID=954566ue-3d2a-43e7-b773-4fdc34ke93ee
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=x.x.x.x
NETMASK=x.x.x.x
GATEWAY=x.x.x.x
USERCTL=no
PEERDNS=yes
IPV6INIT=no
DELAY=0 

Step-3
Make Change to ifcfg-eth0
#vi /ifcfg-eth0

DEVICE=eth0
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Ethernet
UUID=954566ue-3d2a-43e7-b773-4fdc34ke93ee
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no
PEERDNS=yes
IPV6INIT=no

Step-4
Make Change to ifcfg-eth1
#vi /ifcfg-eth1
 
DEVICE=eth1
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Ethernet
UUID=954566ue-3d2a-43e7-b773-4fdc34ke93ee
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no
PEERDNS=yes
IPV6INIT=no


Step-5 
Restart your Network
#Systemctl restart network ( or service network restart )
Step-6
Check Status  of your network
#Systemctl status network 
Step-7 
Confirm your default Gateway is correct
#netstat -rn 

 

1 comment:

  1. microsoft office 2016 professional plus (1PC), and get a lifetime license for Word, Excel, PowerPoint, OneNote, Outlook, Publisher, Access, OneDrive, and Skype for Business. Professional Plus is an essential tool for individuals as well as small and mid-sized organizations which want access to full-featured, up-to-date Microsoft software.

    ReplyDelete

Create a New Virtual Machine

1.In the left pane, Click on the Hyper-V manager that you wish to host the new virtual machine. 2. In the right-hand Action pane, Click Ne...