Full table for 1A
Dest line hops
1A 1B 1C 2A 2B 2C 2D 3A 1B 1C 1B 1B 1B 1B 1C 1 1 2 3 3 4 3
Hierarchical table for 1A
Dest Line hops
1A 1B 1C 2 3 4 5
1B 1C 1B 1C 1C 1C
1 1 2 2 3 4
3B
4A 4B 4C 5A 5B 5C 5D 5E
2/8/2013
1C
1C IC 1C 1C 1C 1B 1C 1C
2
3 4 4 4 5 5 6 5
Hierarchical Routing
2
Routing For Mobile Hosts
Users
Stationary Users
Migratory Users
Roaming Users
Mobile Users
2/8/2013
Routing for Mobile Hosts
3
Network designers View of the world
Wireless Cell
Home Agent
Mobile Host
Home LAN
Foreign Agent
WAN
Foreign LAN
MAN
2/8/2013
Routing for Mobile Hosts
4
Terminology
Areas: Small geographical units typically LAN’S or WIRELESS Foreign Agent: Keeps track of all the mobile users visiting the area. Home Agent: Keeps track of users whose home is in the area but currently visiting another area.
2/8/2013
Routing for Mobile Hosts
5
Registration Process of a Mobile User
Mobile Host Foreign Agent Home Agent
Asks for FA
Register
1 2
Contacts Examines timestamp present the in the security information
Registered/ Not
Ack to proceed/stop
1
Home address, current DLL address & security information Foreign Agents Network address & security information
Routing for Mobile Hosts
6
2 2/8/2013
Packet Routing for Mobile Users
Mobile User 3 4 Users Home Address Home Agent 2 1
Foreign Agent
1. Packet is sent to the mobile hosts home address.
2. Packet is tunneled to the foreign agent.
3. Sender is given the foreign agent’s address. 4. Subsequent packets are tunneled to the foreign agent.
2/8/2013
Routing for Mobile Hosts
7
Broadcast Routing
Sending packets to all destinations simultaneously. Various methods for broadcasting: 1. Separately addressed packets. 2. Flooding 3. Multidimensional routing. 4. Spanning tree. 5. Reverse path forwarding.
2/8/2013
Broadcast Routing
8
1. Separately Addressed Packets
Source sends a packet to each of the destination. Disadvantage:
Wastage of bandwidth. Source needs to know the complete list of destinations.
2/8/2013
Broadcast Routing
9
2. Flooding
In this technique, source sends packets on all its outgoing lines. Disadvantage:
Generates too many packets Bandwidth consumption is more.
2/8/2013
Broadcast Routing
10
3. Multi-destination routing
In this method each packet contains either a list of destinations or a bit map indicating the desired destination.
Packet arrives
R
Out going lines
2/8/2013
Broadcast Routing
11
4. Spanning Tree
A spanning tree is a subset of the subnet that includes all the routers but contains no loops.
Spanning Tree
Advantage: 1. Makes excellent use of bandwidth 2. Minimum number of packets are generated Disadvantage: Each router must have some knowledge of the spanning tree.
2/8/2013
Broadcast Routing
14
5. Reverse Path Forwarding
In this method, the router forwards only the packets that have traveled the shortest path from source to router, all other copies are discarded.Shortest Path
Packet is discarded
Arrival R Departure Departure Arrival Departure
2/8/2013
Packet is Forwarded
R
Not the shortest path
Broadcast Routing
15
Multicasting
A technique in which messages are sent to well defined groups which are numerically large in size but small compare to the network as a whole.
2/8/2013
Multicast Routing
16
A Subnet
1
2 1,2 2 2
Spanning tree for the leftmost 1 router 2 1,2 2 2
1,2
1,2
1
1
1
1 1 2 2 2 2
Multicast tree for group 1
2 1 1
Multicast tree for group 2 1
2
1
2/8/2013
1
Multicast Routing
1
1
17
Pruning of spanning tree
The following 2 ways can be used: