On 06/28/10 10:54 AM, Alasdair Lumsden wrote:
[..]
I've tried doing as you suggested, removing the etherstub and attaching
the vnic directly to the bridged physical interface:

# dladm show-link
LINK        CLASS     MTU    STATE    BRIDGE     OVER
bnx0        phys      1500   up       xenbridge  --
bnx1        phys      1500   up       xenbridge  --
xenbridge0  bridge    1500   up       --         bnx0 bnx1
xvm1_0      vnic      1500   up       --         bnx0

# cat vm.xml
*snip*
     <interface type='bridge'>
       <mac address='00:16:3e:8b:42:ff'/>
       <source bridge='bnx0'/>
       <script path='/usr/lib/xen/scripts/vif-vnic'/>
       <target dev='vif-1.0'/>
       <vlan id='1257' />
     </interface>

Unfortunately no traffic seems to flow from the VM to the outside world,
although tcpdump in the VM does show some external traffic (such as ARP
requests).

If I remove bnx0 from the bridge with "dladm add-bridge -l bnx0
xenbridge", ping packets start flowing again. As soon as I add bnx0 back
to the bridge, ping packets stop.

What is the output of 'dladm show-bridge -l xenbridge'
when you notice ping not working? Can you snoop on the
link in forwarding state (if it is not bnx0) to see if packets
are flowing from the vm? Could you also test w/o specifying
the vlan id for the vnic used by the vm?

Rishi
_______________________________________________
crossbow-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss

Reply via email to