Script started on Wed Apr 10 12:49:07 2002 ]0;nicku@nickpc.tyict.vtc.edu.hk: /home/nicku/teaching/ict/snm/lectures/routing[nicku@nickpc] ~/teaching/ict/snm/lectures/routing 999 $ exitlscd ../mak-yiu-wai 999 $ ls\   tlen   elnet 172.19.32.34 Trying 172.19.32.34... Connected to 172.19.32.34 (172.19.32.34). Escape character is '^]'. User Access Verification Password: labA>enable   Password: labA#show config Using 602 out of 32762 bytes ! version 10.3 service tcp-small-servers ! hostname labA ! enable password 123 ! ! interface Ethernet0 ip address 172.19.32.34 255.255.252.0 no keepalive ! interface Ethernet1 ip address 192.168.1.1 255.255.255.0 shutdown ! interface Serial0 ip address 192.168.2.1 255.255.255.0 encapsulation ppp ! interface Serial1 --More--   ip address 192.168.3.1 255.255.255.0 shutdown ! router rip passive-interface Ethernet0 network 192.168.2.0 network 172.19.0.0 ! ip route 0.0.0.0 0.0.0.0 172.19.35.254 ! line con 0 line aux 0 transport input all line vty 0 4 password 123 logging synchronous login ! end labA#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default Gateway of last resort is 172.19.35.254 to network 0.0.0.0 R 10.0.0.0 [120/1] via 192.168.2.2, 00:00:25, Serial0 C 192.168.2.0 is directly connected, Serial0 172.19.0.0 255.255.252.0 is subnetted, 1 subnets C 172.19.32.0 is directly connected, Ethernet0 S* 0.0.0.0 0.0.0.0 [1/0] via 172.19.35.254 labA# # # R is learned from RIP labA# # caqn ping 10: labA#pint   g 172.19.32.         0.1\  1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) labA# labA#ping 10.0.0.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 ms labA#telne     telnet 10.0.0.1 Trying 10.0.0.1 ... Open User Access Verification Password: labB>enable Password: labB# labB#show config Using 542 out of 32762 bytes ! version 10.3 service tcp-small-servers ! hostname labB ! enable secret 5 $1$RiVH$oGKuD3uZ0GB92oLY4inkF1 enable password 123 ! ! interface Ethernet0 ip address 10.0.0.1 255.0.0.0 no keepalive ! interface Ethernet1 no ip address shutdown ! interface Serial0 no ip address shutdown ! --More--  interface Serial1 ip address 192.168.2.2 255.255.255.0 encapsulation ppp clockrate 56000 ! router rip network 10.0.0.0 network 192.168.2.0 ! ! line con 0 line aux 0 transport input all line vty 0 4 password 123 logging synchronous login ! end labB#  ip route        whow ip route ^ % Invalid input detected at '^' marker. labB#who    labB#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default Gateway of last resort is 192.168.2.1 to network 0.0.0.0 C 10.0.0.0 is directly connected, Ethernet0 C 192.168.2.0 is directly connected, Serial1 R 172.19.0.0 [120/1] via 192.168.2.1, 00:00:01, Serial1 R* 0.0.0.0 0.0.0.0 [120/1] via 192.168.2.1, 00:00:01, Serial1 labB#learned default route form     rom router A, and also the route to R. ^ % Invalid input detected at '^' marker. labB#exit [Connection to 10.0.0.1 closed by foreign host] labA#Connection closed by foreign host. ]0;nicku@nickpc.tyict.vtc.edu.hk: /home/nicku/teaching/ict/snm/lectures/routing[nicku@nickpc] ~/teaching/ict/snm/lectures/routing 1000 $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.19.33.107 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 172.16.3.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1 172.19.32.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 10.0.0.0 172.19.32.34 255.0.0.0 UG 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 172.19.35.254 0.0.0.0 UG 0 0 0 eth0 ]0;nicku@nickpc.tyict.vtc.edu.hk: /home/nicku/teaching/ict/snm/lectures/routing[nicku@nickpc] ~/teaching/ict/snm/lectures/routing 1001 $ # sudo route add -net 10.0.0.0 netmask 255.0.0.0 gw 172.19.32.34 dev eth0 1001 $ # sudo route add -net 10.0.0.0 netmask 255.0.0.0 gw 172.19.32.34 dev eth0 ]0;nicku@nickpc.tyict.vtc.edu.hk: /home/nicku/teaching/ict/snm/lectures/routing[nicku@nickpc] ~/teaching/ict/snm/lectures/routing 1002 $ telnet 10.0.0.1 Trying 10.0.0.1... Connected to 10.0.0.1 (10.0.0.1). Escape character is '^]'. User Access Verification Password: Password: labB>enable Password: labB#show      help Help may be requested at any point in a command by entering a question mark '?'. If nothing matches, the help list will be empty and you must backup until entering a '?' shows the available options. Two styles of help are provided: 1. Full help is available when you are ready to enter a command argument (e.g. 'show ?') and describes each possible argument. 2. Partial help is provided when an abbreviated argument is entered and you want to know what arguments match the input (e.g. 'show pr?'.) labB#show ? access-expression List access expression access-lists List access lists aliases Display alias commands arp ARP table async Information on terminal lines used as router interfaces bridge Bridge Forwarding/Filtering Database [verbose] buffers Buffer pool statistics cdp CDP information clock Display the system clock cmns Connection-Mode networking services (CMNS) information compress Show compression statistics. configuration Contents of Non-Volatile memory controllers Interface controller status debugging State of each debugging option dhcp Dynamic Host Configuration Protocol status dialer Dialer parameters and statistics dnsix Shows Dnsix/DMDP information dxi atm-dxi information entry Queued terminal entries extended Extended Interface Information flash System Flash information flh-log Flash Load Helper log buffer --More--   frame-relay Frame-Relay information history Display the session command history hosts IP domain-name, lookup style, nameservers, and host table interfaces Interface status and configuration ip IP information ipx Novell IPX information line TTY line information llc2 IBM LLC2 circuit information logging Show the contents of logging buffers memory Memory statistics ntp Network time protocol printers Show LPD printer information privilege Show current privilege level processes Active process statistics protocols Active network routing protocols queue Show queue contents queueing Show queueing configuration registry Function registration information rhosts Remote-host+user equivalences rif RIF cache entries route-map route-map information running-config Current operating configuration sessions Information about Telnet connections --More--   smds SMDS information snapshot Snapshot parameters and statistics spanning-tree Spanning tree topology stacks Process stack utilization standby Hot standby protocol information startup-config Contents of startup configuration subsystem List subsystems tcp Status of TCP connections terminal Display terminal configuration parameters users Display information about terminal lines version System hardware and software status whoami Info on current tty line x25 X.25 information labB#show spannin labB#show whoami Comm Server "labB", Line 2 at 9600bps. Location "" --More-- labB#exit Connection closed by foreign host. ]0;nicku@nickpc.tyict.vtc.edu.hk: /home/nicku/teaching/ict/snm/lectures/routing[nicku@nickpc] ~/teaching/ict/snm/lectures/routing 1003 $ exit exit Script done on Wed Apr 10 13:13:25 2002