Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 6 IP Routing. Basic information When you configure interface of a node with IP and mask, the node will know the network corresponding to that.

Similar presentations


Presentation on theme: "Chapter 6 IP Routing. Basic information When you configure interface of a node with IP and mask, the node will know the network corresponding to that."— Presentation transcript:

1 Chapter 6 IP Routing

2 Basic information When you configure interface of a node with IP and mask, the node will know the network corresponding to that IP and mask, so that it can reach all nodes in the same network. The node cannot reach another node in other networks without doing the following: For PCs define G.W For Routers define route

3 Routing Types Static routing (defined by administrator) Dynamic routing (protocols defined on router) Dynamic RoutingStatic Routing Easier to be implemented.Hard to be implemented in large and complex network. Requires no or simple knowledge in many cases. Requires knowledge about networks setup, both logical and physical. Less secure.More secure. Consumes CPU of routers and bandwidth. Does not consume CPU of routers and bandwidth.

4 ADRoute Source Default 0Connected interface 1Static route 90EIGRP 100IGRP 110OSPF 120RIP 170External EIGRP 255 (this route will never be used)Unknown

5 Router(config)#ip routing Router(config)#ip route Destination Mask NEXT HOP ADDRESS(0) AD permanent or MY EXIT INTERFACE(1) Router(config)#ip route 192.168.40.0 255.255.255.0 192.168.20.2 Router(config)#ip route 192.168.40.0 255.255.255.0 serial 0 Router(config)#ip route 192.168.40.0 255.255.255.0 192.168.20.2 permanent Router(config)#ip route 192.168.40.0 255.255.255.0 192.168.20.2 115 Static Routing 192.168.10.0/24 192.168.20.0/24192.168.40.0/24 192.168.30.0/24 f0.2 s0.1 s0/0.2 s0/1.1 f0/0.1

6 Default Route Router(config)#ip classless (enabled by default in versions 12.x) Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.20.2 Router(config)#ip default-network 192.168.20.0 Viewing Information In CISCO Router Router#sh ip route Router#sh ip arp In PC C:\>route print C:\>arp -a

7 192.168.10.0/24 192.168.20.0/24192.168.40.0/24192.168.60.0/24 192.168.30.0/24192.168.50.0/24192.168.70.0/24.3.4 1700A1700B2600A25002600B.2 f0.2 f0.1 s0.1 s1.1 s0/0.2 s0/0.2 s0.2 s0/1.1 f0/0.1 f0/0.1 e0.1 Setup #1: Contiguous (Classful)

8 172.16.16.0/20 172.16.32.0/20172.16.64.0/20172.16.96.0/20 172.16.48.0/20172.16.80.0/20 172.16.112.0/20.3.4 1700A1700B2600A25002600B.2 f0.2 f0.1 s0.1 s1.1 s0/0.2 s0/0.2 s0.2 s0/1.1 f0/0.1 f0/0.1 e0.1 Setup #2: Contiguous (Classless)

9 172.16.16.0/20 172.16.32.0/28172.16.64.0/28172.16.96.0/28 172.16.48.0/20172.16.80.0/20 172.16.112.0/20.3.4 1700A1700B2600A25002600B.2 f0.2 f0.1 s0.1 s1.1 s0/0.2 s0/0.2 s0.2 s0/1.1 f0/0.1 f0/0.1 e0.1 Setup #3: VLSM

10 172.16.16.0/20 10.0.0.0/8 192.168.25.0/24 12.0.0.0/8 172.16.48.0/20172.16.80.0/20 172.16.112.0/20.3.4 1700A1700B2600A25002600B.2 f0.2 f0.1 s0.1 s1.1 s0/0.2 s0/0.2 s0.2 s0/1.1 f0/0.1 f0/0.1 e0.1 Setup #4: Discontiguous

11 Interior Gateway Protocols IGP Ex terior Gateway Protocols EGP (Ex: Boarder Gateway Protocol BGP) Dynamic Routing Protocols IGP EGP To view Routed Protocols Router#sh protocols To view Routing Protocols Router#sh ip protocols Autonomous System 1Autonomous System 2

12 Interior Gateway Protocols Distance Vector: (RIP, IGRP) Link State (OSPF, IS-IS) Hybrid (EIGRP) Distance Vector Sends Full Route Table periodically, no matter there is update in routes or not. Distance Vector is associated with some problems, they are: Slow convergence. Inconsistence route (route by rumor). Route loop.

