why linux bridge learns source mac from lldp packetsDoes Linux virtual bridge support VLAN's?Understand Linux...
Reorder a matrix, twice
String whitespaces
How to realistically describe pain?
Algorithm that generates orthogonal vectors: C++ implementation
Beyond Futuristic Technology for an Alien Warship?
Do wheelchair-accessible aircraft exist?
How to justify getting additional team member when the current team is doing well?
Received a package but didn't order it
Neural Network vs regression
Subverting the emotional woman and stoic man trope
How can this Stack Exchange site have an animated favicon?
End a command question
Why weren't the Death Star plans transmitted electronically?
Medic abilities
Duplicate Tuples in two different ways
Designing a time thief proof safe
Intheritance at package visibility in Java
I cannot take my Macbook Pro 2015 in my Aegean/Lufthansa flight?
Windows 10 deletes lots of tiny files super slowly. Anything that can be done to speed it up?
When did Unix stop storing passwords in clear text?
What exactly did this mechanic sabotage on the American Airlines 737, and how dangerous was it?
Highest Density Interval for the measure of central tendency
I reverse the source code, you reverse the input!
How to deal with a PC being played as homophobic?
why linux bridge learns source mac from lldp packets
Does Linux virtual bridge support VLAN's?Understand Linux kernel virtual bridge port numberingPackets not moving through linux ethernet bridgebridge-routing and martian packetslinux bridge cannot send packets, TX packets counter equals 0How do I force packet go through specific physical interface knowing destination MAC only?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
when an LLDP packet is received, linux bridge adds the source mac to FDB.
In function br_handle_frame(),
case 0x0E: /* 802.1AB LLDP */
fwd_mask |= p->br->group_fwd_mask;
if (fwd_mask & (1u << dest[5]))
goto forward;
*pskb = skb;
__br_handle_local_finish(skb);
return RX_HANDLER_PASS;
__br_handle_local_finish() updates FDB with the packet's source mac.
My question is: is it required by any protocol or other components to have this mac in FDB? Why is it being added?
linux-kernel bridge
New contributor
add a comment
|
when an LLDP packet is received, linux bridge adds the source mac to FDB.
In function br_handle_frame(),
case 0x0E: /* 802.1AB LLDP */
fwd_mask |= p->br->group_fwd_mask;
if (fwd_mask & (1u << dest[5]))
goto forward;
*pskb = skb;
__br_handle_local_finish(skb);
return RX_HANDLER_PASS;
__br_handle_local_finish() updates FDB with the packet's source mac.
My question is: is it required by any protocol or other components to have this mac in FDB? Why is it being added?
linux-kernel bridge
New contributor
add a comment
|
when an LLDP packet is received, linux bridge adds the source mac to FDB.
In function br_handle_frame(),
case 0x0E: /* 802.1AB LLDP */
fwd_mask |= p->br->group_fwd_mask;
if (fwd_mask & (1u << dest[5]))
goto forward;
*pskb = skb;
__br_handle_local_finish(skb);
return RX_HANDLER_PASS;
__br_handle_local_finish() updates FDB with the packet's source mac.
My question is: is it required by any protocol or other components to have this mac in FDB? Why is it being added?
linux-kernel bridge
New contributor
when an LLDP packet is received, linux bridge adds the source mac to FDB.
In function br_handle_frame(),
case 0x0E: /* 802.1AB LLDP */
fwd_mask |= p->br->group_fwd_mask;
if (fwd_mask & (1u << dest[5]))
goto forward;
*pskb = skb;
__br_handle_local_finish(skb);
return RX_HANDLER_PASS;
__br_handle_local_finish() updates FDB with the packet's source mac.
My question is: is it required by any protocol or other components to have this mac in FDB? Why is it being added?
linux-kernel bridge
linux-kernel bridge
New contributor
New contributor
New contributor
asked 30 mins ago
akpakp
1
1
New contributor
New contributor
add a comment
|
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
akp is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f543167%2fwhy-linux-bridge-learns-source-mac-from-lldp-packets%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
akp is a new contributor. Be nice, and check out our Code of Conduct.
akp is a new contributor. Be nice, and check out our Code of Conduct.
akp is a new contributor. Be nice, and check out our Code of Conduct.
akp is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f543167%2fwhy-linux-bridge-learns-source-mac-from-lldp-packets%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown