From: Ray Van Dolson <rayvd@bludgeon.org>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] Bridging via vtun...
Date: Sun, 8 Mar 2009 09:40:29 -0700 [thread overview]
Message-ID: <20090308164029.GA10137@bludgeon.org> (raw)
Hi all;
I'm trying to set up a bridge between two networks using vtun on Linux.
It's almost working, but I'm running into an issue...
- Client A lives on Network A 10.27/16
- Server B lives on Network B 10.49/16
- Server B has vtun running in server mode
- Client A connects to Server B via vtun and a TAP interface is set
up on both of them.
- Server B adds this TAP interface to interface br0 which also
contains eth0 on Network B:
Server B (10.49/16)
- br0 (10.49.x.x)
eth0
tap0
Client A (10.27/16)
- eth0 (10.27.x.x)
route add -host <Server B> gw <10.27.gateway>
- tap0
I have ip_forward enabled on both hosts.
Now, if I add a 10.49/16 IP to Client A's tap0 and start tcpdump'ing on
tap0 I can see lots of ARP traffic and broadcast traffic from 10.49/16.
If I run an arping:
arping -I tap0 <Server B IP>
I get a response and a tcpdump on Server B's br0 interface shows the
traffic going back and forth.
However, when I try to reach anything else on the 10.49/16 network from
Client A, I fail. So, for example:
- Client A pings 10.49.6.46
- I observe ARP who-has requests going out over tap0
- On Server B I observe ARP who-has requests passing through br0
- On 10.49.6.46 I observe ARP who-has requests coming in and ARP
responses going back to what appears to be the correct MAC address.
- On Server B I do not see any of these ARP responses
- On Client A I do not see any of these ARP responses
I can't figure out why this is. I don't have ebtables or anything
running.... I've tried messing around with proxy ARP thinking maybe
Client A's tap0 MAC wasn't getting sent out correctly...
Some notes of interest:
- Server A is a VMware Guest
- We have catalyst switches backing everything
I'm wondering if Client A's tap0 MAC address is not getting advertised
somehow into the Catalyst Switch on 10.49/16's MAC table?
Anyone have any suggestions as to what I should try next? I guess
worst case I'll try and simplify the setup and remove vtun from the
equation, but maybe someone here has some advice. :-)
Thanks,
Ray
next reply other threads:[~2009-03-08 16:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-08 16:40 Ray Van Dolson [this message]
2009-03-08 21:43 ` [Bridge] Bridging via vtun Ray Van Dolson
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=20090308164029.GA10137@bludgeon.org \
--to=rayvd@bludgeon.org \
--cc=bridge@lists.linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox