WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] manually add domU vifN.0 to bridge ?
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] manually add domU vifN.0 to bridge ?, Yang Y Yang <=