Message boards : CMS Application : Setting VM's network adapter to Bridge instead of NAT
Message board moderation

To post messages, you must log in.

AuthorMessage
Proger

Send message
Joined: 25 Jan 06
Posts: 2
Credit: 1,028,943
RAC: 194
Message 44185 - Posted: 23 Jan 2021, 21:27:48 UTC

Hello,

tl,dr; how to force Bridge over NAT as default VM network adapter ?

I had a lot of failure with CMS app, until I figure out the issue : network. The machine where I want to run CMS doesnt have a gateway (ip of the router), everything goes through a squid proxy with only whitelisted domains allowed (a kind of paranoid security config).

Altough CMS app detects the squid proxy, it uses alot of direct connect attempts while initializing afaik... thus failing in my current computer.

I managed to change the network adapter config from NAT to Bridge (while Boinc was turned off) and then everything seemed fine for the CMS VM (much faster start, computing working, etc). But i need to overwatch Boinc activity, because any new CMS task will revert to a NAT ethernet adapter.

Is there an xml somewhere that could forcefully mount the VM network adapter in Bridge mode ?
ID: 44185 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jun 08
Posts: 1824
Credit: 123,726,388
RAC: 85,728
Message 44186 - Posted: 23 Jan 2021, 22:00:36 UTC - in response to Message 44185.  

This can't be configured.
The network settings are set to NAT by vboxwrapper and the options you request are hardwired.

You should ask your network/squid admin for permission to run BOINC apps and to change the squid/firewall configuration accordingly.
ID: 44186 · Report as offensive     Reply Quote

Message boards : CMS Application : Setting VM's network adapter to Bridge instead of NAT


©2021 CERN