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-users

[Top] [All Lists]

Re: [Xen-users] Re: (vif-route) DomU IP troubles beyond Dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: (vif-route) DomU IP troubles beyond Dom0
From: Piers Dawson-Damer <piersdd@xxxxxxxxxxxxx>
Date: Wed, 5 Apr 2006 13:25:41 +1000
Delivery-date: 2006年4月04日 20:26:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D549B1C4-D7F1-4515-86F5-D402A79F147D@xxxxxxxxxxxxx>
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>
References: <BA6D5C8B-BE3F-4A60-9A0F-EA203DE0123E@xxxxxxxxxxxxx> <D549B1C4-D7F1-4515-86F5-D402A79F147D@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dumbo.  There is no bug in multi-homed Dom0 as I was searching for.  I simply neglected to MASQ the Dom0s effectively.
Further to my advice for other Gentooists.  This Relates more specifically to those who wish to use Dom0s as DMZs, and route to local lan via eth0 and net via eth1 (pppoe).

the sys-apps/iproute package was emerged.
I changed the line in /etc/xen/scriptes/vif-route that refers to Dom0's IP address.  Now all the Dom0 vifX.0 /32 IPs have an IP address independent of eth0.

#/etc/xen/scriptes/vif-route
<snip>
#main_ip=$(dom0_ip)
main_ip=10.64.0.254

Dom0 net config
# /etc/conf.d/net
modules=( "iproute2" )
# Gigabit LAN
config_eth0=( "10.1.0.254/16" )
# PPPoE
config_eth1=( "adsl")
adsl_user_eth1="mango30"

DomU net config
#/etc/conf.d/net
modules=(       "iproute2" )
config_eth0=(   "10.64.0.1 peer 10.64.0.254" )

routes_eth0=(   "10.1.0.0/16 dev eth0"
                "10.64.0.0/24 via 10.64.0.254"
                "default via 10.64.0.254 dev eth0  mtu 1492"
)


On 01/04/2006, at 11:26 AM, Piers Dawson-Damer wrote:

Hello again,
 As it would have it, the routing is OK. The (a) problem was with my DSL router, not knowing the existence of the internally routed Xen network. A static link on the router did the trick.  As for the MacOS X 10.4.5 computers not responding to ping? who knows.

 The vifname= problem/bug persists though.
The interface works fine, there is just no sign of it in xentop.
I wonder if shorewall can specify interfaces my MAC address?

Nevertheless, for any other gentooists out there who may be interested, these are the Xen configs I used. USE & CFLAGS are on my previous post.

Dom0:
 - grub (with manual kernel compilation, no initrd, root on normal partition)
default 1
timeout 15

title=Gentoo Linux (2.6.15-gentoo-r1) [Genkernel]
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.15-gentoo-r1 root=/dev/ram0 init=/linuxrc real_root=/dev/sda2 dolvm2
initrd /initramfs-genkernel-x86-2.6.15-gentoo-r1

title=Gentoo Xen 3 (9029-r2) Linux (2.6.12-xen-r3)
root(hd0,0)
kernel /xen.gz dom0_mem=131072 physdev_dom0_hide=(00:04.0)(00:04.1)(00:06.0)(02:02.0) ro loopback.nloopbacks=1
module /vmlinuz-2.6.12.6-xen0 udev dolvm2 root=/dev/sda2 ro

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-users] Random MAC addresses in Xen , Alan Murrell
Next by Date: [Xen-users] console access to non root xen 3.0 , Szalai Ferenc
Previous by Thread: [Xen-users] Re: (vif-route) DomU IP troubles beyond Dom0 , Piers Dawson-Damer
Next by Thread: [Xen-users] routing in xen 3.0: icmp gets routed, but tcp/ip only partially , Peter Fokkinga
Indexes: [Date] [Thread] [Top] [All Lists]

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

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