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] network-nat/vif-nat question

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] network-nat/vif-nat question
From: Andrew Pogrebennyk <andrew.nau.ua@xxxxxxxxx>
Date: Mon, 21 Aug 2006 18:56:56 +0300
Delivery-date: Tue, 22 Aug 2006 01:47:29 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=ieBMCLs5Jtz3skuIWY5QgWrQNuD4AxCQLPmB7B9VREbLSjb5rsX1XeAb161GY8siB5i4guDq2ZItE0uay07nuyPvuE5pl6QNMHLtGFsMP28wq9bVIwdr53DfHNa+xtXjoCK27P8dSd1NKPt2llh0XlnggggAcN8WTZYMX5QJlW4=
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>
Reply-to: andrew.nau.ua@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060713)
Hello,

After unsuccessful attempts to configure DomU to obtain IP address from
dhcpd on Dom0 listening on xenbr0 I have followed these instructions for
network configuration:
http://www.howtoforge.com/perfect_setup_xen3_debian_p6. I have Dom0
Debian Etch + DomU Debian Etch.

/etc/xen/xend-config.sxp has the following lines:
(network-script network-nat)
(vif-script     vif-nat)

And here is DomU configuration:
name="vm01"
kernel = "/boot/vmlinuz-2.6.16-2-xen-k7"
ramdisk = "/boot/initrd.img-2.6.16-2-xen-k7"
root="/dev/sda1"
memory=128
disk=['file:/xen/debian/vm01.img,sda1,w','file:/xen/debian/vm01-swap.img,sda2,w']
# network
vif = [ 'ip=10.0.0.1' ]
dhcp="off"
ip="10.0.0.1"
netmask="255.0.0.0"
gateway="10.0.0.254"
hostname="vm01.mydomain.com"
extra="3"

/etc/network/interfaces from DomU:
auto lo
iface lo inet loopback
        address 127.0.0.1
        netmask 255.0.0.0
auto eth0
iface eth0 inet static
        address 10.0.0.1
        netmask 255.0.0.0
        gateway 10.0.0.128
        hostname vm01.mydomain.com

I have made gateway="10.0.0.128" when I saw that vifX.0 is being
assigned this address during DomU startup. After DomU boots it can ping
DomO's public IP address, but not anything on Internet cause packets
flow to Internet with 10.0.0.1 source IP. This is same issue I have
suffered from trying to employ Dom0's dhcpd. What would you suggest?

Please CC to my private e-mail cause I am not subscribed to the list.
Thanks in advance.

-- 
Sincerely,

Andrew Pogrebennyk
PortaOne, Inc., Support Engineer
http://www.portaone.com/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] network-nat/vif-nat question, Andrew Pogrebennyk <=