lab course routerlab
play

Lab Course RouterLab VLAN, Routing Information Protocol - PowerPoint PPT Presentation

Lab Course RouterLab VLAN, Routing Information Protocol Miscellaneous Your feedback on work sheet 1? Don't reserve more time than you need! Check that inferfaces are no shutdown Lab -k if devices not accessible


  1. Lab Course „RouterLab“ VLAN, Routing Information Protocol

  2. Miscellaneous ❒ Your feedback on work sheet 1? ❒ Don't reserve more time than you need! ❒ Check that inferfaces are „no shutdown“ ❒ Lab -k if devices not accessible ❍ Please terminate a session ... ❒ Router XXX-rj1 require password ❍ Login: root ❍ Password: router

  3. Virtual LAN (VLAN)

  4. Definitions ❒ LAN ❍ broadcast domain ❍ Hubs or switches „connect“ different LAN segments ❍ Ethernet ❒ Virtual LAN (VLAN) ❍ Group of devices can communicate with each other as if they were on the same LAN ❍ configured on switches (and routers)

  5. VLAN Example

  6. Port-based VLANs ❒ Each switchport ❍ can be assigned to a VLAN ❍ accepts incoming traffic from a specific VLAN ❍ forwards packets to ports that belong to same VLAN ❒ Configuration ❍ (config-if) switchport access vlan <vlan-id> ❍ (config-if) switchport mode access

  7. Importance of Native VLANs Trunking

  8. Trunking (802.1Q) ❒ Needed if multiple VLANs on same link ❒ Switch ❍ (config-if) switchport trunk encapsulation dot1q ❍ (config-if) switchport trunk allowed vlan 500,501 ❍ (config-if) switchport mode trunk ❒ Subinterface on Cisco, e.g., f0/0.100 ❍ (config-subif) encapsulation dot1Q <vlan_id> ❒ Extra unit on Juniper ❍ vlan-tagging ❍ unit 500 {vlan-id 500}

  9. RIP (Routing Information Protocol)

  10. Routing Algorithm classification Global or decentralized Static or dynamic? information? Static: Global: ❒ routes change slowly ❒ all routers have complete over time topology, link cost info Dynamic: ❒ “link state” algorithms ❒ routes change more Decentralized: quickly ❒ router knows physically- ❍ periodic update connected neighbors, link ❍ in response to link costs to neighbors cost changes ❒ iterative process of computation, exchange of info with neighbors ❒ “distance vector” algorithms

  11. RIP (Routing Information Protocol) ❒ Distance vector algorithm ❒ Included in BSD-UNIX Distribution in 1982 ❒ Distance metric: # of hops (max = 15 hops) ❒ RFC 2453

  12. Distance Vector Routing Decentralized algorithm: ❒ router knows its neighbors and link costs to neighbors ❒ iterative computation, exchange of info with neighbors Bellman-Ford Equation (dynamic programming) Define d x (y) := cost of least-cost path from x to y Then d x (y) = min {c(x,v) + d v (y)} v where min is taken over all neighbors v of x

  13. Distance Vector Algorithm Iterative, Each node: asynchronous: ❒ each local iteration wait for (change in local link caused by: cost of msg from neighbor) ❍ local link cost change ❍ DV update message from neighbor recompute estimates Distributed: ❒ each node notifies if Distance Vector to any neighbors only when its dest has changed, notify Distance Vector changes neighbors ❍ neighbors then notify their neighbors if necessary

  14. Distance Vector: link cost changes Link cost changes: ❒ good news travels fast ❒ bad news travels slow

  15. „Good news travel fast“ 1 y 4 1 z x 50 node y table cost to cost to cost to x y z x y z x y z x x x from from 1 from y 4 0 1 y 1 0 1 y 1 0 1 z 5 1 0 z 5 1 0 z 2 1 0 node z table cost to cost to cost to x y z x y z x y z x x x from from from y 4 0 1 y 1 0 1 y 1 0 1 2 z 5 1 0 z 5 1 0 z 2 1 0 time

  16. Bad news: Count-to-Infinity 60 y 4 1 z x 50 node y table cost to cost to cost to x y z x y z x y z x x x from from 6 from 8 y 4 0 1 y 6 0 1 y 6 0 1 count z 5 1 0 z 5 1 0 z 7 1 0 to node z table cost to cost to cost to infinity x y z x y z x y z ... x x x from from from y 4 0 1 y 6 0 1 y 6 0 1 7 z 5 1 0 z 5 1 0 z 7 1 0 time

  17. RIP advertisements ❒ Distance vectors: exchanged among neighbors every 30 sec via Response Message (also called advertisement) ❒ Each advertisement: list of up to 25 destination nets within AS

  18. How to avoid Count-to- Infinity ❒ Split Horizon ❍ Don't announce route to neighbor from which route learned ❒ Split Horizon with Poisoned Reverse ❍ in addition: say that a route is not reachable ❒ Triggered Updates ❍ After metric change: send update immediately

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend