Skip to content

Update topology.json#718

Open
klondi wants to merge 1 commit intop4lang:masterfrom
klondi:patch-1
Open

Update topology.json#718
klondi wants to merge 1 commit intop4lang:masterfrom
klondi:patch-1

Conversation

@klondi
Copy link

@klondi klondi commented Feb 18, 2026

The static arp tables in the hosts use the wrong MAC addresses for the routers using 01:00 and 02:00 for router 1 and 03:00 and 04:00 for router 2.

If we check the runtime topologies we can see that router 1 has 01:00, router 2 has 02:00, router 3has 03:00 and router 4 has 04:00.

Update the host configuration so the MAC address on their packets matches the expected address for the specific router.

The static arp tables in the hosts use the wrong MAC addresses for the routers using 01:00 and 02:00 for router 1 and 03:00 and 04:00 for router 2.

If we check the runtime topologies we can see that router 1 has 01:00, router 2 has 02:00, router 3has 03:00 and router 4 has 04:00.

Update the host configuration  so the MAC address on their packets matches the expected address for the specific router.

Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondi@users.noreply.github.com>
@github-actions
Copy link

Welcome to the project, @klondi!

It looks like this is your first contribution. We noticed the DCO (Developer Certificate of Origin) check might fail if your commits aren't signed.

To fix this, please ensure every commit has a Signed-off-by: Name <email> line. You can do this automatically by using the -s flag:
git commit -s -m "Your message"

For existing commits, you can fix them with:
git commit --amend --signoff or git rebase -i HEAD~N --signoff (where N is the number of commits)
The Developer Community DCO guide also provides helpful tips on fixing DCO inconveniences. Setting a commit hook in the git repository will automate adding the DCO signoff.
See https://github.com/p4lang/governance/wiki/P4-DCO-Guidelines for information.

@jafingerhut
Copy link
Collaborator

It is fairly common to configure routers with different MAC addresses on different ports. It is also common to configure routers with the same MAC address on different ports.

Given those facts, the current configuration isn't actually a bug, is it? It is simply a configuration that maybe not everyone is familiar with.

@jafingerhut
Copy link
Collaborator

It is fairly common to configure routers with different MAC addresses on different ports. It is also common to configure routers with the same MAC address on different ports.

Given those facts, the current configuration isn't actually a bug, is it? It is simply a configuration that maybe not everyone is familiar with.

Actually, I might be wrong that it is also common to configure routers with the same MAC address on different ports. That might actually be an unusual and potentially error-prone configuration. Not certain.

Regardless of the correct answer to that question, it is definitely common to configure different MAC addresses on different ports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments