| |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
-> 大数据 -> RIP综合实验 -> 正文阅读 |
|
[大数据]RIP综合实验 |
按照如图分配网段,划分合理的IP地址: ?
[r2]int g 0/0/0 [r2-GigabitEthernet0/0/0]ip add [r2-GigabitEthernet0/0/0]ip address 12.0.0.2 24 Jan ?7 2022 21:07:34-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state. [r2-GigabitEthernet0/0/0]int g 0/0/1 [r2-GigabitEthernet0/0/1]ip add [r2-GigabitEthernet0/0/1]ip address 23.0.0.1 24 Jan ?7 2022 21:07:44-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP on the interface GigabitEthernet0/0/1 has entered the UP state. [r2-GigabitEthernet0/0/1]int l0 [r2-LoopBack0]ip add [r2-LoopBack0]ip address 2.2.2.2 24——环回配置IP 检查配置是否正确: <r2>ping 12.0.0.1 ??PING 12.0.0.1: 56 ?data bytes, press CTRL_C to break ????Reply from 12.0.0.1: bytes=56 Sequence=1 ttl=255 time=50 ms ????Reply from 12.0.0.1: bytes=56 Sequence=2 ttl=255 time=20 ms ????Reply from 12.0.0.1: bytes=56 Sequence=3 ttl=255 time=10 ms ????Reply from 12.0.0.1: bytes=56 Sequence=4 ttl=255 time=20 ms ????Reply from 12.0.0.1: bytes=56 Sequence=5 ttl=255 time=20 ms ??--- 12.0.0.1 ping statistics --- ????5 packet(s) transmitted ????5 packet(s) received ????0.00% packet loss ????round-trip min/avg/max = 10/24/50 ms
[r2]rip [r2-rip-1]v 2 [r2-rip-1]net [r2-rip-1]network 2.0.0.0 [r2-rip-1]net [r2-rip-1]network 12.0.0.0 [r2-rip-1]net [r2-rip-1]network 23.0.0.0
[r3]int g 0/0/1 [r3-GigabitEthernet0/0/1]rip m [r3-GigabitEthernet0/0/1]rip metricin 2000 10
interface GigabitEthernet0/0/1 ?rip summary-address 172.16.0.0 255.255.252.0
[r5]rip [r5-rip-1]de [r5-rip-1]default-route [r5-rip-1] [r5-rip-1]default-route or [r5-rip-1]default-route originate?
[r6]acl 2000 [r6-acl-basic-2000]ru [r6-acl-basic-2000]rule p [r6-acl-basic-2000]rule d [r6-acl-basic-2000]rule deny s [r6-acl-basic-2000]rule deny source 172.16.0.0 0 [r6-acl-basic-2000]ru [r6-acl-basic-2000]rule s [r6-acl-basic-2000]rule d [r6-acl-basic-2000]rule deny s [r6-acl-basic-2000]rule deny source 1.1.1.0 0 [r6-acl-basic-2000]ru [r6-acl-basic-2000]rule p [r6-acl-basic-2000]rule permit s [r6-acl-basic-2000]rule permit source a [r6-acl-basic-2000]rule permit source any? [r6]rip 1 [r6-rip-1]fi [r6-rip-1]filter-policy 2000 im [r6-rip-1]filter-policy 2000 import
[r2]int g 0/0/0 [r2-GigabitEthernet0/0/0]rip a [r2-GigabitEthernet0/0/0]rip authentication-mode md5 u [r2-GigabitEthernet0/0/0]rip authentication-mode md5 usual c [r2-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123456 [r2-GigabitEthernet0/0/0] ??Please check whether system data has been changed, and save data in time ??Configuration console time out, please press any key to log on [r2]int g 0/0/0 [r2-GigabitEthernet0/0/0]nat s [r2-GigabitEthernet0/0/0]nat server p [r2-GigabitEthernet0/0/0]nat server protocol ?tcp g [r2-GigabitEthernet0/0/0]nat server protocol ?tcp global in [r2-GigabitEthernet0/0/0]nat server protocol ?tcp global interface ?l [r2-GigabitEthernet0/0/0]nat server protocol ?tcp global interface ?loopback ?0 [r2-GigabitEthernet0/0/0]nat server protocol tcp global interface loopback 0 23 in [r2-GigabitEthernet0/0/0]nat server protocol tcp global interface loopback 0 23 inside 7.7.7.7 23 Warning:The port 23 is well-known port. If you continue it may cause function fa ilure. Are you sure to continue?[Y/N]:y 试登录: <r1>telnet 2.2.2.2 ??Press CTRL_] to quit telnet mode ??Trying 2.2.2.2 ... ??Connected to 2.2.2.2 ... Login authentication Username: ??Username timeout expired Username:xian Password: ??----------------------------------------------------------------------------- ???? ??User last login information: ???? ??----------------------------------------------------------------------------- ??Access Type: Telnet ????? ??IP-Address : 12.0.0.1 ???? ??Time ??????: 2022-01-07 22:06:04-08:00 ???? ??----------------------------------------------------------------------------- <r7>
<r2>ping 7.7.7.7 ??PING 7.7.7.7: 56 ?data bytes, press CTRL_C to break ????Reply from 7.7.7.7: bytes=56 Sequence=1 ttl=252 time=50 ms ????Reply from 7.7.7.7: bytes=56 Sequence=2 ttl=252 time=50 ms ????Reply from 7.7.7.7: bytes=56 Sequence=3 ttl=252 time=50 ms ????Reply from 7.7.7.7: bytes=56 Sequence=4 ttl=252 time=40 ms ????Reply from 7.7.7.7: bytes=56 Sequence=5 ttl=252 time=40 ms ??--- 7.7.7.7 ping statistics --- ????5 packet(s) transmitted ????5 packet(s) received ????0.00% packet loss ????round-trip min/avg/max = 40/46/50 ms <r2>ping 46.0.0.1 ??PING 46.0.0.1: 56 ?data bytes, press CTRL_C to break ????Reply from 46.0.0.1: bytes=56 Sequence=1 ttl=254 time=20 ms ????Reply from 46.0.0.1: bytes=56 Sequence=2 ttl=254 time=30 ms ????Reply from 46.0.0.1: bytes=56 Sequence=3 ttl=254 time=30 ms ????Reply from 46.0.0.1: bytes=56 Sequence=4 ttl=254 time=30 ms ????Reply from 46.0.0.1: bytes=56 Sequence=5 ttl=254 time=40 ms ??--- 46.0.0.1 ping statistics --- ????5 packet(s) transmitted ????5 packet(s) received ????0.00% packet loss ????round-trip min/avg/max = 20/30/40 ms <r2>ping 5.5.5.5 ??PING 5.5.5.5: 56 ?data bytes, press CTRL_C to break ????Reply from 5.5.5.5: bytes=56 Sequence=1 ttl=253 time=30 ms ????Reply from 5.5.5.5: bytes=56 Sequence=2 ttl=253 time=30 ms ????Reply from 5.5.5.5: bytes=56 Sequence=3 ttl=253 time=30 ms ????Reply from 5.5.5.5: bytes=56 Sequence=4 ttl=253 time=30 ms ????Reply from 5.5.5.5: bytes=56 Sequence=5 ttl=253 time=40 ms ??--- 5.5.5.5 ping statistics --- ????5 packet(s) transmitted ????5 packet(s) received ????0.00% packet loss ????round-trip min/avg/max = 30/32/40 ms 实验完成。 |
|
|
上一篇文章 下一篇文章 查看所有文章 |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 | -2024/11/18 2:50:58- |
|
网站联系: qq:121756557 email:121756557@qq.com IT数码 |