intnet / host-only vboxnet0 not working with openSUSE 10.02
Posted: 29. May 2013, 00:45
I'm training for LPIC certification. The tests cover older material hence the old version of openSUSE.
My openSUSE 10.02 guests running on openSUSE 12.03 host with VB 4.2.12 won't get IP addresses when I use "intnet" or "Host-only adapter, 'vboxnet0'" as the network.
The NAT and bridged network choices work and eth0 gets a 10.x.x.x or 192.168.254.x address from NAT or bridged as expected.
I believe the DHCP server associated with intnet and vboxnet0 networks is running because VBoxManage list dhcpservers shows both, with expected address ranges and enabled.
As far as I can tell the problem seems to be the DHCP daemon. grepping /var/log/NetworkManager consistently shows eth0 going through Device Prepare, Device Configure, IP Configure, IP Configure Timeout and IP Configure Commit stages and DHCP daemon states of 12, then 1, then 14 for the intnet and vboxnet0 configurations that end up with an autoconfigure IP address, eg. 169.254.x.x.
On the networks that eth0 gets the expected DHCP address grepping /var/log/NetworkManager consistently shows eth0 going through Device Prepare, Device Configure, IP Configure, IP Configure Get and IP Configure Commit stages and DHCP Daemon states of 12, then 1, then 2.
It seems somehow the DHCP Daemon isn't able to broadcast an address request or the VBox DHCP server doesn't recognize/respond to the request when made from the openSUSE 10.02 guest. With openSUSE 11.3 guest this problem doesn't happen and the guest gets the expected IP address when connected to the intnet and vboxnet0 networks.
Again, because I'm studying for the LPIC, I'm in need of suggestions to make the openSUSE 10.02 guest work on either intnet or vboxnet0 networks.
Any suggestions to make the 10.02 guest work greatly appreciated.
NOTE: I have reinstalled VirtualBox, recreated the 10.02 guest, reinstalled the GuestAdditions.
My openSUSE 10.02 guests running on openSUSE 12.03 host with VB 4.2.12 won't get IP addresses when I use "intnet" or "Host-only adapter, 'vboxnet0'" as the network.
The NAT and bridged network choices work and eth0 gets a 10.x.x.x or 192.168.254.x address from NAT or bridged as expected.
I believe the DHCP server associated with intnet and vboxnet0 networks is running because VBoxManage list dhcpservers shows both, with expected address ranges and enabled.
Code: Select all
host:~$ VBoxManage list dhcpservers
NetworkName: intnet
IP: 192.168.66.1
NetworkMask: 255.255.255.0
lowerIPAddress: 192.168.66.20
upperIPAddress: 192.168.66.29
Enabled: Yes
NetworkName: HostInterfaceNetworking-vboxnet0
IP: 192.168.222.1
NetworkMask: 255.255.255.0
lowerIPAddress: 192.168.222.100
upperIPAddress: 192.168.222.199
Enabled: YesCode: Select all
guest:/var/log # grep -rs -i -e "dhcp daemon\|Stage [1-5] of 5" .
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
./NetworkManager:May 28 08:25:12 linux NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
./NetworkManager:May 28 08:25:13 linux NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
./NetworkManager:May 28 08:25:13 linux NetworkManager: <info> DHCP daemon state is now 12 (successfully started) for interface eth0
./NetworkManager:May 28 08:25:13 linux NetworkManager: <info> DHCP daemon state is now 1 (starting) for interface eth0
./NetworkManager:May 28 08:25:59 linux NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Timeout) scheduled...
./NetworkManager:May 28 08:25:59 linux NetworkManager: <info> DHCP daemon state is now 14 (normal exit) for interface eth0
./NetworkManager:May 28 08:25:59 linux NetworkManager: <info> DHCP daemon state is now 14 (normal exit) for interface eth0
./NetworkManager:May 28 08:25:59 linux NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Timeout) started...
./NetworkManager:May 28 08:26:15 linux NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
./NetworkManager:May 28 08:26:15 linux NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Timeout) complete.
./NetworkManager:May 28 08:26:15 linux NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
./NetworkManager:May 28 08:26:16 linux NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.Code: Select all
guest:/var/log # grep -rs -i -e "dhcp daemon\|Stage [1-5] of 5" .
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
./NetworkManager:May 28 14:42:47 linux NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
./NetworkManager:May 28 14:42:48 linux NetworkManager: <info> DHCP daemon state is now 12 (successfully started) for interface eth0
./NetworkManager:May 28 14:42:48 linux NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
./NetworkManager:May 28 14:42:49 linux NetworkManager: <info> DHCP daemon state is now 1 (starting) for interface eth0
./NetworkManager:May 28 14:42:55 linux NetworkManager: <info> DHCP daemon state is now 2 (bound) for interface eth0
./NetworkManager:May 28 14:42:55 linux NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) scheduled...
./NetworkManager:May 28 14:42:55 linux NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) started...
./NetworkManager:May 28 14:42:55 linux NetworkManager: <info> Retrieved the following IP4 configuration from the DHCP daemon:
./NetworkManager:May 28 14:42:55 linux NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
./NetworkManager:May 28 14:42:55 linux NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) complete.
./NetworkManager:May 28 14:42:55 linux NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
./NetworkManager:May 28 14:42:56 linux NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.Again, because I'm studying for the LPIC, I'm in need of suggestions to make the openSUSE 10.02 guest work on either intnet or vboxnet0 networks.
Any suggestions to make the 10.02 guest work greatly appreciated.
NOTE: I have reinstalled VirtualBox, recreated the 10.02 guest, reinstalled the GuestAdditions.