1、网络基础
1.1、网线的制作:
1.2、网络ip:
1、
2、
3、
4、
5、
1.3、子网划分:
1、
2、
3、
4、
5、
1.4、传输层协议:
1.5、划分子网示例:
hostnumber=2^11-2
subnetnumber=2^5=32
子网计算:256/32=8,0-7、8-15、16-23。。。。。255
Subnet , Valid Hosts , Broadcast
168.195.0.0 , 168.195.0.1 to 168.195.7.254 , 168.195.7.255
168.195.8.0 , 168.195.8.1 to 168.195.15.254 , 168.195.15.255
168.195.16.0 , 168.195.16.1 to 168.195.23.254 , 168.195.23.255
168.195.24.0 , 168.195.24.1 to 168.195.31.254 , 168.195.31.255
168.195.32.0 , 168.195.32.1 to 168.195.39.254 , 168.195.39.255
168.195.40.0 , 168.195.40.1 to 168.195.47.254 , 168.195.47.255
168.195.48.0 , 168.195.48.1 to 168.195.55.254 , 168.195.55.255
168.195.56.0 , 168.195.56.1 to 168.195.63.254 , 168.195.63.255
168.195.64.0 , 168.195.64.1 to 168.195.71.254 , 168.195.71.255
168.195.72.0 , 168.195.72.1 to 168.195.79.254 , 168.195.79.255
168.195.80.0 , 168.195.80.1 to 168.195.87.254 , 168.195.87.255
168.195.88.0 , 168.195.88.1 to 168.195.95.254 , 168.195.95.255
168.195.96.0 , 168.195.96.1 to 168.195.103.254 , 168.195.103.255
168.195.104.0 , 168.195.104.1 to 168.195.111.254 , 168.195.111.255
168.195.112.0 , 168.195.112.1 to 168.195.119.254 , 168.195.119.255
168.195.120.0 , 168.195.120.1 to 168.195.127.254 , 168.195.127.255
168.195.128.0 , 168.195.128.1 to 168.195.135.254 , 168.195.135.255
168.195.136.0 , 168.195.136.1 to 168.195.143.254 , 168.195.143.255
168.195.144.0 , 168.195.144.1 to 168.195.151.254 , 168.195.151.255
168.195.152.0 , 168.195.152.1 to 168.195.159.254 , 168.195.159.255
168.195.160.0 , 168.195.160.1 to 168.195.167.254 , 168.195.167.255
168.195.168.0 , 168.195.168.1 to 168.195.175.254 , 168.195.175.255
168.195.176.0 , 168.195.176.1 to 168.195.183.254 , 168.195.183.255
168.195.184.0 , 168.195.184.1 to 168.195.191.254 , 168.195.191.255
168.195.192.0 , 168.195.192.1 to 168.195.199.254 , 168.195.199.255
168.195.200.0 , 168.195.200.1 to 168.195.207.254 , 168.195.207.255
168.195.208.0 , 168.195.208.1 to 168.195.215.254 , 168.195.215.255
168.195.216.0 , 168.195.216.1 to 168.195.223.254 , 168.195.223.255
168.195.224.0 , 168.195.224.1 to 168.195.231.254 , 168.195.231.255
168.195.232.0 , 168.195.232.1 to 168.195.239.254 , 168.195.239.255
168.195.240.0 , 168.195.240.1 to 168.195.247.254 , 168.195.247.255
168.195.248.0 , 168.195.248.1 to 168.195.255.254 , 168.195.255.255
1.6、透明桥接:
过滤、转发、泛洪数据帧。
1.7、访问网络设备的方法:
1、console口本地访问
2、通过aux口远程访问
3、通过Telnet终端访问
4、通过ssh终端访问
5、通过异步串口访问
1.8、视图:
1.9、h3c的访问级别:
0:访问级别
1:监控级
2:系统级别
3:管理员级别
1.10、常用快捷键:
ctrl+a:光标移到开头
ctrl+e:贯标移到计委
ctrl+z:退出当前视图
ctrl+d:删除当前光标所在位置的字符
ctrl+w:一段一段字符串的删
ctrl+c:退出当前执行的命令
1.11、常用命令:
display clock:显示时间
clock datetime 1:15 2018/8/15
display ip inteface brief:显示接口ip状态与配置信息
display inetrface:显示接口信息
display ip routing-table:产看当前路由表
display current-configuration:查看当前系统的配置
display save-configuration :查看已经保存的配置
display version:查看系统版本信息
display diagnostic-information:查看系统的所有信息
display history-command:显示历史配置信息
1.12、生活中用路由器架网:
1、nat转换器特点:路由器下层地址段可以访问上层地址段,路由器上层地址段不可以访问下层地址段。
2、必须是内网ip段地址(公网会和外网冲突),保证路由器下层地址段和上层地址段不能重复即可。