Skip to content
Gaurav kumar edited this page Jun 21, 2021 · 10 revisions

Routing Protocol Based on switch processing delay and remaining bandwidth of links

How packet send from source node to destination node

steps involve

  1. Host sends an ARP request (who is the destination) For finding mac-address.
  2. When ARP reply comes to the host start sending data packets. 
  3. When a switch gets an ARP request from the host switch sends a fake ARP reply with a fake mac-address.
  4. When a switch get data packets switch calculate next hop(using Dikstra) and outport of the switch and insert a flow_mod so that the next packets 
     can easily flow from the switch.
  5. When a packet reaches destination switch. Switch check table where mac-address of destination host is present or not. if mac-address is not present then switch broadcast ARP request.
  6. When a switch get ARP request switch check ethernet src mac if src mac is not fake mac then only switch reply otherwise switch drop ARP-request 

Routing- Matrix

Parameters

  1. Switch processing Delay
  2. Remaining Bandwidth of link

Calculation of distance matrix

Fake ARP

Fake ARP Reply

When a host try to send a tcp packet to destination host first send ARP request message to switch. Switch reply with a fake ARP packet using a fake mac-address

ARP Request

When a packet reaches the destination switch. Switch create check the IP mac table if mac address is not present in the table then switch broadcast arp request.

Clone this wiki locally