Skip to main content

[VirtualBox 6][Centos 8] Troubleshoot - unbale to enable second network adaptor on Centos 8 in VirtualBox



[Problem]

After installing Centos 8 on VirtualBox 6.x version, I realised that second network adpator never actually up and running which makes only use first network adaptor.

[Issue Check]

- When First log in to Centos, it is showing only First network adapter regardless of network type(NAT, Host only or Bridge).





- Tried to activate second network using NetworkManager but it doesn't even show the Network interface but ip list is showing second network.

nmtui

[Solution]
The solution to this is simply create scripts for second network interface in /etc/sysconfig/network-scripts.

1. cd /etc/sysconfig/network-scripts
2. sudo cp enp0s3 enp0s8
3. sudo vi enp0s8



4. reboot

Once it reboots, second network is up and running with ip address assigned as expected.

[Troubleshooting Clip]



Comments