Network Technologies Lab
Sunday Exercises
gmacri@sunu.rnc.ro

Network technologies lab, Sunday, 24 August ´97

CEENet 97 /...
exercise 1

ping command
Use ping command
Windows 95
– msdos prompt: ping target-address
– Windows 95 application PC1 d:wi...
exercise 2

traceroute command
Use traceroute command
Windows 95
– msdos prompt: tracert target-address
– Windows 95 appli...
exercise 3

initial configuration
serial connection from PC to cisco router console port
% minicom /dev/ttyS0

power on ro...
exercise 4

configure ethernet interface
telnet to the router from one of the 1E PCs in the row.
router>enable
router#conf...
exercise 5 (1/2)

configure static routes
configure the router with the same static routes
to create static routes, use th...
exercise 5 (2/2)

configure static routes
now add a static default route
the default route is represented by net prefix 0....
exercise 7 (1/2)

configure passwords
there are (at least) 6 passwords to be set: console login
password, 4 vty passwords,...
exercise 7 (2/2)

configure passwords
examine the config, note that the passwords are in plaintext
show running
...
enable...
exercise 8

configure syslogging
configure syslogging on the PC:
edit /etc/syslog.conf, add this line
local0.debug
/var/lo...
exercise 9

configure DNS resolver
configure cisco router
use ip name-server command
use ip domain-name comand
use ip doma...
Upcoming SlideShare
Loading in …5
×

Routercon

112
-1

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
112
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Routercon

  1. 1. Network Technologies Lab Sunday Exercises gmacri@sunu.rnc.ro Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 1/11
  2. 2. exercise 1 ping command Use ping command Windows 95 – msdos prompt: ping target-address – Windows 95 application PC1 d:win95cyber.zip Debian Linux – use man command to get the parameters of ping command Cisco router (look to the exercise no. 6 and 10) – ping command Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 2/11
  3. 3. exercise 2 traceroute command Use traceroute command Windows 95 – msdos prompt: tracert target-address – Windows 95 application PC1 d:win95tpwins32.zip Debian Linux – use man command to get the parameters of traceroute command Cisco router (look to the exercise no. 6 and 10) – trace command Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 3/11
  4. 4. exercise 3 initial configuration serial connection from PC to cisco router console port % minicom /dev/ttyS0 power on router, watch the loading messages initial config dialog configure e0 for row ethernet and leave other interfaces unconfigured ip routing yes; but “no” to all routing protocols (especially RIP!) Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 4/11
  5. 5. exercise 4 configure ethernet interface telnet to the router from one of the 1E PCs in the row. router>enable router#conf t router(config)#int e0 router(config-if)#ip addr 161.53.75.xx 255.255.255.240 router(config-if)#no shut router(config-if)#^z router#sho ip int br Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 5/11
  6. 6. exercise 5 (1/2) configure static routes configure the router with the same static routes to create static routes, use the “ip route” command: ip route net-prefix netmask nexthop e.g.: router#conf t router(config)#ip route 161.53.74.0 255.255.255.0 161.53.75.1 Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 6/11
  7. 7. exercise 5 (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 161.53.75.xx use ping and traceroute to test router# ping target-ip-addr router# trace target-ip-addr Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 7/11
  8. 8. exercise 7 (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 Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 8/11
  9. 9. exercise 7 (2/2) configure passwords examine the config, note that the passwords are in plaintext show running ... 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 run Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 9/11
  10. 10. exercise 8 configure syslogging configure syslogging on the PC: edit /etc/syslog.conf, add this line local0.debug /var/log/cisco daemon syslogd to re-read its configuration file using ps and kill comands configure the router to do syslogging: router(config)#logging buffered router(config)# logging facility local0 router(config)# logging 169.222.31.42 some things that cause log messages: shutting down or bringing up an interface, any configuration CEENet 97 / track 1 10/11 Network technologies lab, Sunday, 24 August ´97 change, any debug command
  11. 11. exercise 9 configure DNS resolver configure cisco router use ip name-server command use ip domain-name comand use ip domain-list command use administrative cisco commands router#ping www.carnet.hr. router#trace www.carnet.hr. use other commands: router# telnet sun1.workshop.carnet.hr. Network technologies lab, Sunday, 24 August ´97 CEENet 97 / track 1 11/11
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×