网络小白学网工笔记(1):单臂路由实验(单臂路由技术)

网友投稿 240 2022-09-21


网络小白学网工笔记(1):单臂路由实验(单臂路由技术)

####################华为单臂路由试验#############################交换机配置#########system-viewEnter system view, return user view with Ctrl+Z.[Huawei]interface GigabitEthernet0/0/1[Huawei-GigabitEthernet0/0/1]port link-type trunk[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all[Huawei-GigabitEthernet0/0/1]interface GigabitEthernet0/0/2[Huawei-GigabitEthernet0/0/2]port link-type access[Huawei-GigabitEthernet0/0/2]port default vlan 10[Huawei-GigabitEthernet0/0/2]interface GigabitEthernet0/0/3[Huawei-GigabitEthernet0/0/3]port link-type access[Huawei-GigabitEthernet0/0/3]port default vlan 20

#########路由器配置#########system-viewEnter system view, return user view with Ctrl+Z.第一步:子接口配置VLAN和网关[Huawei]interface GigabitEthernet 0/0/0.1[Huawei-GigabitEthernet0/0/0.1]dot1q termination vid 10[Huawei-GigabitEthernet0/0/0.1]ip address 192.168.10.254 24[Huawei-GigabitEthernet0/0/0.1]interface GigabitEthernet 0/0/0.2[Huawei-GigabitEthernet0/0/0.2]dot1q termination vid 20[Huawei-GigabitEthernet0/0/0.2]ip address 192.168.20.254 24[Huawei-GigabitEthernet0/0/0.2]interface g0/0/0.1第二步:开启arp广播(必须开启)和dhcp功能(可手动配置ip)[Huawei-GigabitEthernet0/0/0.1]arp broadcast enable[Huawei-GigabitEthernet0/0/0.1]dhcp select interfaceError: Please enable DHCP in the global view first.[Huawei-GigabitEthernet0/0/0.1]

Please check whether system data has been changed, and save data in time

Configuration console time out, please press any key to log on

system-viewEnter system view, return user view with Ctrl+Z.[Huawei]dhcp enableInfo: The operation may take a few seconds. Please wait for a moment.done.[Huawei]interface g0/0/0.1[Huawei-GigabitEthernet0/0/0.1]dhcp select interface[Huawei-GigabitEthernet0/0/0.1]interface g0/0/0.2[Huawei-GigabitEthernet0/0/0.2]arp broadcast enable[Huawei-GigabitEthernet0/0/0.2]dhcp select interface[Huawei-GigabitEthernet0/0/0.2]


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:CCNP(ISCW)实验:配置GRE隧道(2.0)
下一篇:spring boot的健康检查HealthIndicators实战
相关文章

 发表评论

暂时没有评论,来抢沙发吧~