[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] manually add domU vifN.0 to bridge ?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Yang Y Yang" <teddyyyy123@xxxxxxxxx>
  • Date: Sun, 18 Feb 2007 14:31:03 -0800
  • Delivery-date: Sun, 18 Feb 2007 14:30:33 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=j9u5YTbc9VimI9OHwp6KW01W1938EKvXmu7LPRQp9MqT/RV+UcVdupjjat0DU9pZZ4opM+Gs16EgkdbfLuMqokeifVgbzp2oKQzSr4Ko5ueIB9hZYjCsa/SEZUprf6Hkd3RJnH4esf9gN6YpogPW2XGqNpp2o1TIB7fRpq29lAM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

hi fellow XEN-users:
     I have been trying hard to get this problem fixed, hope I can get some help here. Thanks in advance for your time.

     I have a typical dom0 + domU XEN setup. after I start xend and network-bridge, I get the default network setup, ,
    
    peth0 --------  bridge -------------------------------------------------------
                        |                                          |
                      vif0.0                                   vif2.0
                        |                                          |
                       eth0                                    eth0

    the problem is, dom2 eth0 has a XEN MAC address, but our department does not allocate DHCP address to machines they don't own,
so I need to assign my own local IP address to dom2. so I decided to create a private network that connects dom0 and dom2,while still allowing dom0 to access internet. i.e. I want:

peth0 ------------bridge ---------------------------------------------------------------------------------------------
                        |                                    |                   |
                      vif0.0                            vif0.1              vif2.0
                        |                                    |                   |
                       eth0                              veth1          eth0
 
what I did is :
 /etc/init.d/xend start
/etc/xen/scripts/network-bridge start

  brctl addif  xenbr0  vif0.1
  ifconfig veth1 192.168.0.1 arp
 
xm console 2
(now in dom2)
ifconfig eth0 192.168.0.10 arp

then from dom0  I tried to ping dom2 card by "ping 192.168.0.10 ", but no responses,
also failure on the other direction,
this still fails after several minutes, (I guess allowing arp to work ?)

where I am doing wrong?
Thanks a lot
Yang
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.