ip routing n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
IP Routing PowerPoint Presentation
play fullscreen
1 / 145

IP Routing

146 Views Download Presentation
Download Presentation

IP Routing

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. IP Routing

  2. Router • A Router is a physical device used to connect two different network (LAN), check their destination in Routing Table and transmit the message to the required LAN • Work on logical address (IP) • Maintain routing table • Select best path • Layer 3 device • Connect different network • Backbone on internet • Packet filtering • Packet routing • It is denoted by symbol X

  3. Interface • E0 – Ethernet • S0 – Serial Interface 0 • S1 – Serial Interface 1 DCE DTE DCE – DATA COMMUNICATION EQUIPMENT(CLOCK RATE) DTE – DATA TERMINAL EQUIPMENT

  4. HOW TO LOGIN IN ROUTER Start Program  Accessories  Communication  HyperTerminal

  5. Router Modes • User exec mode:-> Router> • Privilege exec mode:-> Router# • Global Configuration Mode:-> Router(config)# • Other Configuration Mode:-> Router(config-if)# Router(config-line)# Router(config-router)# • Rx-boot Mode:-> It is used in password recovery. • Initial Configuration Mode:-> Setup mode

  6. USER EXEC MODE • IT is represented by router>. • Minimal examination of the router. • No change will take place. router>enable router#

  7. PRIVILAGE EXEC MODE • It is represented by router #. • Detail examination of the router & troubleshooting. router#config t {t=terminal} router(config)#

  8. GLOBAL CONFIGURATION MODE • It is represented by router(config)#. • Configuration means router programming. • Change the router name router(config)#hostname GIT GIT(config)#

  9. OTHER CONFIGURATION MODE • It is represented by router(config-if)# router(config-line)# router(config-router)# router(config)#interface ethernet 0 router(config-if)# router(config)#line console 0 router(config-line)# router(config)#router rip router(config-router)#

  10. INDEX • Static Routing • Default Routing • Dynamic Routing • RIP • IGRP • EIGRP • OSPF

  11. IP ROUTING • Static Routing • Static Routing occurs when you manually add routes in each routers routing table • Default Routing • We use default routing to send packets only one exit path out of the network • Dynamic routing • Dynamic routing is when protocols are used to find networks.

  12. Static Routing GIT Family

  13. STATIC ROUTE • A static route is a manually configured route on your router. Static routers are typically used in smaller network. • To configure a static route, use one of the two commands: Router(config)# Ip route Distination_networkSubnet_maskIp_address_of_next_neighbor Or Router(config)# Ip route Distination_networkSubnet_maskInterface_to_exit

  14. 20.0.0.1 Router-1 20.0.0.2 Router-2 X X S1 S0 E0 30.0.0.1 10.0.0.1 E0 30.0.0.2 10.0.0.2

  15. Router-1 Enable Config t Hostname Router1 Int e0 ip address 10.0.0.1 255.0.0.0 no shut Int s0 ip address 20.0.0.1 255.0.0.0 no shut clock rate 64000 Exit Ip route 30.0.0.0 255.0.0.0 20.0.0.2

  16. Router-2 Enable Config t Hostname Router2 Int e0 ip address 30.0.0.1 255.0.0.0 no shut Int s1 ip address 20.0.0.2 255.0.0.0 no shut Exit Ip route 10.0.0.0 255.0.0.0 20.0.0.1 Exit Show ip route

  17. Configure Router 1 from PC1

  18. Set IP Address to PC 1

  19. Enable Config t Hostname rt1 Int e0 Ip address 10.0.0.1 255.0.0.0 No shut

  20. int s0 ip address 20.0.0.1 255.0.0.0 no shut

  21. ip route 30.0.0.0 255.0.0.0 20.0.0.1

  22. int s0 clock rate 64000

  23. exit exit show run

  24. copy running-config startup-config (for saving configuration)

  25. CONFIGURE ROUTER-2 AND PC2

  26. SET PC2 IP ADDRESS

  27. enable config t hostname rt2 int e0 ip address 30.0.0.1 255.0.0.0 no shut

  28. int s1 ip address 20.0.0.2 255.0.0.0 no shutdown

  29. int s1 ip address 20.0.0.2 255.0.0.0 no shutdown exit ip route 10.0.0.0 255.0.0.0 20.0.0.2 exit

  30. show running-config

  31. To check the connectivity from router ping 10.0.0.1 ping 10.0.0.2 ping 20.0.0.1 ping 20.0.0.2 ping 30.0.0.1

  32. Default Routing

  33. Default Routing • We use default routing to send packets only one exit path out of the network like Router-1 and Router-3. In Router-2 there are two exit path. IP ROUTE 0.0.0.0 0.0.0.0 20.0.0.1 Router-1 Router-2 Router-3 X X X

  34. Dynamic Routing

  35. Routing Protocol • There are three types of routing protocol • Distance Vector • Link State • Hybrid

  36. Routing Protocol • DistancevectorProtocol • Complete routing table send for route update • Exp – RIP, IGRP • Link State Protocol • Only change (through hello packet) send for route update • Exp - OSPF • HybridProtocol • Both feature Distance Vector & Link State • Exp - EIGRP

  37. RIP ROUTING INFORMATION PROTOCOL

  38. RIP • ROUTING INFORMATION PROTOCOL • Distance Vector Routing Protocol • Update Routing Table - Every 30 Sec. • Max Hop count - 15 • Class full

  39. 20.0.0.1 Router-1 20.0.0.2 Router-2 X X S1 S0 E0 30.0.0.1 10.0.0.1 E0 30.0.0.2 10.0.0.2

  40. Set IP Address to PC1 • Winipcfg • IP Address – 10.0.0.2 • Subnet – 255.0.0.0 • Gateway – 10.0.0.1

  41. Set IP Address to PC2 • Winipcfg • IP Address – 30.0.0.2 • Subnet – 255.0.0.0 • Gateway – 30.0.0.1

  42. Router-1 Enable Config t Hostname Router1 Int e0 ip address 10.0.0.1 255.0.0.0 no shut Int s0 ip address 20.0.0.1 255.0.0.0 no shut clock rate 64000 Exit Router rip network 10.0.0.0 network 20.0.0.0

  43. Router-2 Enable Config t Hostname Router2 Int e0 ip address 30.0.0.1 255.0.0.0 no shut Int s1 ip address 20.0.0.2 255.0.0.0 no shut Exit Router rip network 20.0.0.0 network 30.0.0.0

  44. Router-1 Router-2 Router-3 20.0.0.1 20.0.0.2 40.0.0.2 40.0.0.1 X X X S1 S0 S0 S1 E0 E0 E0 30.0.0.1 50.0.0.1 10.0.0.1 30.0.0.2 10.0.0.2 50.0.0.2

  45. Set IP Address to PC1 • Winipcfg • IP Address – 10.0.0.2 • Subnet – 255.0.0.0 • Gateway – 10.0.0.1

  46. Set IP Address to PC2 • Winipcfg • IP Address – 30.0.0.2 • Subnet – 255.0.0.0 • Gateway – 30.0.0.1

  47. Set IP Address to PC3 • Winipcfg • IP Address – 50.0.0.2 • Subnet – 255.0.0.0 • Gateway – 50.0.0.1