|
|
Standard Disclaimer :
This document is only for use by me and my friends as a very general explanation of how to setup a router.
If you have any questions or comments, you can e-mail me. But I will not be responsible for any damage to
your systems or routers. This is still very much a document in progress.
Abstract :
OK. You should have your router up and running now. (If you haven't, please setup your router FIRST by clicking here).
Time to setup the routing tables ...
Procedure :
- Hook up a PC to the router via the console cable
- Power ON the router
- After the normal bootup messages, there should be a message saying
' Would you like to enter the initial dialog ?[yes] : no'
- Wait a short while. An EXEC prompt should then appear (ie. ROUTER>)
- Type 'enable'. You'll need to go into the privileged EXEC mode to make configuration changes
- The prompt should change to : ROUTER#
- Time to enter the configuration terminal command... type 'configure terminal'
Note : you can also type 'config t'
- Now, you can change the configuration. Below, you will see a list of the things you can change
- Change/Assign hostname to router (use hostname command)
- Change password (use enable password command)
- Setup the routing tables
I'm going to briefly outline the procedure for setting up a route
- I have a router straddling 2 networks : aaa.bbb.ccc.ddd and eee.fff.ggg.hhh
- (fuiyun, please put a diagram here)
- ROUTER# configure terminal
- ROUTER# hostname
- ROUTER# enable password XXXXXXXX
- ROUTER# line vty 0 4
- ROUTER(config-line)# password XXXXXXXXX
- ROUTER# interface e0
- ROUTER(config-if)# ipaddress (given by ISP)
- ROUTER(config-if)# interface s0
- ROUTER(config-if)# ipaddress (given by ISP)
- ROUTER(config-if)# exit
- ROUTER# ip route 0.0.0.0 0.0.0.0 (route given by ISP)
- ROUTER# ip route 165.21.0.0 255.255.0.0 (route given by ISP)
- ROUTER# exit
- ROUTER# write memory
- ROUTER# reload
- router will reboot, and the routing table should be set.
- To check, type 'show config' at the ROUTER# prompt.
- ...And that's all folks !
Created by Chong Yu Meng, March 1998
|