Routing loop + raw IP packets : looking for clues ...

From: Aziz Kezzou (french.linuxian_at_gmail.com)
Date: 05/31/05

  • Next message: R. Tyler Ballance: "Re: RFC: if_bridge"
    Date: Tue, 31 May 2005 07:07:48 -0400
    To: freebsd-hackers <freebsd-hackers@freebsd.org>, freebsd-net <freebsd-net@freebsd.org>
    
    

    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-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: R. Tyler Ballance: "Re: RFC: if_bridge"

    Relevant Pages

    • Re: Network Packet drops in FreeBSD 5.2.1
      ... > shares a circular queue/buffer with the kernel. ... > off the front of the queue while the queue objects are populated by the ... > 11500 packets/sec, ... > on starting the daemon and upon shutting the daemon down. ...
      (freebsd-hackers)
    • Network Packet drops in FreeBSD 5.2.1
      ... shares a circular queue/buffer with the kernel. ... The daemon drains objects ... 11500 packets/sec, ... packets are being dropped/lost, top shows a ~70% idle system with peak ...
      (freebsd-hackers)
    • Re: Failover and load balancing using advanced NAT daemon
      ... > daemon like standart natd. ... Packets should be diverted into it. ... load balancing and policy routing. ...
      (freebsd-net)
    • Routing loop + raw IP packets : looking for clues ...
      ... 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 ...
      (freebsd-hackers)
    • Re: Copyright Issues
      ... Cause my spidey sense is sensing that machine being sold ... you're all thinking how much you want a daemon ... first time I've heard somebody refer to it as a "workstation". ... terms, pet names (we really, really, really don't want to do pet names ...
      (freebsd-questions)