路由器配置

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

总要求:

所有路由器配置环回接口地址,格式为路由器编号:例如:r1为 1.1.1.1/24

r2为 2.2.2.2/24 依次类推。

R1:en

Conf t

int loopback 0

ip address 1.1.1.1 255.255.255.0 R2:en

conf t

int loopback 0

ip address 2.2.2.2 255.255.255.0 R3:en

Conf t

int loopback 0

ip address 3.3.3.3 255.255.255.0 R4:en

Conf t

int loopback 0

ip address 4.4.4.4 255.255.255.0 R5:en

Conf t

int loopback 0

ip address 5.5.5.5 255.255.255.0 R6:en

Conf t

int loopback 0

ip address 6.6.6.6 255.255.255.0 R7:en

Conf t

int loopback 0

ip address 7.7.7.7 255.255.255.0 R8:en

Conf t

int loopback 0

ip address 8.8.8.8 255.255.255.0

所有网段为yy.yy.xx.0/24格式,其中yy是学号最后两位。xx是路由器之间的编号。例如:r1和r3 之间为yy.yy.13.0/24网段。

r1的地址为yy.yy.13.1

r3的地址为yy.yy.13.3 依次类推。。。

R1:en

Conf t

Int f0/1

Ip address 25.25.13.1 255.255.255.0 no shutdown

int f0/0

ip address 25.25.12.1 255.255.255.0 no showdown

R2:en

Conf t

Int f0/0 Ip address 25.25.12.2 255.255.255.0 no shutdown

int f0/1

ip address 25.25.24.2 255.255.255.0 no showdown

int f1/0

ip address 25.25.26.2 255.255.255.0 no sh

int s0/0

ip address 25.25.28.2 255.255.255.0 no sh

R3:en

Conf t

Int f0/1

Ip address 25.25.13.3 255.255.255.0 no shutdown

int f0/0

ip address 25.25.34.3 255.255.255.0 no showdown

int f1/0

ip address 25.25.35.3 255.255.255.0 no sh

int s0/0

ip add 25.25.37.3 255.255.255.0

no sh

R4:en

Conf t

Int f0/0

Ip address 25.625.34.4 255.255.255.0 no shutdown

int f0/1

ip address 25.25.24.4 255.255.255.0 no showdown

R5:en

Conf t

Int f0/0

Ip address 25.25.57.5 255.255.255.0 no shutdown

int f1/0 ip address 25.25.35.5 255.255.255.0 no showdown

R6:en

Conf t

Int f0/0

Ip address 25.25.68.6 255.255.255.0 no shutdown

int f1/0

ip address 25.25.26.6 255.255.255.0 no showdown

R7:en

Conf t

Int f0/0

Ip address 25.25.57.7 255.255.255.0 no shutdown

int s0/0

ip address 25.25.37.7 255.255.255.0 no showdown

R8:en

Conf t

Int f0/0

Ip address 25.25.68.8 255.255.255.0 no shutdown

int s0/0

ip address 25.25.28.8 255.255.255.0 no showdown

路由协议要求:

ospf内容:

1.ospf的route-id使用loopback 0 接口的ip 地址

2. ospf的进程号使用1

3.区域划分如下:

r1-----r2 area 0

r1-----r3 area 13

r2-----r4 area 24

r3-----r4 area 34

4. r1 的loopback 0 接口属于area 0

r2 的loopback 0 接口属于area 24

相关文档
最新文档