13 Routing Information Protocol (RIP) Open standard R.P Distance vector R.P Use simple metric = hop count Max hop count = 15 (16 is inaccessible) AD = 120 “R” in Route Table 10.16.0.0/12 10.32.0.0/12 192.168.25.0/24 Router(config)#router rip Router(config-router)#network 10.0.0.0 Router(config-router)#network 192.168.25.0 Router#clear ip route *

14 Redistribute Static 192.168.10.0/24 200.200.200.0/24 200.200.210.0/24 200.200.220.0/24 172.16.0.0/16 RB(config)#ip route 172.16.0.0 255.255.0.0 192.168.10.1 RB(config)#router rip RB(config-router)#network 200.200.200.0 RB(config-router)#network 200.200.210.0 RB(config-router)#redstribute static RB.1.2 RA RC RD

15 Passive-Interface 2600B(config-router)#passive-interface s0/0 172.16.16.0/20 172.16.32.0/20172.16.64.0/20172.16.96.0/20 172.16.48.0/20172.16.80.0/20 172.16.112.0/20.3.4 1700A1700B2600A25002600B.2 f0.2 f0.1 s0.1 s1.1 s0/0.2 s0/0.2 s0.2 s0/1.1 f0/0.1 f0/0.1 e0.1

16 Debugging RIP Router#debug ip rip To debug remote (telnet) router you need to use the command: Router#terminal monitor Router#undebug ip rip Router#no debug ip rip Router#undebug all Router#no debug all

17 172.16.16.0/20 172.16.32.0/28172.16.64.0/28172.16.96.0/28 172.16.48.0/20172.16.80.0/20 172.16.112.0/20.3.4 1700A1700B2600A25002600B.2 f0.2 f0.1 s0.1 s1.1 s0/0.2 s0/0.2 s0.2 s0/1.1 f0/0.1 f0/0.1 e0.1 Setup #3: VLSM

18 172.16.16.0/20 10.0.0.0/8 192.168.25.0/24 12.0.0.0/8 172.16.48.0/20172.16.80.0/20 172.16.112.0/20.3.4 1700A1700B2600A25002600B.2 f0.2 f0.1 s0.1 s1.1 s0/0.2 s0/0.2 s0.2 s0/1.1 f0/0.1 f0/0.1 e0.1 Setup #4: Discontiguous

19 RIPv1 vs RIPv2 RIPv2RIPv1 Classless R.PClassful R.P Use multicast 224.0.0.9Use Broadcast in sending update Supports VLSM & DiscontiguousDoes not support VLSM & Discontiguous AuthenticationNo authentication Auto-summery can be disabled (ON by default) Auto-summery cannot be disabled To enable RIPv2 Router(config)#router rip Router(config-router)#version 2 To disable auto-summery in RIPv2 Router(config-router)#no auto-summery

20 RIPv1 vs RIPv2 Both versions have: Same metric and hop count Same AD Router(config-router)#distance Same number of paths to be load balanced (4 by default/ 6 maximum) Router(config-router)#maximum-paths 6 Same timers: Update interval: 30 sec. Invalid interval: 180 sec. (6*update) Holddown interval: 180 sec. (6*update) Flush interval: 240 sec. (8*update) Router(config-router)#timers basic 30 180 180 240

21 Interior Gateway Routing Protocol (IGRP) Cisco Prorietary R.P Distance vector R.P Classful R.P Cannot support VLSM & discontiguous networks AD = 100 “I” in Route Table Use composite metric (B.W, Reliability, Delay, Load, MTU) Inaccessible max metric is {(2^32)-1} or 4294967295 Max. hops 255 (100 by default) Used within one autonomous system (AS 1~65535) 10.16.0.0/12 10.32.0.0/12 192.168.25.0/24 Router(config)#router igrp 10 Router(config-router)#network 10.0.0.0 Router(config-router)#network 192.168.25.0

22 IGRP timers: Update interval 90 sec. Invalid interval 270 sec. (3*update) Holddown interval 280 sec. (3*update+10) Flush interval 630 sec. (630*update) Router(config-router)#timers basic 90 270 280 630 Router(config-router)#metric-maximum hops 255 Router(config-router)#maximum-paths 6 Router(config-router)#distance 100 Router(config-router)#redistribute static Router(config-router)#passive-interface

23

24 Debugging IGRP Router#debug ip igrp events Interior: Same AS, directly connected System: Same AS, indirectly connected Exterior: Other AS Router#debug ip igrp transactions Shows requests from neighbor routers and the broadcasts sent from your router.

25

26 Solutions to Distance Vector Problems Maximum Hop Count Split Horizon Route Poisoning Triggered Update


Download ppt "Chapter 6 IP Routing. Basic information When you configure interface of a node with IP and mask, the node will know the network corresponding to that."

Similar presentations


Ads by Google