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

Re: [Xen-users] Bridging + NAT

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Bridging + NAT
From: Laurent Pointal <laurent.pointal@xxxxxxxx>
Date: Fri, 10 Feb 2006 11:05:31 +0100
Delivery-date: Fri, 10 Feb 2006 10:17:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43EB50A0.5010305@xxxxxxxx>
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: <43EB50A0.5010305@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
Yet another test...

On domU:
========

melodie:~# route del default gw 192.168.21.11
melodie:~# route add default eth1
melodie:~# route -n
Kernel IP routing table
Destination     Gateway Genmask         Flags Metric Ref    Use Iface
129.175.152.252 0.0.0.0 255.255.255.255 UH    0      0        0 eth1
192.168.21.254  0.0.0.0 255.255.255.255 UH    0      0        0 eth0
192.168.21.0    0.0.0.0 255.255.255.0   U     0      0        0 eth0
192.168.21.0    0.0.0.0 255.255.255.0   U     0      0        0 eth1
129.175.152.0   0.0.0.0 255.255.248.0   U     0      0        0 eth0
0.0.0.0         0.0.0.0 0.0.0.0         U     0      0        0 eth1

melodie:~# apt-get update
Err ftp://debian.ens-cachan.fr stable/main Packages
  Could not connect to debian.ens-cachan.fr:21 (138.231.176.11). -
connect (113 No route to host)
Err ftp://debian.ens-cachan.fr stable/main Release
  Could not connect to debian.ens-cachan.fr:21 (138.231.176.11). -
connect (113 No route to host)
Err http://security.debian.org stable/updates/main Packages
  Could not connect to security.debian.org:80 (128.101.80.133). -
connect (113 No route to host) [IP: 128.101.80.133 80]
Err ftp://debian.ens-cachan.fr stable/main Sources
  Could not connect to debian.ens-cachan.fr:21 (138.231.176.11). -
connect (113 No route to host)
Err ftp://debian.ens-cachan.fr stable/main Release
  Could not connect to debian.ens-cachan.fr:21 (138.231.176.11). -
connect (113 No route to host)
Err http://http.us.debian.org stable/main Packages
  Could not connect to http.us.debian.org:80 (64.50.238.52). - connect
(113 No route to host) [IP: 64.50.238.52 80]
0% [Connecting to http.us.debian.org (128.101.80.133)] [Connecting to
security.d




And corresponding tcpdump on dom0:
==================================

psaume:~# tcpdump  -i vif1.1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vif1.1, link-type EN10MB (Ethernet), capture size 96 bytes
11:00:36.147902 arp who-has klecker.debian.org tell 192.168.21.11
11:00:36.155867 arp who-has debian-mirror.cs.umn.edu tell 192.168.21.11
11:00:36.156858 arp who-has webb.ens-cachan.fr tell 192.168.21.11
11:00:37.147778 arp who-has klecker.debian.org tell 192.168.21.11
11:00:37.147779 arp who-has debian-mirror.cs.umn.edu tell 192.168.21.11
11:00:37.147795 arp who-has webb.ens-cachan.fr tell 192.168.21.11
11:00:38.147716 arp who-has klecker.debian.org tell 192.168.21.11
11:00:38.147716 arp who-has debian-mirror.cs.umn.edu tell 192.168.21.11
11:00:38.147717 arp who-has webb.ens-cachan.fr tell 192.168.21.11
11:00:39.157652 arp who-has tartini.debian.org tell 192.168.21.11
11:00:39.157653 arp who-has mirrors1.kernel.org tell 192.168.21.11
11:00:39.157672 arp who-has webb.ens-cachan.fr tell 192.168.21.11
11:00:40.157584 arp who-has tartini.debian.org tell 192.168.21.11
11:00:40.157585 arp who-has mirrors1.kernel.org tell 192.168.21.11
11:00:40.157601 arp who-has webb.ens-cachan.fr tell 192.168.21.11
11:00:41.157517 arp who-has tartini.debian.org tell 192.168.21.11
11:00:41.157518 arp who-has mirrors1.kernel.org tell 192.168.21.11
11:00:41.157535 arp who-has webb.ens-cachan.fr tell 192.168.21.11
11:00:42.167507 arp who-has debian-mirror.cs.umn.edu tell 192.168.21.11
11:00:42.167508 arp who-has rama.progeny.com tell 192.168.21.11
11:00:42.167509 arp who-has webb.ens-cachan.fr tell 192.168.21.11
11:00:43.167388 arp who-has debian-mirror.cs.umn.edu tell 192.168.21.11
11:00:43.167389 arp who-has rama.progeny.com tell 192.168.21.11
11:00:43.167389 arp who-has webb.ens-cachan.fr tell 192.168.21.11
11:00:44.167322 arp who-has debian-mirror.cs.umn.edu tell 192.168.21.11
11:00:44.167322 arp who-has rama.progeny.com tell 192.168.21.11
11:00:44.167323 arp who-has webb.ens-cachan.fr tell 192.168.21.11



Why doesn't packets start going throught domU eth1 ???



-- 
Laurent POINTAL
CNRS-LIMSI dépt. CHM, groupes AMI et PS
Courriel: laurent.pointal@xxxxxxxx    (prof)
          laurent.pointal@xxxxxxxxxxx (perso)
Ouebe: http://www.limsi.fr/Individu/pointal/
Tél. 01 69 85 81 06 (prof)
Fax. 01 69 85 80 88



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

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