[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Interdomain routing problem


  • To: Xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Robert Hulme <rob@xxxxxxxxxxxx>
  • Date: Thu, 8 Sep 2005 23:33:21 +0100
  • Delivery-date: Thu, 08 Sep 2005 22:31:55 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PDss8arQNmVjz0RwoNJa4DsuMbjrAJa1ES8GGJdaSgfUF3lOdRJQTAA/mBEGsNQ5rzbgY8opzi99AgFlRIhGZSiF9EYQNZE/WKhcMLDNnOmEsYy2UkGcDbczgI2oUlLyAS0c6jnL7raUSYQkmAcDkWcddcRAHmaRui9ibiMNwEA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Could someone please help? I'm trying to setup a 'simulation network'
where there are two domains A and B with 3 'routers' between them.

I have tried the following:
xmclient:~# ifconfig eth0 10.0.1.1 
xmclient:~# route add -net 10.0.4.0 netmask 255.255.255.0 dev eth0

xmrouter1:~# ifconfig eth0 10.0.1.254
xmrouter1:~# ifconfig eth1 10.0.2.1
xmrouter1:~# route add -net 10.0.4.0 netmask 255.255.255.0 dev eth1

xmrouter2:~# ifconfig eth0 10.0.2.254
xmrouter2:~# route add -net 10.0.1.0 netmask 255.255.255.0 dev eth0
xmrouter2:~# ifconfig eth1 10.0.3.1
xmrouter2:~# route add -net 10.0.4.0 netmask 255.255.255.0 dev eth1

xmrouter3:~# ifconfig eth0 10.0.3.254
xmrouter3:~# route add -net 10.0.1.0 netmask 255.255.255.0 dev eth0
xmrouter3:~# ifconfig eth1 10.0.4.1

xmserver:~# ifconfig eth0 10.0.4.254
xmserver:~# route add -net 10.0.1.0 netmask 255.255.255.0 dev eth0


Where in A is xmclient and B is xmserver. What I expect to happen is
now that xmclient and xmserver can talk to one another, and that
packets will merrily hop from xmclient -> xmrouter1 -> xmrouter2 ->
xmrouter3 -> xmserver and backwards...

When I ping I get...

xmserver:~# ping 10.0.1.1
PING 10.0.1.1 (10.0.1.1) 56(84) bytes of data.
64 bytes from 10.0.1.1: icmp_seq=1 ttl=64 time=0.579 ms
64 bytes from 10.0.1.1: icmp_seq=2 ttl=64 time=0.184 ms
64 bytes from 10.0.1.1: icmp_seq=3 ttl=64 time=0.153 ms
64 bytes from 10.0.1.1: icmp_seq=4 ttl=64 time=0.169 ms 

--- 10.0.1.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.153/0.271/0.579/0.178 ms                 

All good and hunkey dorey so far :-P

Now to check on the hopping...

xmserver:~# traceroute 10.0.1.1
traceroute to 10.0.1.1 (10.0.1.1), 30 hops max, 38 byte packets
 1  10.0.1.1 (10.0.1.1)  0.215 ms  5.151 ms  0.180 ms         

Ah... only one hop, not what I expected...

What have I done wrong? Is it a general networking mistake I've made
in my thinking here or is there some kind of xen magic happening where
xen knows it can route from xmserver to xmclient and so doesn't do all
the intermediate hops I have tried to put in place? If so how can I
prevent that?

Muchos gracias!
-Rob

-- 
------------------------------------------------------
Fran: Do you know that in Tibet when they want something they give
something away?
Bernard: Do they? That must be why they're such a dominant global power. 
    -- Black Books

http://www.robhulme.com/
http://robhu.livejournal.com/

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.