Logo

Home

Menu

Starting Topology

Netfiles

How To Install & Use Dynamips

 

 

Links

Lab One:

Initial Configuration of R1, R2 & R3

•  Configure hostnames

•  Assign IP addresses to all interfaces including loop backs as per topology diagram

•  Ensure that all Routers do not attempt to connect to a Domain Name Server


I will show how to do these tasks on R1
Hostname:

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1

Ensure that all Routers and Switches do not attempt to connect to a Domain Name Server:

R1(config)#no ip domain lookup

Ip Addressing:

R1(config)#interface loopback 0
R1(config-if)#ip address 11.11.11.11 255.255.255.255
R1(config-if)#no shut

R1(config-if)#int s1/0
R1(config-if)#ip add
R1(config-if)#ip address 192.168.100.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#
*Mar 1 00:18:59.367: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
*Mar 1 00:19:02.387: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up


Verifying all tasks have been completed:

R1#sh ip interface brief

Interface IP-Address OK? Method Status Protocol
Serial1/0 192.168.100.1 YES manual up down
Serial1/1 unassigned YES unset administratively down down
Serial1/2 unassigned YES unset administratively down down
Serial1/3 unassigned YES unset administratively down down
Loopback0 11.11.11.11 YES manual up up

You will notice that S1/0 has an ip address of 192.168.100.1 & Loopback 0 is 11.11.11.11
Why do you think that S1/0 is up - down? Why is Loopback 0 up – up?

R1#sh rub

% Invalid input detected at '^' marker.

What would have happened if I had entered the above command before I entered this command?

R1(config)#no ip domain lookup

Viewing the running configuration:

R1#sh run

Building configuration...
Current configuration : 945 bytes
version 12.3

service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname R1
!
no ip domain lookup
!
interface Loopback0
ip address 11.11.11.11 255.255.255.255

!
interface Serial1/0

ip address 192.168.100.1 255.255.255.0
serial restart-delay 0
no dce-terminal-timing-enable

!
line con 0
line aux 0
line vty 0 4

What would happen if I rebooted the Router at this stage of the proceedings?

Viewing the start up configuration:

R1#sh startup-config
startup-config is not present

As you can see the startup config is empty to ensure the change you have made to R1 will be saved you need to copy the running configuration to the startup configuration.

R1#copy run startup-config
Destination filename [startup-config]?
Building configuration...

[OK]

If you run the show start command you will see all your changes have now been applied to R1.

Dynamips will save your settings in an nvram file. When you reload it will ask you if you want to use (import) them?
Note: You can also save the configuration by using the export command in the Dynagen console. The config will be saved with a .cfg extension.

Complete task One on R2 & R3

You will need to configure the FA2/0 interfaces on R2 & R3 that connect the Routers to the Switches (R1 FA2/0 --- SW1 FA2/6 and R2 FA2/0 -- SW2 FA2/3).

When completed save the configs by using the export command to a folder on your local machine as well as using the copy run start command.