-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(port): change TRUNK to ACCESS #156
Conversation
Codecov Report
@@ Coverage Diff @@
## main #156 +/- ##
=======================================
Coverage 75.00% 75.00%
=======================================
Files 5 5
Lines 1012 1012
=======================================
Hits 759 759
Misses 218 218
Partials 35 35 |
Please take the below change, the build should pass.
|
Fixes opiproject#104 Signed-off-by: Boris Glimcher <[email protected]>
Signed-off-by: Boris Glimcher <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual changes from TRUNK to ACCESS look OK.
Please consider my detailed comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need also to change the diagramm here @venkatmahalingam ?
https://github.com/opiproject/opi-evpn-bridge/blob/main/docs/OPI-EVPN-Leaf1-Detailed-View.png
docker-compose.yml
Outdated
ip rule add from 50.50.50.50 lookup 1002 | ||
ip route add default via 50.50.50.1 dev eth1.50 table 1002 | ||
ip route add default via 50.50.50.1 dev eth1 table 1002 | ||
arp -s 50.50.50.1 aa:bb:cc:00:00:51 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this arp entry on the arp table of host1 related to the mac addr of the GW ip ?
If yes why this is necessary ? Static arp entries should not be needed the host 1 should arp for the GW mac address automatically
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We dont need this anymore, please refer my above reply.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am curious why this is not happening with the Trunk case and only access case. I mean how the bridges on the host are reacting when they see packets with vlan tags on them taking into account that those bridges have no vlan configuration ? Do they drop the packets or they forward the packet based on the MAC dest ignoring the vlan tag ? Because I am curious how the virtual env works coreclty for trunk cases and only have problems for access case.
@venkatmahalingam ^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed static ARP ef000a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mardim91 I'll check and get back for your questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, @glimchb Please create issues for this and Jan's comment "It's a bit hard to correlate the bridge ports named "eth1" and "eth2" with the interfaces "eth0" and "eth1" of the opi-test container. Could you align those to make it easier to understand?" comment? |
Signed-off-by: Boris Glimcher <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Fixes #104
Signed-off-by: Boris Glimcher [email protected]