VBox + AnyConnect VPN problem
Posted: 30. Jan 2017, 11:21
After switching from a Salix 14.2 32-bits VM to a 64-bits VM I started facing networking problems.
Despite the network (configured as NAT -- default on VBox) works fine for some time, it suddenly stops working. Running netconfig or changing the MAC address and deleting /etc/udev/rules.d/70-persistent-net.rules didn't solve the issue. Changing network adapter type Bridge solves the problem, but only until the VM is rebooted.
And for some reason the 32-bits VM on the same host doesn't show any problem.
The strangest part is that restoring a snapshot of the VM where the network was fine shows the VBox message "The network connection has been disconnected.", and then the $HOSTNAME reverts to default hostname (darkstar.example.net). The /etc/HOSTNAME and /etc/hosts also return to the default content.
I found a workaround in Cisco Support Community and superuser:
But it took me a few days in order to realize the problem was triggered by the Cisco AnyConnect VPN client.
Hopefully posting this here will make it easier for other Salix users who face this issue.
Despite the network (configured as NAT -- default on VBox) works fine for some time, it suddenly stops working. Running netconfig or changing the MAC address and deleting /etc/udev/rules.d/70-persistent-net.rules didn't solve the issue. Changing network adapter type Bridge solves the problem, but only until the VM is rebooted.
And for some reason the 32-bits VM on the same host doesn't show any problem.
The strangest part is that restoring a snapshot of the VM where the network was fine shows the VBox message "The network connection has been disconnected.", and then the $HOSTNAME reverts to default hostname (darkstar.example.net). The /etc/HOSTNAME and /etc/hosts also return to the default content.
I found a workaround in Cisco Support Community and superuser:
Code: Select all
VBoxManage modifyvm "VM name" --natdnshostresolver1 on
Hopefully posting this here will make it easier for other Salix users who face this issue.