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] 2 ips on one eth-interface in xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] 2 ips on one eth-interface in xen
From: Frieder Kundel <cfreak@xxxxxxxxx>
Date: Wed, 15 Jun 2005 09:42:14 +0200
Delivery-date: Wed, 15 Jun 2005 07:38:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Hello list,

I'm using xen2.6 with a 2.6.11 kernel

my config:
kernel = "/boot/vmlinuz-2.6.11-xenU"
memory = 1280
name = "s51"
nics=1
vif = [ 'ip=82.149.232.51,mac=00:E0:81:29:71:3D' ]
disk = [ 'file:/home/xen/51/diskimage,sda1,w', 'file:/home/xen/51/swapimage,sda2,w', 'file:/home/xen/51/homeimage,sdb1,w' ]
dhcp="off"
ip="82.149.232.51"
netmask="255.255.254.0"
gateway="82.149.232.48"
hostname= "51.xen2.ckras.com"
root = "/dev/sda1"
extra = "3"

iptables -L -n
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in eth0 ACCEPT all -- 82.149.232.51 0.0.0.0/0 PHYSDEV match --physdev-in vif16.0 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vif16.0 udp spt:68 dpt:67


82.149.232.51 works (dhcp) , but 82.149.232.57 not:

in s51/etc/network/interfaces:
auto eth0:1
iface eth0:1 inet static
       address 82.149.232.57
       netmask 255.255.255.0

iptables -L -n is missing this line:
ACCEPT all -- 82.149.232.57 0.0.0.0/0 PHYSDEV match --physdev-in vif16.0

xm vif-list s51
(vif (idx 0) (vif 0) (mac 00:e0:81:29:71:3d) (vifname vif19.0) (ip 82.149.232.51) (evtchn 12 4) (index 0))

from my xen0 i can ping the .57 ip, but not from extern.


how can i create it?

Frieder Kundel

btw. sorry for my bad english ;)

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

<Prev in Thread] Current Thread [Next in Thread>