All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: Antonio Di Bacco <antonio.dibacco@aruba.it>
Cc: netfilter@lists.netfilter.org
Subject: Re: PtP not working
Date: Sun, 21 May 2006 13:20:51 +0200	[thread overview]
Message-ID: <44704D13.3060305@rtij.nl> (raw)
In-Reply-To: <200605201730.52334.antonio.dibacco@aruba.it>

Antonio Di Bacco wrote:

>Anyone could explain this?
>
>Two linux systems connected:
>
>System A     <=========> System B
>                   eth0                    eth0
>
>Each system ha the following config:
>
># routing enabled
>net.ipv4.ip_forward=1
>
>#ethernet with no address associated and NOARP set
>eth0      Link encap:Ethernet  HWaddr 08:00:3E:26:24:65
>          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>          RX packets:1306 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:1325 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:732864 (715.6 KiB)  TX bytes:61643 (60.1 KiB)
>          Base address:0x3c00
>
># Routing table
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>10.10.10.10     *               255.255.255.255 UH    0      0        0 eth0
>
>
>I'm on System A and try to ping 10.10.10.10 but no answer. Where is the 
>problem?
>  
>

Which system has 10.10.10.10? None. So how can any system answer? Even 
if there was a 10.10.10.10, you disabled the arp mechanism, so you can 
never find out where it is. Finaly, for the return packets exactly the 
same problem occurs.

If you want to make a point to point connection over ethernet:
- Either just configure a subnet there.
- Or:
  - Assign addresses to the interfaces (can be the same address as 
another interface on the same box)
  - Create static arp addresses for the other box
  - Create routes as above for the address of the other box

I think you will still have to enable arp for this to work, in which 
case you can skip the static arp entries.

HTH,
M4




  reply	other threads:[~2006-05-21 11:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 15:30 PtP not working Antonio Di Bacco
2006-05-21 11:20 ` Martijn Lievaart [this message]
2006-05-21 12:36   ` Antonio Di Bacco
2006-05-21 12:38   ` Antonio Di Bacco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44704D13.3060305@rtij.nl \
    --to=m@rtij.nl \
    --cc=antonio.dibacco@aruba.it \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.