From: Patrick Nagel <mail@patrick-nagel.net>
To: bridge@lists.osdl.org
Subject: [Bridge] Man-in-the-middle scenario within vmware - problem
Date: Sun, 10 Dec 2006 19:09:27 +0100 [thread overview]
Message-ID: <200612101909.39202.mail@patrick-nagel.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]
Hi there,
I'm trying to set up a man-in-the-middle scenario within a VMWare Workstation
team, using brctl. What I want is the following:
PC1 eth0 >---LAN-segment-1---< eth0 PCMITM eth1 >---LAN-segment-2---< eth0 PC2
Now I did the following on PCMITM (PC man in the middle):
ifconfig eth0 down
ifconfig eth1 down
brctl addbr lnxbr0
brctl addif lnxbr0 eth0
brctl addif lnxbr0 eth1
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
ifconfig lnxbr0 up
All commands exit successfully and I get eth0, eth1 and lnxbr0 listed in
ifconfig.
brctl show says:
bridge name bridge id STP enabled interfaces
lnxbr0 8000.000c296df055 no eth1
eth0
which also seems alright to me.
But now the problem: although PC1 and PC2 are in the same IP subnet (addresses
192.168.222.1 and 192.168.222.2), a ping doesn't pass the bridge. By
starting "ping pc2" on PC1 and "ping pc1" on PC2, I ensure that both machines
are transmitting data frequently, and thus should show up in "brctl
showmacs", but
brctl showmacs lnxbr0 says:
port no mac addr is local? ageing timer
1 00:0c:29:6d:f0:55 yes 0.00
2 00:0c:29:6d:f0:5f yes 0.00
2 00:0c:29:97:e3:a6 no 0.14
So there is one NIC missing - that one of PC1.
Does anyone have an explanation? I don't know what could be wrong in my setup,
I don't even know where to start... Any help is appreciated.
By the way: The LAN segments within VMWare seem to be working. If I give each
NIC on PCMITM an IP address (with no bridge on PCMITM), I can transfer data
from PC1 to PCMITM (and vice versa) and from PC2 to PCMITM (and vice versa).
Patrick.
--
Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2006-12-10 18:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-10 18:09 Patrick Nagel [this message]
2006-12-13 18:14 ` [Bridge] Man-in-the-middle scenario within vmware - problem Stephen Hemminger
2006-12-13 20:26 ` Patrick Nagel
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=200612101909.39202.mail@patrick-nagel.net \
--to=mail@patrick-nagel.net \
--cc=bridge@lists.osdl.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