All people seem to need data processing
( Application presentation session transport network data link physic )

host : end device ( PC Server )
switch : to connect many device
router : to connect two or more different networks
internet cable : straight cable and crossover cable
The straight through cable is used to connect:
 
  • switch to router
  • switch to pc/server
 
 
The crossover cable is used to connect:
 
  • switch to switch
  • router to router
  • router to pc/server
  • pc/server to pc/server
 
192.168.0.0 /16 ( 16个1 )
11111111.11111111.00000000.00000000
255.255.0.0
It means that the first address of this network ( the network address ) is : 192.128.00000000.00000000 => 192.168.0.0
The last address of this network ( the broadcast address ) is 192.16811111111.11111111 => 192.168.255.255
And the range of IP address for the host is from 192.168.00000000.00000001 => 192.168.0.1 to 192.168.11111111.11111110 => 192.168.255.254
Let’s devide this network into smaller subnetworks.
Always start by the biggest subnetwork which contains the biggest number of hosts..
Office subnetwork : 511 hosts
So we need 511 IP adderss for the hosts ( end device ) + 1 IP address for the network address +1IP address as a broadcast address = 511 + 1 + 1 = 513 IP addresses
2^9=512 <range for 513 IP addresses < 2^10=1024
1024 in binary is : 0000 0100 0000 0000
So for this subnetwork, we will use the following subnet mask : 11111111.11111111.11111100.00000000 => 255.255.252.0 or /22
So to create the Office subnetwork as a part os the big 192.168.0.0/16 network, we will start at the beginning os this big network.
So the network address of our Office subnetwork will be the first address of the big network : 192.168.0.0/22 ( the host part of the subnet mask is 00.00000000 )
The broadcast address will be : 192.168.3.255/22 ( The host part of the subnet mask is 11.11111111 )
So the range of IP addresses for the hosts will be : from 192.168.0.1/22 to 192.168.3.254/22
we will also book the last host IP address for the gateway ( =router ),so the gateway address of this  subnetwork is ; 192.168.3.254
Then, for the factory subnetwork : 
128(2^7) < 250 IPs =1=1 = 252 < 256(2^8)
So the subnet mask for this subnetwork is : 11111111.11111111.11111111.00000000 => 255.255.255.0 or /24
network address : 192.168.4.0/24 ( this is the next available address of the big network )
broadcast address : 192.168.4.255/24
IP range for hosts : 192.168.4.1/24 to 192.268.4.254/24
gateway is : 192.168.4.154/24
For the small subnetwork OfficeRTR < - > EdgeRTR :  
This is a PtP ( Point to Point ) connection,that means we connect only two devices together.So we need 2+1+1 = 4 IP addresses in this network
subnet mask : 11111111.11111111.11111111.11111100 => 255.255.252 or 30
network address : 192.168.5.4/30 ( this is the next available address of the big network )
 
.
.
.
.
enable
configure terminal
interface gigabitEthernet
ip adress …(last IP address)
no shutdown
exit 
in
自动填充命令语句
重现之前用过的语句
Configure R1
 
en
conf t
hostname R1
no ip domain-lookup
enable secret class
banner motd #Do not touch my router#
line con 0
password cisco
exit
line vty 0 4
password cisco
exit
interface fastEthernet 0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
interface serial 0/0/0
ip address 192.168.2.1 255.255.255.0
clock rate 64000
exit
end
copy runnig-config startup-config
 
 
 
Configure R2 :
 
en
conf t
hostname R2
no ip domain-lookup
enable secret class
banner motd #Do not touch my router#
line con 0
password cisco
exit
line vty 0 4
password cisco
exit
interface fastEthernet 0/0
ip address 192.168.3.1 255.255.255.0
no shutdown
exit
interface serial 0/0/0
ip address 192.168.2.2 255.255.255.0
clock rate 64000
exit
end
copy runnig-config startup-config

CCNA 4.14 TP Correction的更多相关文章

  1. iOS中UITextField 使用全面解析 分类: ios技术 2015-04-10 14:37 153人阅读 评论(0) 收藏

    //初始化textfield并设置位置及大小   UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 13 ...

  2. iOS TextField用法大全

    //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, ...

  3. IOS开发 - TextField 控件详细

    //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, ...

  4. UITextField使用详解

    转iOS中UITextField使用详解 (1) //初始化textfield并设置位置及大小   UITextField *text = [[UITextField alloc]initWithFr ...

  5. IOS—UITextFiled控件详解

    IOS—UITextFiled控件详解 //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGR ...

  6. IOS-TextField控件详解

    //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, ...

  7. IOS开发UI基础UITextFidle相关属性

    UITextFidle相关属性 •    enablesReturnKeyAutomatically默认为No,如果设置为Yes,文本框中没有输入任何字符的话,右下角的返回按钮是disabled的. ...

  8. IOS-UITextField-全解

    IOS-UITextField-全解   //初始化textfield并设置位置及大小   UITextField *text = [[UITextField alloc]initWithFrame: ...

  9. iOS-TextField知多少

    iOS-TextField知多少 //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRect ...

随机推荐

  1. 为什么要使用Hibernate

    因为! a paradigm mismatch between how data is represented in objects versus relational databases ! 对象数 ...

  2. 使用fragmenttabhost后,子fragment怎么获取ID?怎么用getSharedPreferences

    使用fragmenttabhost后,子fragment怎么获取ID?怎么用getSharedPreferences public View onCreateView(LayoutInflater i ...

  3. NumPy(Numeric Python)使用方法

    NumPy官网 参考:<Python数据分析基础教程:NumPy学习指南> 用Python做科学计算(好东西) NumPy是python的核心库,是python机器学习编程的最底层的库,不 ...

  4. Falcon Genome Assembly Tool Kit Manual

    Falcon Falcon: a set of tools for fast aligning long reads for consensus and assembly The Falcon too ...

  5. 将cantk runtime嵌入到现有的APP中

    1,先取cantk-runtime-demos到本地: git clone https://github.com/drawapp8/cantk-runtime-demos 2,创建一个Android ...

  6. java 集合(Map)

    -------------------|Map  储存的数据都是以键值对的形式,键不可重复,值可重复. ----------------------------| HashMap ---------- ...

  7. linux笔记:linux常用命令-帮助命令

    帮助命令:man(获得帮助信息) 帮助命令:help(获得shell内置命令的帮助信息)

  8. 日期操作类--DateFormat类

    简单的DateFormat格式化编码 时间模式字符串用来指定时间格式.在此模式中,所有的ASCII字母被保留为模式字母,定义如下: 字母 描述 示例 G 纪元标记 AD y 四位年份 2001 M 月 ...

  9. C#压缩加密和vb压缩加密

    string[] FileProperties = new string[2]; FileProperties[0] = "C:\\a\\";//待压缩文件目录 FilePrope ...

  10. (10)odoo控制器操作

    -----------------更新时间11:17 2016-09-18 星期日    完善讲解17:44 2016-02-17 星期三-----------------* 控制器Controlle ...