VirtualBox -> Live boot networking issue

Issues related to configuring your network
nickstuckert
Posts: 2
Joined: 2018/01/08 18:02:31

VirtualBox -> Live boot networking issue

Postby nickstuckert » 2018/01/08 18:13:13

I have a CentOS installation that I have installed through virtual box directly on a harddrive. When directly booting from the harddrive, I have no issues except that the network isn't fully functional. I've searched through many of these forum issues in vain. But I apologize if I missed the answer, and thank you for any help anyone has to offer!

ip a:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 18:66:da:1f:36:80 brd ff:ff:ff:ff:ff:ff
inet 167.22.112.69/23 brd 167.22.113.255 scope global dynamic enp0s25
valid_lft 685368sec preferred_lft 685368sec
inet6 fe80::da56:6851:3a7f:4fa3/64 scope link
valid_lft forever preferred_lft forever
3: p4p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq portid 0002c90300515f80 state UP qlen 1000
link/ether 00:02:c9:51:5f:80 brd ff:ff:ff:ff:ff:ff
inet6 fe80::88c7:5e2:6e73:ff/64 scope link
valid_lft forever preferred_lft forever
4: virbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN qlen 1000
link/ether 52:54:00:15:5b:d2 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 1000
link/ether 52:54:00:15:5b:d2 brd ff:ff:ff:ff:ff:ff

nmcli:
enp0s25: connected to Wired connection 1
"Intel Ethernet Connection I217-LM"
ethernet (e1000e), 18:66:DA:1F:36:80, hw, mtu 1500
ip4 default
inet4 167.22.112.69/23
inet6 fe80::da56:6851:3a7f:4fa3/64

p4p1: disconnected
"Mellanox Technologies MT26448 [ConnectX EN 10GigE PCIe 2.0 5GT/s]"
1 connection available
ethernet (mlx4_core), 00:02:C9:51:5F:80, hw, port 0002c90300515f80, mtu 1500

virbr0: unmanaged
"virbr0"
bridge, 52:54:00:15:5B:D2, sw, mtu 1500

lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

virbr0-nic: unmanaged
"virbr0-nic"
tun, 52:54:00:15:5B:D2, sw, mtu 1500

DNS configuration:
servers: 167.22.105.218 167.22.107.244 167.22.146.127
domains: na.praxair.com
interface: enp0s25

Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details.

bash-4.2$ ping 167.22.112.69
PING 167.22.112.69 (167.22.112.69) 56(84) bytes of data.
64 bytes from 167.22.112.69: icmp_seq=1 ttl=64 time=0.031 ms
64 bytes from 167.22.112.69: icmp_seq=2 ttl=64 time=0.047 ms
^C
--- 167.22.112.69 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.031/0.039/0.047/0.008 ms
bash-4.2$ ping 167.22.112.1
PING 167.22.112.1 (167.22.112.1) 56(84) bytes of data.
From 167.22.112.69 icmp_seq=1 Destination Host Unreachable
From 167.22.112.69 icmp_seq=2 Destination Host Unreachable
^C
--- 167.22.112.1 ping statistics ---
3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1999

route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 100 0 0 enp0s25
167.22.112.0 0.0.0.0 255.255.254.0 U 100 0 0 enp0s25

nickstuckert
Posts: 2
Joined: 2018/01/08 18:02:31

Re: VirtualBox -> Live boot networking issue

Postby nickstuckert » 2018/01/08 20:51:42

Seems like others have had issues with this driver before. I will be trying the driver from Intel to see if that resolves the problem, but as the first thread states, I also don't like having to recompile the kernel every time, not to mention getting the development files installed on a computer that's currently offline.

https://www.centos.org/forums/viewtopic.php?t=58338

https://ubuntuforums.org/showthread.php?t=2280968