【无标题】静态路由实验

1、实验拓扑

445d76effa154d58848dd2da19cea1f0.png

 

 

 二、实验要求

1.除了R5的环回地址固定5.5.5.0/24,其他网段基于192.168.1.0/24进行合理划分;

2.R1-R4每个路由器存在两个环回接口,模拟PC,地址也在192.168.1.0/24网络内;

3.R1-R4不能直接编写到达5.5.5.0/24的静态路由,但依然可以访问;

4.全网可达,尽量减少每台路由器路由条目数量,避免环路;

5.R4与R5间,正常1000Mb/s链路通信,故障时自动改为100Mb/s。

三、实验步骤

1、划分网段

192.168.1.0/24-----主机位借4位

192.168.1.0000 0000

192.168.1.0001 0000

192.168.1.0010 0000

192.168.1.0011 0000

192.168.1.0100 0000

192.168.1.0101 0000

192.168.1.0110 0000

192.168.1.0111 0000

192.168.1.1000 0000

192.168.1.1001 0000

192.168.1.1010 0000

192.168.1.1011 0000

192.168.1.1100 0000

192.168.1.1101 0000

192.168.1.1110 0000

192.168.1.1111 0000

2、将192.168.1.0/24划分出五个需要用到的网段:

192.168.1.0000 0000-----192.168.1.0/27-----6条骨干链路

192.168.1.0000 0000---192.168.1.0/30

192.168.1.0000 0100---192.168.1.4/30

192.168.1.0000 1000---192.168.1.8/30

192.168.1.0000 1100---192.168.1.12/30

192.168.1.0001 0000---192.168.1.16/30

192.168.1.0001 0100---192.168.1.20/30

192.168.1.0001 1000---192.168.1.24/30

192.168.1.0001 1100---192.168.1.28/30

(2)192.168.1.0010 0000-----192.168.1.32/27---R1环回

192.168.1.0010 0000---192.168.1.32/28----L0

192.168.1.0011 0000---192.168.1.48/28---L1

(3)192.168.1.0100 0000-----192.168.1.64/27---R2环回

192.168.1.0100 0000----192.168.1.64/28----L0

192.168.1.0101 0000---192.168.1.80/28-----L1(4)192.168.1.0110 0000-----192.168.1.96/27---R3环回

192.168.1.0110 0000----192.168.1.96/28----L0

192.168.1.0111 0000----192.168.1.112/28----L1(5)192.168.1.1000 0000-----192.168.1.128/27---R4环回

192.168.1.1000 0000----192.168.1.128/28---L0

192.168.1.1001 0000----192.168.1.144/28---L1

(6)192.168.1.1010 0000(无)

(7)192.168.1.1100 0000(无)

(8)192.168.1.1110 0000(无)

09dda8a6df2940b3a11bb3192db10fc8.png

 

3、配置接口和环回IP地址:

R1:

<Huawei>sys

[Huawei]sysname R1

[R1]interface GigabitEthernet 0/0/0

[R1-GigabitEthernet0/0/0]

[R1-GigabitEthernet0/0/0]ip address 192.168.1.1 30

[R1]interface GigabitEthernet 0/0/1

[R1-GigabitEthernet0/0/1]

[R1-GigabitEthernet0/0/1]ip address 192.168.1.5 30

[R1-GigabitEthernet0/0/1]interface loopback 0

[R1-LoopBack0]ip address 192.168.1.33.28

[R1-LoopBack0]interface loopback 1

[R1-LoopBack1]ip address 192.168.1.49 28

[R1-LoopBack1]quit

[R1]display ip int brief

f9108eb9dc204b5bb921b6f4c2e65b5a.png

以此类推得:

                                             R2:

04edb12ce24e456cac43525242a34e34.png

 R3:07dd82068656436e95ec5db30ba4296b.png

 R4:b217b3d86d22402ba8452ac4577e85f0.png

 R5:362802acfcfc499984ea631446ed805f.png

 四、静态路由

R1:

[R1]ip route-static 192.168.1.64 27 192.168.1.2

[R1]ip route-static 192.168.1.8 30 192.168.1.2

[R1]ip route-static 192.168.1.128 27 192.168.1.2

[R1]ip route-static 192.168.1.128 27 192.168.1.6

[R1]ip route-static 192.168.1.16 30 192.168.1.2

[R1]ip route-static 192.168.1.16 30 192.168.1.6

[R1]ip route-static 192.168.1.12 30 192.168.1.6

[R1]ip route-static 192.168.1.96 27 192.168.1.6

[R1]dis ip routing-table protocol static

2a7be190e648406bac841f1228501468.png

 R2:

[R2]ip route-static 192.168.1.128 27 192.168.1.10

[R2]ip route-static 192.168.1.16 30 192.168.1.10

[R2]ip route-static 192.168.1.12 30 192.168.1.10

[R2]ip route-static 192.168.1.20 30 192.168.1.10

[R2]ip route-static 192.168.1.96 27 192.168.1.10

[R2]ip route-static 192.168.1.96 27 192.168.1.1

[R2]ip route-static 192.168.1.4 30 192.168.1.1

[R2]ip route-static 192.168.1.32 27 192.168.1.1

