How many port does each router have #255
Unanswered
thekioskman
asked this question in
[Project Q&A] 3. Internet Layer (IP/Routing)
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From my understanding we can use ipv4_t routerIP = *getIPAddr(); to get the IP of whichever router is connected to a given port and we can get the linkcost of that router via the LinkCost() function in the same way. But how many ports does each router have? How do we know when we are done looping through ports? Are neighbors connected to ports in sequential order?
Beta Was this translation helpful? Give feedback.
All reactions