VBox + AnyConnect VPN problem

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
mMontu
Posts: 22
Joined: 1. Jan 2017, 23:52
Location: Brazil

VBox + AnyConnect VPN problem

Post by mMontu »

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:

Code: Select all

VBoxManage modifyvm "VM name" --natdnshostresolver1 on
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.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: VBox + AnyConnect VPN problem

Post by gapan »

Thanks for posting this!
Image
Image
Post Reply