Router Implementation

Router Implementation
Slide Note
Embed
Share

This project discussion focuses on the implementation of a router. It covers details regarding the setup, configuration, and testing of the router for optimal performance. The participants will exchange ideas, troubleshoot issues, and share insights on maximizing the router's functionality within a network environment.

  • Router
  • Implementation
  • Project
  • Discussion
  • Configuration

Uploaded on Mar 05, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Router Implementation Project-2 DISCUSSION NOVEMBER 17, 2014 CSE 123-FALL 2014

  2. Topology The skeleton and dependencies of the project have been setup in a VM for your convenience. VM has the network topology and the allows your router implementation to talk with the network topology.

  3. Overview What your routing logic needs to do Route Ethernet frames between the Internet (the myth cluster) and the HTTP servers Handle ARP request and replies Handle traceroutes Generate TTL Exceeds Message Handle TCP/UDP packets sent to one of the routers' interfaces Generate ICMP Port Unreachable Respond to ICMP echo requests Maintain an ARP cache Respond to ICMP echo requests Maintain an ARP cache See webpage for full requirements

  4. Getting Started Load the virtual machine disk image into your favourite VMM. Eg: VMWare Player, VirtualBox, VMWare fusion etc. Username/Password is mininet/mininet. Start Mininet and POX. Two steps to get the infrastructure up and running ./cse123-p2/run_mininet.sh ./cse123-p2/run_pox.sh Build and execute router make clean make ./sr Check packet flow with wireshark Expected output

  5. ARP Flow Chart Receive Raw Ethernet Frame Receive Raw Ethernet Frame It's an IP packet It's an IP packet It's an ARP packet It's an ARP packet Reply to me Request to me Cache it, go through my request queue and send outstanding Cache it, go through my request queue and send outstanding packets packets Construct an ARP reply and send it Construct an ARP reply and send it back back

  6. IP Flow Chart

  7. Coding Advice sr_protocol.h ip header def sr_ethernet_hdr def hdr_icmp_t def arp header def Protocol Resolution definitions Sr_if.c sr_get_interfaces sr_add_interface sr_set_ether_addr (set to the last interface in the interface list) sr_set_ether_ip Print funcs for debugging

  8. Questions?

Related


More Related Content