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

Question about "sim0" in dce-quagga-ospfd.cc #138

Open
watalou opened this issue Dec 16, 2022 · 0 comments
Open

Question about "sim0" in dce-quagga-ospfd.cc #138

watalou opened this issue Dec 16, 2022 · 0 comments

Comments

@watalou
Copy link

watalou commented Dec 16, 2022

  • ns3 version : 3.34
  • DCE version: 1.11
  • Operating system/version (lsb_release -a): Ubuntu 16.04.7 LTS
  • Libc version (ldd -v): ldd (Ubuntu GLIBC 2.23-0ubuntu11.3) 2.23
  • compiler version : 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)

Description of the problem

In the examle script "../dce/source/ns-3-dce/myscripts/ns-3-dce-quagga/example/dce-quagga-ospfd.cc", there is a line of code:

AddAddress (nodes.Get (0), Seconds (0.1), "sim0", "10.0.0.1/24");

which means to run command "ip -f inet addr add 10.0.0.2/24 dev sim0", right?
My question is: where is the dev "sim0" defined?

Thanks in advance!

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

1 participant