[R2]dis ip rou p s

db246f6beb73481f927ec77f1857aeb1.png

 R3:

[R3]ip route-static 192.168.1.32 27 192.168.1.5

[R3]ip route-static 192.168.1.0 30 192.168.1.5

[R3]ip route-static 192.168.1.64 27 192.168.1.5 

[R3]ip route-static 192.168.1.64 27 192.168.1.14

[R3]ip route-static 192.168.1.8 30 192.168.1.14

[R3]ip route-static 192.168.1.128 27 192.168.1.14

[R3]ip route-static 192.168.1.16 30 192.168.1.14

[R3]ip route-static 192.168.1.20 30 192.168.1.14

[R3]dis ip rou p s

 

f1e9b3aed482427794e35841c3ad9834.png

 R4:

[R4]ip route-static 192.168.1.96 27 192.168.1.13

[R4]ip route-static 192.168.1.4 30 192.168.1.13

[R4]ip route-static 192.168.1.32 27 192.168.1.13

[R4]ip route-static 192.168.1.32 27 192.168.1.9

[R4]ip route-static 192.168.1.0 30 192.168.1.9

[R4]ip route-static 192.168.1.64 27 192.168.1.9

[R4]dis ip rou p s

7045cb42490146839f58765fe3f99f83.png

 R5:

[R5]ip route-static 192.168.1.128 27 192.168.1.17

[R5]ip route-static 192.168.1.128 27 192.168.1.21

[R5]ip route-static 192.168.1.12 30 192.168.1.17

[R5]ip route-static 192.168.1.12 30 192.168.1.21

[R5]ip route-static 192.168.1.96 27 192.168.1.17

[R5]ip route-static 192.168.1.96 27 192.168.1.21

[R5]ip route-static 192.168.1.4 30 192.168.1.17 

[R5]ip route-static 192.168.1.4 30 192.168.1.21

[R5]ip route-static 192.168.1.32 27 192.168.1.17

[R5]ip route-static 192.168.1.32 27 192.168.1.21

[R5]ip route-static 192.168.1.0 30 192.168.1.17

[R5]ip route-static 192.168.1.0 30 192.168.1.21

[R5]ip route-static 192.168.1.64 27 192.168.1.17

[R5]ip route-static 192.168.1.64 27 192.168.1.21 

[R5]ip route-static 192.168.1.8 30 192.168.1.17

[R5]ip route-static 192.168.1.8 30 192.168.1.21

[R5]dis ip rou p s

3ce65352a97c4f2b97e9ec0068036062.png

 五、防环

1.R1
[R1]ip route-static 192.168.1.32 27 NULL 0


2.R2
[R2]ip route-static 192.168.1.64 27 NULL 0

3.R3
[R3]ip route-static 192.168.1.96 27 NULL 0

4.R4
[R4]ip route-static 192.168.1.128 27 NULL 0

六、修改接口优先级

[R5]ip route-static 192.168.1.0 30 192.168.1.21 pre 61

[R5]ip route-static 192.168.1.4 30 192.168.1.21 pre 61

[R5]ip route-static 192.168.1.8 30 192.168.1.21 pre 61

[R5]ip route-static 192.168.1.12 30 192.168.1.21 pre 61

[R5]ip route-static 192.168.1.32 27 192.168.1.21 pre 61

[R5]ip route-static 192.168.1.64 27 192.168.1.21 pre 61

[R5]ip route-static 192.168.1.96 27 192.168.1.21 pre 61

 

基于SSM框架的智能家政保洁预约系统,是一个旨在提高家政保洁服务预约效率和管理水平的平台。该系统通过集成现代信息技术,为家政公司、家政服务人员和消费者提供了一个便捷的在线预约和管理系统。 系统的主要功能包括: 1. **用户管理**:允许消费者注册、登录,并管理他们的个人资料和预约历史。 2. **家政人员管理**:家政服务人员可以注册并更新自己的个人信息、服务类别和服务时间。 3. **服务预约**:消费者可以浏览不同的家政服务选项,选择合适的服务人员,并在线预约服务。 4. **订单管理**:系统支持订单的创建、跟踪和管理,包括订单的确认、完成和评价。 5. **评价系统**:消费者可以在家政服务完成后对服务进行评价,帮助提高服务质量和透明度。 6. **后台管理**:管理员可以管理用户、家政人员信息、服务类别、预约订单以及处理用户反馈。 系统采用Java语言开发,使用MySQL数据库进行数据存储,通过B/S架构实现用户与服务的在线交互。系统设计考虑了不同用户角色的需求,包括管理员、家政服务人员和普通用户,每个角色都有相应的权限和功能。此外,系统还采用了软件组件化、精化体系结构、分离逻辑和数据等方法,以便于未来的系统升级和维护。 智能家政保洁预约系统通过提供一个集中的平台,不仅方便了消费者的预约和管理,也为家政服务人员提供了一个展示和推广自己服务的机会。同时,系统的后台管理功能为家政公司提供了强大的数据支持和决策辅助,有助于提高服务质量和管理效率。该系统的设计与实现,标志着家政保洁服务向现代化和网络化的转型,为管理决策和控制提供保障,是行业发展中的重要里程碑。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值