Cisco Lab – Configuring Dynamic Routing with RIPv2

  1. Addressing Table
  2. Device

    Interface

    IP Address

    Subnet Mask

    Default Gateway

    R1

    G0/1

    172.30.10.1

    255.255.255.0

    N/A

    S0/0/0 (DCE)

    10.1.1.1

    255.255.255.252

    N/A

    R2

    G0/0

    209.165.201.1

    255.255.255.0

    N/A

    S0/0/0

    10.1.1.2

    255.255.255.252

    N/A

    S0/0/1 (DCE)

    10.2.2.2

    255.255.255.252

    N/A

    R3

    G0/1

    172.30.30.1

    255.255.255.0

    N/A

    S0/0/1

    10.2.2.1

    255.255.255.252

    N/A

    S1

    N/A

    VLAN 1

    N/A

    N/A

    S3

    N/A

    VLAN 1

    N/A

    N/A

    PC-A

    NIC

    172.30.10.3

    255.255.255.0

    172.30.10.1

    PC-B

    NIC

    209.165.201.2

    255.255.255.0

    209.165.201.1

    PC-C

    NIC

    172.30.30.3

    255.255.255.0

    172.30.30.1

  3. Cable in the Cisco Packet tracer

 

5.Configure basic settings for each router and switch. (以PC-C为例)

a.Disable DNS lookup.  

Router>enable

Router#config t

Router(config)#no ip domain-lookup

b.Configure device names as shown in the topology. Router(config)#hostname R3

c.Configure password encryption.R3(config)#service password-encryption

d.Assign class as the privileged EXEC password.R3(config)#enable secret class

e.Assign cisco as the console and vty passwords.

R3(config-line)#line vty 0 4

R3(config-line)#password cisco

R3(config-line)#login

f.Configure a MOTD banner to warn users that unauthorized access is prohibited. R3(config)#banner motd #

Unauthorized access prohibited!#

g.Configure logging synchronous for the console line.

R3(config)#line console 0

R3(config-line)#logging synchronous

h.Configure the IP addresses listed in the Addressing Table for all interfaces.

i.Configure a description for each interface with an IP address.

g.Configure the clock rate, if applicable, to the DCE serial interface.

R3(config)#interface G0/1

R3(config-if)#ip address 172.30.30.1 255.255.255.0

R3(config-if)#description LINK to S3

R3(config-if)#no shutdown

R3(config-if)#int S0/0/1

R3(config-if)#ip address 10.2.2.1 255.255.255.252

R3(config-if)#clock rate 64000

R3(config-if)#description LINK to R2

R3(config-if)#no shutdown

k.Copy the running-configuration to the startup-configuration.R3#copy run startup

6.Configure RIPv2 on R1 as the routing protocol and advertise the appropriate connected networks.

R1# config t

R1(config)# router rip

R1(config-router)# version 2

R1(config-router)# passive-interface g0/1

R1(config-router)# network 172.30.0.0

R1(config-router)# network 10.0.0.0

7.Check(use ping command)

8.debug ip rip(特权模式下)

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值