From: Seweryn Niemiec <ser@man.szczecin.pl>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] [PROBLEM] mac address learned on wrong port
Date: Tue, 26 Apr 2016 15:38:13 +0200 [thread overview]
Message-ID: <571F6F45.7070000@man.szczecin.pl> (raw)
Hi,
On one of my servers, the most basic thing doesn't work and after 2 days of
unsuccessful digging in my severs and the Internet, I'm desperate enough to
write to this list :)
Ubuntu server with kernel 3.19.0-33-generic #38~14.04.1-Ubuntu has p2p1.17
physical interface attached to bri17 bridge. When I start some LXC container, it
creates for ex. vethPQORXD interface and adds it to bri17 bridge. It looks like
this:
# brctl show bri17
bridge name bridge id STP enabled interfaces
bri17 8000.00163eaaaa30 no p2p1.17
vethPQORXD
LXC container's eth0 interface (linked to vethPQORXD) has mac 00:16:3e:aa:aa:66.
When I add IP do this eth0 and ping something to generate eth frame, that mac is
learned on p2p1.17 port instead of vethPQORXD:
# brctl showmacs bri17
port no mac addr is local? ageing timer
1 00:16:3e:aa:aa:66 no 112.50
[... some other macs ...]
1 3c:fd:fe:01:ee:e0 yes 0.00
1 3c:fd:fe:01:ee:e0 yes 0.00
2 fe:56:74:59:a4:9e yes 0.00
2 fe:56:74:59:a4:9e yes 0.00
Of course it makes communication of outside world with that container impossible
(host<->container works).
Any ideas why this happens?
--
Best regards,
Seweryn Niemiec
next reply other threads:[~2016-04-26 13:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 13:38 Seweryn Niemiec [this message]
2016-04-26 16:49 ` [Bridge] [PROBLEM] mac address learned on wrong port Stephen Hemminger
2016-04-27 13:17 ` Seweryn Niemiec
2016-04-27 19:37 ` Stephen Hemminger
2016-04-29 12:03 ` Seweryn Niemiec
2016-05-09 11:12 ` Seweryn Niemiec
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=571F6F45.7070000@man.szczecin.pl \
--to=ser@man.szczecin.pl \
--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