Static Routing Exercise

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 4: Routing Concepts Routing Protocols.
Advertisements

Static Routing Exercise AFNOG 2003/ Track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
Chapter 6: Static Routing
 WAN uses Serial ports  Ethernet Ports:  Straight through  Cross over.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Inter- VLAN Routing LAN Switching and Wireless – Chapter 6.
The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
Static Routing Exercise. What will the exercise involve?  Unix network interface configuration  Cisco network interface configuration  Static routes.
5: Link-Local Addresses Rick Graziani Cabrillo College
Ver 1,12/09/2012Kode :CIJ 340,Jaringan Komputer Lanjut FASILKOM Routing Protocols and Concepts – Chapter 2 Static Routing CCNA.
Static Routing Exercise Scalable Infrastructure Workshop AfNOG 2011.
Cisco 3 - Switch Perrine. J Page 15/8/2015 Chapter 8 What happens to the member ports of a VLAN when the VLAN is deleted? 1.They become inactive. 2.They.
SYSTEM ADMINISTRATION Chapter 19
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
Network Management And Debugging
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
IST 228\Ch5\IP Routing1. 2  Review of Chapter 4 Start the router simulator. You will see the prompt "Router>". This is the user mode prompt. Change the.
IP ROUTING -1 STATIC ROUTING DEFAULT ROUTING.  A routing protocol is used by routers to dynamically find all the networks in the internetwork and to.
Introduction to networking (Yarnfield) Introduction to routing.
Host-based Internetworking, Tuesday, 15 June ´99 INET ‘99 Network Training Workshop 1/11 IP Forwarding With Cisco Routers Lab Exercises.
1 16-Aug-15 Static Routing CCNA Exploration Semester 2 Chapter 2.
Introduction to networking (Yarnfield) Introduction to routing.
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
CISCO NETWORKING ACADEMY Chabot College ELEC IP Routing Protocol Highlights.
1 Routing Introduction to Routing Static Routing.
CCNA – Cisco Certified Network Associates Routing and Static Routes By Roshan Chaudhary Lecturer Islington College.
Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration u Static routes u Default route u Testing.
1 Routing. 2 Routing is the act of deciding how each individual datagram finds its way through the multiple different paths to its destination. Routing.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
1 Data Forwarding Basic Router Configuration. Overview In this session, we sill be looking at  Review : router backplane Ethernet, console and serial.
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
OSPF “Magic” Exercise We will use a “quick and dirty” configuration to make OSPF work with minimal configuration. DO NOT do this on your production network.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
SW REVERSE JEOPARDY Chapter 1 CCNA2 SW Start-up Routing table Routing table Router parts Router parts Choosing a path Choosing a path Addressing Pot.
Enabling Port Security
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Routing and Routing Protocols
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 9 Basic Router Troubleshooting.
Static Routing Exercise Mark Tinka & Isatou Jah. What will the exercise involve?  Unix network interface configuration  Cisco network interface configuration.
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
Static Routing Exercise AFNOG 2002 / track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
1 9-Feb-16 S Ward Abingdon and Witney College Static Routing CCNA Exploration Semester 2 Chapter 2.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 9 Basic Router Troubleshooting.
 Router Configurations part2 2 nd semester
CHAPTER 6: STATIC ROUTING Static Routing 2 nd semester
Static Routing Routing Protocols and Concepts – Chapter 2.
Cisco I Introduction to Networks Semester 1 Chapter 6 JEOPADY.
ROUTING AND ROUTING TABLES 2 nd semester
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Static Routing CCNA Routing and Switching Semester 2 Chapter 6
Chapter 4: Routing Concepts
IP Routing using Packet Tracer Simulator
Chapter 4: Routing Concepts
Introduction to Networking
Chapter 2: Static Routing
Introduction to Networking
Chapter 2: Static Routing
OSPF “Magic” Exercise We will use a “quick and dirty” setup to make OSPF work with minimal configuration. WARNING DO NOT do this on your production network.
Chapter 2: Static Routing
Routing Protocols and Concepts – Chapter 2
Static Routing 1st semester
OSPF “Magic” Exercise We will use a “quick and dirty” setup to make OSPF work with minimal configuration. WARNING DO NOT do this on your production network.
Static Routing 2nd semester
Presentation transcript:

Static Routing Exercise Mark Tinka & Nishal Goburdhan

What will the exercise involve? Unix network interface configuration Cisco network interface configuration Static routes Default route Testing

Routing Routing is done based on destination IP address Without routing, interface can only reach destinations via ARP Cannot reach a destination on another separate network without going through an intermediate device A device with at least 2 interfaces can route

