1 / 11

IP Forwarding With Cisco Routers Lab Exercises

IP Forwarding With Cisco Routers Lab Exercises. Cisco File System. Boot - startup the router IOS - Internetworking Operating System keep it in Flash or boot from TFTP Server Configuration files running config - in Memory each configuration line is active immediately start-up config

lyndon
Download Presentation

IP Forwarding With Cisco Routers Lab Exercises

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IP Forwarding With Cisco Routers Lab Exercises

  2. Cisco File System • Boot - startup the router • IOS - Internetworking Operating System • keep it in Flash or boot from TFTP Server • Configuration files • running config - in Memory • each configuration line is active immediately • start-up config • Command • show startup-config • show running-config • show version

  3. initial configuration • Setup dialog • If a new router, setup is running automatically • cisco_prompt# setup • Setup will create a new start-up config • ip routing yes; but “no” to all routing protocols (especially RIP!)

  4. Exercise 1Login into the router • Connect console cable to the Serial Port • Serial connection PC to cisco router console port • Console • % minicom [-s] [/dev/ttyS0] • or • % cu -l /dev/ttyS0 -s 9600 • power on router, watch the loading messages • Login • Console or Telnet from UNIX • Password: cisco • name> enable • Password: cisco • Leave the session: exit

  5. Configure Interface • Configure Ethernet interface with setup • IP address • Netmask (0 - 0, 1 - 128, 6 - 254) • “ip routing” yes; but “no” to all routing protocols • Setup command (interactive) • #configure terminal • cisco(config)#interface eth o • cisco(config)#ip address n.n.n.n mask m.m.m.m • configure e0 for row ethernet with Next IP address • example: Network 130.65.241.16/29 • IP address 130.65.241.19

  6. Exercise 2configure ethernet interface • Configure Ethernet Interface • router>enable • router#conf t • router(config)#int eth 0 • router(config-if)#ip addr 130.65.241.xx 255.255.255.xx • router(config-if)#no shut • router(config-if)#^z • router#sho int eth 0 • Check: • telnet to the router from one of the 1E PCs in the row.

  7. Exercise 3Check the Status • Check • ping n.n.n.n • traceroute n.n.n.n • Show • Interface: • # show interface [eth/serial] 0 • ARP • # sho arp • Configuration • write terminal • show conf (running config)or show running-config • show startup-config (boot configuration) • Save configuration • # write [mem]

  8. Exercise 4 (1/2)configure static routes • configure the router with static routes • to create static routes, use the “ip route” command: • ip route n.n.n.n m.m.m.m nexthop (g.g.g.g or device) • e.g.: • router#conf t • router(config)#ip route 130.65.241.0 255.255.255.240 130.65.241.129

  9. Exercise 4 (2/2)configure static routes • now add a static default route • the default route is represented by net prefix 0.0.0.0 and netmask 0.0.0.0, e.g. • ip route 0.0.0.0 0.0.0.0 130.65.241.142 • use ping and traceroute to test • router# ping target-ip-addr • router# trace target-ip-addr

  10. Exercise 5 (1/2)configure passwords • there are (at least) 6 passwords to be set: console login password, 4 vty passwords, and the enable password • set the console password • router(config)#line con 0 • router(config-line)#password mysecret • set the vty passwords • router(config-line)#line vty 0 4 • router(config-line)#password mysecret • router(config-line)#exit • set the enable password • router(config)#enable password mysecret • router(config)#^Z

  11. Exercise 5 (2/2)configure passwords • examine the config, note that the passwords are in plaintext • # show conf • ... • enable password mysecret • ... • line con 0 • password mysecret • ... • line vty 0 4 • password mysecret • login • encrypt the passwords, then examine the config again • router(config)#service password-encryption • router(config)#^Z • router#sho conf

More Related