Skip to content
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

Routing Loop Detected #34

Open
hgn opened this issue Nov 2, 2017 · 8 comments
Open

Routing Loop Detected #34

hgn opened this issue Nov 2, 2017 · 8 comments
Assignees
Labels

Comments

@hgn
Copy link
Member

hgn commented Nov 2, 2017

The following pattern is triggered by executing make promotion. This should never occur, and it was the last time triggered in the beginning of DMPR, mmmh

Destination Router is not connected
forward [highest-bandwidth]    8 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
forward [highest-bandwidth]   20 ->   25
forward [highest-bandwidth]   25 ->   24
forward [highest-bandwidth]   24 ->   20
drop packet, ttl 0
@hgn hgn added the bug label Nov 2, 2017
@reisub-de
Copy link
Contributor

I can't reproduce this right now, which python version/distro?

@hgn
Copy link
Member Author

hgn commented Nov 3, 2017

Yes, I saw it once on the PC next by me. Is the seed somehow configurable? I mean on this local box here it is reproducable, because the seed seems identical for all runs. Probably:

seed=random()
for infty:
   run_simu()
   if loop: break;

I mean by hand ...

@reisub-de
Copy link
Contributor

Yeah, it always uses the same seed to be reproducible, the seed can be given as parameter random_seed_prep and random_seed_runtime in dmprsim/analyze/promo.py#L36

@hgn
Copy link
Member Author

hgn commented Nov 3, 2017

probably the way to trigger this bug, iterating over ...

@reisub-de
Copy link
Contributor

reisub-de commented Nov 3, 2017

Well, the random behavior depends on the python version ^^, so I would need that ;)

Also, this is probably no bug, just a temporary routing loop which is inevitable when there are moving nodes, it should clear up after a while

@hgn
Copy link
Member Author

hgn commented Nov 3, 2017

It clears up, but I think this MUST be avoided. In real life it will blow up the link until TTL reaches zero. So let it be there for now but I am really skeptical that it can be there in the final version somehow ...

@reisub-de
Copy link
Contributor

It can't be avoided on the dmpr level, maybe somehow in iptables/nftables

@hgn
Copy link
Member Author

hgn commented Nov 3, 2017

Mhh, let's move this topic to some later releases[TM] for now ... ;.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants