Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network configuration issues #44

Open
dirk-hedlund opened this issue Jun 22, 2017 · 1 comment
Open

Network configuration issues #44

dirk-hedlund opened this issue Jun 22, 2017 · 1 comment

Comments

@dirk-hedlund
Copy link

It seems I can add networking to a VM, only to a physical NIC (NIC 0) on the host. If the NICs are bonded (Bond 0+1), no network interface is installed on the VM. I also could not get it to work with VLAN networks (VLAN10). Instead, I get this error "'conv2value': Wrong type NilClass, Not allowed" (RuntimeError)"

Also, if I try to assign a static IP address, the address is ignored. I don't get an error, but the interface continues to use DHCP.

config.vm.network "public_network", bridge: "xenbr0" # Works, only NIC 0
config.vm.network "public_network", bridge: "xenbr0: Bond 0+1" # Produces error
config.vm.network "public_network", bridge: "xenbr0: 'Bond 0+1'" # Produces error
config.vm.network "public_network", bridge: "xenbr0: NIC 1" # Produces error
config.vm.network "public_network", bridge: "xenbr0", ip: 10.0.0.50" # No error, but ignores static IP and configures via DHCP, anyway.

@voglster
Copy link

i dont know about bonding... but i will say this... if you want it to use another network... try xenbr1, xenbr2
i used xenapi to query whats coming from the xmlrpc endpoint and each bridge gets a unique identifier...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants