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

Error on mininet example demp.py #108

Open
Frankdal opened this issue Dec 18, 2023 · 1 comment
Open

Error on mininet example demp.py #108

Frankdal opened this issue Dec 18, 2023 · 1 comment

Comments

@Frankdal
Copy link

Idk if it was only a my issue but the two examples of command to add entries to the table to forward packets among h1 and h2 did not working :
-s1.cmd("nikss-ctl table add pipe 0 ingress_tbl_fwd id 1 key {} data {}".format(h2.MAC(), socket.if_nametoindex("s1-eth3")))
-s1.cmd("nikss-ctl table add pipe 0 ingress_tbl_fwd id 1 key {} data {}".format(h1.MAC(), socket.if_nametoindex("s1-eth2"))) , i added manually with (examples) :

  • s1 nikss-ctl table add pipe 0 ingress_tbl_fwd action id 1 key 00:04:00:00:00:01 data 9
  • s1 nikss-ctl table add pipe 0 ingress_tbl_fwd action id 1 key 00:04:00:00:00:02 data 10
@adsfljk
Copy link

adsfljk commented Apr 26, 2024

Adding the word action to s1.cmd works for me.

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

No branches or pull requests

2 participants