其他分享
首页 > 其他分享> > HCIP实验

HCIP实验

作者:互联网

1.HCIP静态路由实验

 我的拓扑图

4.pc通过dhcp获取地址

 代码

[R3]dhcp enable
[R3]ip pool xixi
[R3-ip-pool-xixi]network 192.168.1.96 mask 27
[R3-ip-pool-xixi]gateway-list 192.168.1.97
[R3-ip-pool-xixi]dns-list 8.8.8.8
[R3]int g0/0/2
[R3-GigabitEthernet0/0/2]dhcp select global

结果

5.路由器上的环回接口经过汇总,会产生路由黑洞,在汇总路由上写上防环空接口

[R1]ip route-static 192.168.1.32 27 NULL 0

[R2]ip route-static 192.168.1.64 27 NULL 0

[R4]ip route-static 192.168.1.128 27 NULL 0

在R5上设置acl,使192.168.1.0/24可以访问外网

R1到R5都能访问到R6的环回

R2到R5就不演示了

2.windows 下查询端口号与进程号关系的命令

1)查看占用端口号的进程

2)根据端口号查看对应的服务进程

3.三次握手详情

标签:27,R3,HCIP,192.168,实验,ip,xixi,pool
来源: https://blog.csdn.net/a_sshead/article/details/118499503