[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Routing loop + raw IP packets : looking for clues ...
From:       Aziz Kezzou <french.linuxian () gmail ! com>
Date:       2005-05-31 11:07:48
Message-ID: 3727392705053104072e9547df () mail ! gmail ! com
[Download RAW message or body]

Hi all,
For the purpose of my project I am simpulating a 3-hop network with
QEMU on my workstation, as follows :

|---------------------------------|           
|-------------------------------|             
|-------------------------------------|
|Daemon1(user process)|---tun0---| Daemon 2 on QEMU |---tun1---|
Daemon 3 (user porcess) |
|---------------------------------|            
|-------------------------------|            
|-------------------------------------|

My workstation  is running FC3 and QEMU is running FreeBSD5.3
I am tryning to exchange raw IP packets between daemon 1 and 3 through
daemon 2. I've succeded to by pass  the system routing and get packets
sent from daemon 1 to daemon 2 and from daemon 2 to daemon 3. BUT, on
daemon 3 I can not receive them ??!!

However, when I listen with tcpdump on tun0 and tun1 I see the packets
travelling as expected :
daemon1(192.168.0.1)------>(192.168.0.2)daemon2(192.168.1.2)------>
daemon3(192.168.0.2)

What could prevent me from receiving packets intended for daemon 3? I
am suspecting some hard coded rule to prevent routing loops (which is
my case) in the Linux kernel, am I on the right track ?

Note : I disabled completely my firewalls, so this could not be the reason.

Any help is highly appreciated.

-aziz
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic