[xen-discuss] several questions (initiation)
David Edmondson
dme at sun.com
Mon Nov 9 09:51:17 PST 2009
On 9 Nov 2009, at 5:40pm, Tommy McNeely wrote:
> *** Next question: also in virt-manage, I tried to remove and re-add
> the network on the proper vnic, but its greyed out. I tried to add
> it with virsh, but it really doesnt like me:
>
> neoga# virsh help attach-interface
> NAME
> attach-interface - attach network interface
>
> SYNOPSIS
> attach-interface <domain> <type> <source> [<target>] [<mac>]
> [<script>] [--capped-bandwidth <string>] [--vlanid <number>]
>
> DESCRIPTION
> Attach new network interface.
>
> OPTIONS
> <domain> domain name, id or uuid
> <type> network interface type
> <source> source of network interface
> <target> target network name
> <mac> MAC address
> <script> script used to bridge network interface
> --capped-bandwidth <string> bandwidth limit for this interface
> --vlanid <number> VLAN ID attached to this interface
>
>
> neoga# virsh attach-interface neoga-test1 ethernet aggr0 --vlanid 634
> error: No support ethernet in command 'attach-interface'
>
> neoga# virsh attach-interface neoga-test1 vif aggr0 --vlanid 634
> error: No support vif in command 'attach-interface'
>
> neoga# virsh attach-interface neoga-test1 vif-vnic aggr0 --vlanid 634
> error: No support vif-vnic in command 'attach-interface'
>
> neoga# virsh attach-interface neoga-test1 vnic aggr0 --vlanid 634
> error: No support vnic in command 'attach-interface'
>
> ----- So? What do I put for type? I cant find a list of acceptable
> types in the man pages, as with disks, I am sure I am just not
> looking in the right place :)
bridge.
> *** Next question: I was able to presumably add it with "xm" but it
> doesnt look like its bridged to aggr0 anymore? The xm list -l
> doesnt have the (bridge aggr0).
> neoga# xm network-attach neoga-test1 vlanid=634
If no bridge is specified it will attempt to guess (by looking at the
output of dladm show-link).
More information about the xen-discuss
mailing list