Skip to content

Network configuration issues #44

@dirk-hedlund

Description

@dirk-hedlund

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions