Hi all!

I configured a virtual network using UML kernels and i got some problems.

My network consists of two virtual subnets and a virtual router connecting them.

first net has 192.168.0.x hosts (net0)
second net has 192.168.1.x hosts (net1)

router has eth0 = 192.168.0.1 and eth1 = 192.168.1.1
it interacts with each net via 2 virtual uml switches (uml_switch tool from 
uml_utilities tarball). thus my network looks like this (hope you understand 
that poor scheme):

 net0           uml_switch             router              uml_switch       net1
                                 eth0         eth1
192.168.0.x === /tmp/sw0 === 192.168.0.1 | 192.168.1.1 === /tmp/sw1 === 
192.168.1.x

the problem is when I ping any net1 host from any net0 host I get about 90% 
packet loss and 'tcpdump -x' started on router eth1 device shows the following 
packets (which are obviously corrupted):

07:38:44.457214 truncated-ip - 22998 bytes missing!90.90.90.90 > 90.90.90.90: 
(frag 23130:[EMAIL PROTECTED]) [tos 0x5a,ECT]
                         5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a
                         5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a
                         5a5a 0000 0000 0004 0000 0000 0002 0800
                         4500 0054 0010 4000 3f01 b828 c0a8 0190
                         c0a8 0090 0800 e8bf 9102 1000 c4fd 3444
                         83f8
07:38:45.477980 truncated-ip - 22998 bytes missing!90.90.90.90 > 90.90.90.90: 
(frag 23130:[EMAIL PROTECTED]) [tos 0x5a,ECT]
                         5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a
                         5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a
                         5a5a 0000 0000 0004 0000 0000 0002 0800
                         4500 0054 0011 4000 3f01 b827 c0a8 0190
                         c0a8 0090 0800 c36e 9102 1100 c5fd 3444
                         a649

these packets seem to be normal icmp ping requests/replies (at least according 
to their length) but with some amount of 5a5a words at the beginning!
I also noticed that such packets appear only after arp request-reply (which 
according to tcpdump works ok!)

the same packets arrive at the host being pinged (i.e. on net1 host) and there 
are no such packets on router eth0 device (there I see just normal icmp 
requests-replies). so I suppose corruption occurs somewhere between router eth1 
and net1.

the situation turns out to be symmetric (i.e. I got the same problem pinging 
net0 from net1)

I wonder could this be some bug in uml_switch util or daemon transport or smth 
else and can I fix it somehow?

I am using 2.6.13.4 UML kernels and latest version of uml_utilities.

thanks in advance,

Serge
MIPT
Moscow, Russia


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to