Basics to Configure a CISCO Router to Connect to Internet

Published on May 2016 | Categories: Documents | Downloads: 33 | Comments: 0 | Views: 180
of 4
Download PDF   Embed   Report

Configure a cisco router to internet

Comments

Content

Basics to configure a CISCO router to connect to internet.
Any Cisco router you have around you say Cisco 1000, 1600, 2500, 2600, And 3600 Series Routers. Any cisco router you have the below configurations will be able to workout. These configurations will help you connect your LAN onto internet, Provide basic security to your Local Area Network (LAN) so that no other network connects if not defined in the configs. I will go straight to what I have around me to have this configuration done successfully.

1. Router: Cisco 1600 series. 2. ISP Addresses: [IP Address: 192.168.23.11 SubMask: 255.255.255.0 Gateway:192.168.23.1]. 3. LAN Addresses: [IP Address: 10.100.10.1 SubnetMask: 255.255.255.0] 4. Console Cable. Step 1: - Connect your router into power and connect your console cable (will need an RJ-45 to DB-25 adapter). Power up that router without wasting a lot of time. Open up your HyperTerminal: Start -> All Programs -> Accessories ->Communications -> HyperTerminal. You can name anything your “Connection Description” mine is “ictmagazine” and choose 2nd icon.

-

Press OK , Then on the next interface choose a “COM” port your console is connecting to from the router.

Mine was COM3 then press OK.

-

On the next screen restore to defaults “Restore Defaults” and you should be having something similar to

that below. Then press OK. You should be in your router now. Well I will avoid you all the boring talk and just dive straight into the really thing “configuring a router to internet”, so let us go straight to step 2. Please note that the names and password have used those are as per on my router. You can use anything you prefer to make sure your configurations are secure and matching to your standards. ..............Step 2: Configure Basics Router>en Router# config t Router(config)# hostname ICT ICT(config)# enable password joinict ICT(config)# enable secret m@g@z1n3 ICT(config)# ip name-server 208.67.222.222 ...............Step 3: Configuring the Line console and vty 0 4 ICT(config)# line console 0 ICT(config-line)# password g3t1n ICT(config-line)# login ICT(config-line)# exit ICT(config)# line vty 0 4 ICT(config-line)# password b0b0ut ICT(config-line)# login ICT(config-line)# exit ................Step 4: setting up the LAN interface ICT(config)# interface Ethernet1/0 ICT(config-if)# Description ICTMAGAZINE LAN ICT(config-if)# ip address 10.100.10.1 255.255.255.0 ICT(config-if)# ip nat inside ICT(config-if)# no shutdown

ICT(config-if)# exit ....................Step 5: setting up the INTERNET interface (this interface has IP Addresses provided by Internet provider –ISP) ICT(config)# interface FastEthernet0/0 ICT(config-if)# Description Broadband Internet ICT(config-if)# ip address 192.168.23.11 255.255.255.0 ICT(config-if)# ip nat outside ICT(config-if)# no shutdown ICT(config-if)# exit

....................Step 6: Configuring NAT and Routing statements. ICT(config)# ip nat inside source list 1 interface FastEthernet0/0 overload ICT(config)# ip route 0.0.0.0 0.0.0.0 192.168.23.1 ...................Step 7: Configuring the Access-list 1 (This allows the LAN to get connection to the internet). ICT(config)# access-list 1 permit 10.100.10.0 0.0.0.255 ..................Step 8: Run show commands to confirm your configurations ICT(config)# show interface ethernet1/0 (verify the LAN IP configuration) ICT(config)# show interface fastethernet 0/0 (verify External/ISP IP configuration and status) ICT(config)# Show ip route (show your routing statement if its correct) ICT(config)# show ip nat translations (This is to confirm if your nat statements are right) ICT(config)# show access-lists (configured access lists) .................Step 9: Save your router configurations ICT(config)#wr

The most likely reason why the router has bypassed the startup configuration stored in NVRAM is that the configuration register has not been set properly. To change your configuration register so that the router does not ignore or skip the startup configuration upon reboot or power cycle, complete these steps: From the Router# prompt: 1. 2. 3. Type configure terminal , and press ENTER. Type config-register 0x2102, and press ENTER. Type end, and press ENTER.

To verify the configuration register change, type show version at the Router# prompt, and review your show version command output again. Look for the configuration register setting, which must show a new value upon the next reload. Here is an example:

Router#configure terminal Enter configuration commands, one per line. Router(config)#config-register 0x2102 Router(config)#end

End with CNTL/Z.

Router#show version Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-JS-L), Version 12.1(5),

RELEASE SOFTWARE (fc1) Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled Wed 25-Oct-00 05:18 by cmong Image text-base: 0x03071DB0, data-base: 0x00001000 ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1) Router uptime is 11 minutes System returned to ROM by reload System image file is "flash:c2500-js-l_121-5.bin" cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory. Processor board ID 03867477, with hardware revision 00000000 Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). TN3270 Emulation software. 1 Token Ring/IEEE 802.5 interface(s) 2 Serial network interface(s) 32K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read ONLY) Configuration register is 0x2142 (will be 0x2102 at next reload)
When the router is reloaded, the new configuration register setting becomes active.

Router#reload System configuration has been modified. Save? [yes/no]: n Proceed with reload? [confirm]
Your router now loads with the startup configuration, and the configuration register is set to 0x2102. Your configuration loads properly after the next reload or power cycle.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close