I have a Centos Virtual machine in which I attempted to set up NIC bonding. When I did this my internet access was cut off.
In my /etc/sysconfig/network-scripts/ directory I have the following files:
bond0, my master connection:
Code:
DEVICE=bond0
TYPE=Bond
NAME=bond0
BONDING_MASTER=yes
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.1.80
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
BONDING_OPTS=”mode=5 miimon=100”
My first slave connection, enp0s3:
Code:
TYPE=Ethernet
BOOTPROTO=none
DEVICE=enp0s3
ONBOOT=yes
HWADDR=08:00:27:89:b6:e9
MASTER=bond0
SLAVE=yes
My second slave connection, enp0s8:
Code:
TYPE=Ethernet
BOOTPROTO=none
DEVICE=enp0s8
ONBOOT=yes
HWADDR=08:00:27:50:e6:89
MASTER=bond0
SLAVE=yes
Now, the hardware addresses I have in those files match what I see in the "ether" section when I run the ifconfig command, so that is not the problem.
I also have the network adapter set to "bridged" in the virtual machine settings.
I am completely stumped about what is happening here.