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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Setting up virtual network

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Setting up virtual network
From: Edward Middleton <edward@xxxxxxxxxxxxxxx>
Date: 2005年1月13日 14:49:11 +0900
Cc: Rick <judicator3@xxxxxxxxx>
Delivery-date: 2005年1月13日 06:01:05 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <a146ff9b050112205519257bf9@xxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: Nikon Systems Inc.
References: <a146ff9b050112205519257bf9@xxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)
===================================================
ifconfig on domain0
eth0 Link encap:Ethernet HWaddr 00:0E:A6:6B:70:CC
 inet addr:128.100.241.161 Bcast:128.100.241.255 Mask:255.255.255.0
xen-br0 Link encap:Ethernet HWaddr 00:0E:A6:6B:70:CC
inet addr:128.100.241.161 Bcast:128.100.241.255
===================================================
ifconfig on ttylinux
eth0 Link encap:Ethernet HWaddr AA:00:00:41:24:DF
 inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
To start with a bridge must be on the same network. If you look at your configuration eth0 on the domain0 is on the 128.100.241.0 network and you ttylinux is on the 10.0.0.0 network.
I want to communicate between ttylinux and domain0 So I try to assign an IP to vif1.0 on domain0 
"ifconfig vif1.0 10.0.0.1" Next I try to "ping 10.0.0.2" from domain0 and "ping 
10.0.0.1" from ttylinux.
Think of vif1.0 and eth0 in ttylinux as being the same thing. They have ip 10.0.0.2. What you want to do is remove the domain0 interface eth0 from the bridge.
brctl delif xen-br0 eth0
bring down the xen-br0 interface
ifconfig xen-br0 down
bring it up with the host interface with 10.0.0.1 ip.
ifconfig xen-br0 10.0.0.1 up
this will put your bridge interface xen-br0 on the same network as vif1.0. You should now be able to ping your ttylinux domain. next you need to setup the NAT. Use xen-br0 as though it was a real NIC interface to you LAN and all should work.
Edward Middleton
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Setting up virtual network , Rick
Next by Date: Re: [Xen-devel] Bizarre compile/link problem from minor change , Keir Fraser
Previous by Thread: [Xen-devel] Setting up virtual network , Rick
Next by Thread: [Xen-devel] xen-U CPU usage accounting , tdc
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /