Question: Write a function to do forwarding in an IP router. The procedure has one parameter, an IP address. It also has access to a global
Write a function to do forwarding in an IP router. The procedure has one parameter, an IP address. It also has access to a global table consisting of an array of triples. Each triple contains three integers: an IP address, a subnet mask, and the outline line to use. The function looks up the IP address in the table using CIDR and returns the line to use as its value.
Step by Step Solution
3.41 Rating (164 Votes )
There are 3 Steps involved in it
Forwarding is simply defined as the action applied by each router when a packet arrives at one of its interfaces When a router receives a packet from one of its attached networks it needs to forward t... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1790_61d57f25d9f0b_820575.pdf
180 KBs PDF File
1790_61d57f25d9f0b_820575.docx
120 KBs Word File
