java子网划分_子网划分讲解及练习(二)
练习配置
R1配置:
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R1
R1(config)#no ip domain-lo
R1(config)#int s 0/0
R1(config-if)#ip add 172.18.0.1 255.255.0.0
R1(config-if)#cl ra 64000
R1(config-if)#no shut
R1(config-if)#int s 0/1
R1(config-if)#ip add 172.16.0.1 255.255.0.0
R1(config-if)#cl ra 64000
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#enable secret cisco
R1(config)#lin con 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#logg sy
R1(config-line)#exec-t 0 0
R1(config-line)#exit
R1(config)#lin vty 0 4
R1(config-line)#pas
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#service password-encryption
R2配置:
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lo
Router(config)#lin con 0
Router(config-line)#exec-t 0 0
Router(config-line)#logg sy
Router(config-line)#pas cisco
Router(config-line)#lin vty 0 4
Router(config-line)#pas cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#enable se cisco
Router(config)#ser pas
Router(config)#int s 0/0
Router(config-if)#ip add 172.18.0.2 255.255.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
Router(config-if)#
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
i
Router(config-if)#int s 0/1
Router(config-if)#ip add 172.17.0.1 255.255.0.0
Router(config-if)#cl ra 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/1, changed state to down
Router(config-if)#int f 0/0
Router(config-if)#ip add 10.13.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#
Router(config-if)#host R2
R2(config)#
R3配置
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lo
Router(config)#host R3
R3(config)#enable se cisco
R3(config)#lin con 0
R3(config-line)#pas cisco
R3(config-line)#login
R3(config-line)#exec-t 0 0
R3(config-line)#logg sy
R3(config-line)#lin vty 0 4
R3(config-line)#pas cisco
R3(config-line)#login
R3(config-line)#exit
R3(config)#ser pas
R3(config)#int s 0/0
R3(config-if)#ip add 172.17.0.2 255.255.0.0
R3(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
R3(config-if)#
R3(config-if)#int s 0/1
R3(config-if)#ip add 172.16.
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R3(config-if)#ip add 172.16.0.2 255.255.0.0
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/1, changed state to up
R3(config-if)#int f 0/0
R3(config-if)#ip add 1
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up
R3(config-if)#ip add 192.168.1.1 255.255.255.0
R3(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
结果:
java子网划分_子网划分讲解及练习(二)相关推荐
- java子网划分_子网划分讲解及练习(一)
局域网连接 路由器:(它是一台工业计算机) 路由有以下组成: CPU Motherboard(主板) RAM(内存) ROM NVRAM(非易失性存储) FLASH(IOS在这里存放) 路由器接口: ...
- 计算机网络子网划分_子网划分和超网| 计算机网络
计算机网络子网划分 1)子网划分 (1) Subnetting) Subnetting is a concept of diving a block of addresses into sub-blo ...
- IP地址和子网划分_子网划分方法
6.子网划分 6.1 地址浪费 (1)IPv4公网地址资源日益紧张,为减少浪费,使IP地址能够充分利用,就要用到子网划分技术. (2)传统上一个C类地址,如212.2.3.0/24,其可用的地址范围为 ...
- java二分法排序_二分法排序讲解『附视频』
二分法排序讲解『附视频』 时间:2017-06-22 来源:华清远见JAVA学院 算法一直是Java编程学习中的重点和难点,今天华清Java学院小编就和大家分享一下Java中的二分法排序. ① ...
- java回溯算法_回溯算法讲解--适用于leetcode绝大多数回溯题目
什么是回溯算法? 回溯法是一种系统搜索问题解空间的方法.为了实现回溯,需要给问题定义一个解空间. 说到底它是一种搜索算法.只是这里的搜索是在一个叫做解空间的地方搜索. 而往往所谓的dfs,bfs都是在 ...
- Java面试宝典_君哥讲解笔记04_java基础面试题——String s=new String(“xyz“);创建了几个String Object、equals和hashCode、hashCode(
java基础面试题目录 文章目录 java基础面试题目录 前言 String s=new String("xyz");创建了几个String Object[重要] 全面理解: St ...
- java对象头_我的并发编程(二):java对象头以及synchronized升级过程
一.概述 研究java对象头的目的是详细分析Java的synchronized锁的升级过程,因为synchronized在锁升级的时候,就是依赖对象头的信息来决定的.本博文针对64位的操作系统来对Ja ...
- java求秩_张量分解浅谈(二 CP NMF 张量秩)
欢迎大家来到这一期的张量分解博客学习,本期博客的主要内容就是标题,难度会加大,本人也有写的错误的地方,烦请大家不吝赐教! 一. CANDECOMP/PARAFAC分解法 CANDECOMP(canon ...
- java子网划分_IP地址子网划分_动力节点Java学院整理
二进制和十进制的关系 二进制和十六进制的关系16进制的每个位是2进制的4位F=1111二进制转16进制,按上面4位一组分开转 2.IP地址和二进制 十进制:0-9逢10(到9)进1十六进制:0-F(1 ...
最新文章
- 《HBase企业应用开发实战》—— 第3章 数 据 模 型
- PAT甲级1028 List Sorting:[C++题解]排序,cin和cout会超时
- 数据加密和OpenSSL
- 我目前的主要研究方向
- vscode Go 1.11.4 编译错误 need Delve built by Go 1.11 or later
- 服务器不删档的设置_CCD2服务器已经开启,准备好刷刷刷了吗
- 通道注意力机制_即插即用,Triplet Attention机制让Channel和Spatial交互更加丰富(附开源代码)...
- 数据挖掘原理与算法_资料 | 数据挖掘:概念、模型、方法和算法(第2版)/ 国外计算机科学经典教材...
- 湖南城市学院计算机题库和答案,湖南城市学院 计算机选择题题库
- 联通路由器设置FTP服务器,做家庭储存云盘
- 按钮 蓝底白字 html,为什么ChemDraw Professional 15颜色设置总是蓝底白字?
- Learn OpenGL 笔记7.3 PBR-IBL-Diffuse irradiance(Image based lighting-漫反射辐照度)
- 无为而无不为和企业管理
- 美标/国标耳机接口区别
- 深信服edr终端漏洞
- word段落间距调整:格式刷/取消对齐网格/分节符/擦除格式都无效的应对方法
- Python 时间标准化
- python打开图片的几种方法
- ChatGPT教你面试阿里P6测试开发岗
- 计算机监控系统应用前景和发展趋势,计算机控制技术的现状及发展趋势
热门文章
- vivado-SOC-----Memory内存测试和DDR测试(初学者SDK hello world不通的有救了~)
- Jenkins - Extended E-mail配置教程
- 内存溢出和内存泄漏的区别、产生原因以及解决方案 转
- SwingC API 演示DEMO,不断更新
- [转][Timer学习]wall time和monotonic time
- OSPF多区域配置与汇总
- 交换机VLAN划分详细手册
- QA:智能布线系统二十问
- CSP认证201604-3	路径解析[C++题解]:字符串处理、模拟、vector切分字符串
- PAT甲级1059 Prime Factors :[C++题解]分解质因子