carrot.pages.dev

Part 0: Logical View

Design a logical diagram of the network.

Example

Using 2811 router with HWIC-2T module and DCE connection.

Logical view of packet tracer

Part 1: Initial Config

Enters privileged EXEC mode.

en

Enters global configuration mode.

conf t

Adding Hostname and Password

hostname NAME

enable secret PASS

Configuring Console Line with Password

line console 0

password PASS

login

exec-timeout 0 0

Configuring VTY Line with Password

line vty 0 4

password PASS

login

exec-timeout 0 0

Adding Banner

banner login #

Password Encryption

Encrypts plaintext passwords in the configuration.

service password-encryption

Verification

sh run

Repeat

Do the initial config for each router.


Part 2: Adding IP Addresses

Displaying Interfaces

Displays brief information about all interfaces and their IP addresses.

sh ip int brief

Configuring Serial Interface

Enters configuration mode for the specified serial interface.

int serial n/n/n

Assigning IP Address

Assign an IP address and subnet mask to the interface.

ip add IP_ADDRESS SUBNET_MASK

Example

For Router0
ip add 192.168.50.2 255.255.255.0

Enabling Interface

Enables the configured interface.

no shut

Configuring Loopback Interface

int loopback0

ip add IP_ADDRESS SUBNET_MASK
(Increment the Loopback address by 1)

Example

For Loopback0 in Router0 (192.168.0.0/24)
ip add 192.168.0.1 255.255.255.0

Adding Clock Rate

Only for ports with clock symbol.

clock rate VALUE (128000)

Repeat

Repeat the steps for each router and port.

Example

For Router0

Part 2 example for Router0

Verification

Now we can ping direct connections.

ping IP_ADDRESS


Part 3: Adding Routes (Method 1)

We can ping direct addresses, but not remote ones.

Can't ping remote addresses

Before we can ping them, we need to configure routes.

Identifying Remote Addresses

A remote address means it is not directly connected.

Example

So there are 4 remote addresses for Router0:

Remote addresses for Router0

Adding Static Routes

Now that we know what the remote addresses are, we can add routes to them. (Repeat for every remote address.)

There are 2 ways of doing this:

ip route REMOTE_IP_ADDRESS SUBNET_MASK serial n/n/n (exit interface)

or

ip route REMOTE_IP_ADDRESS SUBNET_MASK IP_ADDRESS (next hop ip address)

Just use the exit interface method for now.

Example

For Router0 (4 remote addresses)
ip route 192.168.30.0 255.255.255.0 serial0/2/0

ip route 192.168.60.0 255.255.255.0 serial0/2/0

ip route 192.168.40.0 255.255.255.0 serial0/2/0

ip route 192.168.20.0 255.255.255.0 serial0/2/0

For Router1 (2 remote addresses)
ip route 192.168.0.0 255.255.255.0 serial0/2/0

ip route 192.168.20.0 255.255.255.0 serial0/2/1

For Router2 (4 remote addresses)
ip route 192.168.30.0 255.255.255.0 serial0/2/1

ip route 192.168.60.0 255.255.255.0 serial0/2/1

ip route 192.168.50.0 255.255.255.0 serial0/2/1

ip route 192.168.0.0 255.255.255.0 serial0/2/1

Displaying Routing Table

Displays the IP routing table.

sh ip route

Verification

After configuring routes for every router, we can now ping remote addresses.

ping IP_ADDRESS

Part 3: Adding Routes (Method 2)

Using RIPv2 method.

Enabling RIP Routing

router rip

Identify Directly Connected Addresses

Needed for the next step.

Configuring the Networks to Use RIP

Use the network command followed by the directly connected address.

Example

network 192.168.50.0
network 192.168.0.0

Enabling RIP Version 2

version 2

Disabling Auto Summary

no auto-summary

Enabling Passive Interface

Specify that all interfaces should be passive by default (not sending RIP updates).
passive-interface default

Except for specific interfaces:

Example

no passive-interface serial0/2/0
no passive-interface loopback0

Verifying RIP configuration

sh ip protocols
sh ip route rip