Routing Static routes dynamic routes default routes specifically instructs router on which route to take to a particular destination network dynamic routes learnt via routing protocols implemented on routers default routes route that instructs a machine where to send packets for destinations that are not in the routing table

Static Routing Advantages Disadvantages Simple to configure and maintain Secure as only defined routes can be accessed Bandwidth is not used for sending routing updates Disadvantages Manual update of routes after changes Explicit addition of routes for all networks Potential for configuration mistakes.

IP Routing Configuration Static/default route example To Internet 172.16.3.2 172.16.2.2 172.16.1.0 255.255.255.0 172.16.3.1 172.16.2.1 ip route 172.16.1.0 255.255.255.0 172.16.2.1 - STATIC ip route 0.0.0.0 0.0.0.0 172.16.3.1 - DEFAULT

Classroom Network Layout B F E I G D H J Router PC HUB SWITCH

Address Assignments A C E I G B F D H J 196.200.220.0/28 SWITCH .1 .3 196.200.220.16/28 196.200.220.48/28 196.200.220.80/28 196.200.220.112/28 196.200.220.144/28 B F D H J 196.200.220.32/28 196.200.220.64/28 196.200.220.96/28 196.200.220.128/28 196.200.220.160/28 196.200.220.0/28 .1 .3 .5 .7 .9 .2 .4 .6 .8 .10

Address Assignment You already have an IP address for your router’s backbone link (A=.1, B=.2, …) You have a /28 for your local network (PC and router connected to hub) Assign your own host addresses from your local /28 network

FreeBSD Network Interface Configuration configure interface on Unix host ifconfig vr0 inet n.n.n.n netmask m.m.m.m vr0 is interface name n.n.n.n is IP address m.m.m.m is netmask

Connect PC to router console port Connect cable to console port on router, serial port on FreeBSD box Use the tip command to connect your keyboard and screen to the serial port e.g. bash$ tip com1 You may have to edit /etc/remote See man pages for tip(1) and remote(5) HINT: to exit tip, type ~.

Cisco Router Network Interface Configuration configure backbone interface on cisco router conf t interface ethernet0/0 ip address n.n.n.n m.m.m.m ethernet0/0 is interface name n.n.n.n is IP address m.m.m.m is netmask configure local interface on cisco router ethernet0/1

Cisco Router Network Interface Configuration Cisco global config should always include: ip classless ip subnet-zero no ip domain-lookup ip cef Cisco interface config should usually include: no shutdown no ip proxy-arp no ip redirects no ip directed-broadcast

Test Connectivity PC can ping local interface of router Router can ping PC PC cannot ping backbone interface of router Router can ping other routers PC cannot ping other routers or other PCs

Configure a default route Add route on PC route add default g.g.g.g g.g.g.g is IP address of gateway (which is on Cisco router) Display forwarding table netstat -rn

Test connectivity All PCs can now reach backbone IP address of own row Still can’t reach other rows why? Run a “traceroute” to troubleshoot

Configure static routes for the remaining classroom desks On router, add static routes to other rows next hop is backbone interface of other row’s router ip route n.n.n.n m.m.m.m g.g.g.g Repeat several times until complete

Test Connectivity All routers can reach all PCs All PCs can reach all backbone IP addresses All PCs can reach PCs in other rows Test with traceroute

Address Assignments A C E I G B F D H J 196.200.220.0/28 E2 Router SWITCH A C E I G 196.200.220.16/28 196.200.220.48/28 196.200.220.80/28 196.200.220.112/28 196.200.220.144/28 B F D H J 196.200.220.32/28 196.200.220.64/28 196.200.220.96/28 196.200.220.128/28 196.200.220.160/28 196.200.220.0/28 .1 .3 .5 .7 .9 .2 .4 .6 .8 .10 E2 Router 196.200.220.0/28

Configure static routes to classroom router On router, remove all static routes no ip route n.n.n.n m.m.m.m g.g.g.g Repeat until complete Add default route to classroom router next hop is backbone router ip route 0.0.0.0 0.0.0.0 g.g.g.g

Test Connectivity All routers can reach all PCs All PCs can reach all backbone IP addresses All PCs can reach PCs in other rows Test with traceroute All static routes have now been added on classroom router Global: enable secret e2@fnog Interface: interface ethernet 0/0 ip address n.n.n.n m.m.m.m Router: router ospf 1 network n.n.n.n w.w.w.w area 0 Line: line vty 0 4

Edit FreeBSD the ‘/etc/rc.conf’ file On production machines, add lines to /etc/rc.conf to configure network on reboot hostname="porcupine.tomato.example" ifconfig_vr0="inet X.X.X.X netmask Y.Y.Y.Y" defaultrouter=”G.G.G.G" See /etc/default/rc.conf for more information

Static Routing Exercise The End