欢迎来到天天文库
浏览记录
ID:59300098
大小:17.00 KB
页数:2页
时间:2020-09-06
《华为路由器 下接三层交换机配置.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、华为路由器下接三层交换机配置华为路由器,下接三层交换机,举例:分配给单位固定IP59.45.165.58网关59.45.165.57DNS255.255.255.252超级终端960081无配置命令systemnataddress-group159.45.165.5859.45.165.58NETMSK255,.255.255.0aclnumber3000rule0permitipsource192.168.1.00.0.0.255管理接口vlan1rule1permitipsource192.168.2.00.0.0.255允许三层交换机vlan2允许上
2、网rule2permitipsource192.168.3.00.0.0.255允许三层交换机vlan3允许上网干脆允许所有vlan通过rule0permitipsourceanyany允许三层交换机所有vlan允许上网interfaceEthernet0/1ipaddress192.168.1.2255.255.255.0路由器内网口地址inteth0/0ipadd59.45.165.58外网IP+掩码natoutbound3000address-group1iproute-static0.0.0.00.0.0.059.45.165.57外网网关dns-
3、server255.255.255.252(假设的dns地址)然后是三层交换机配置sysvlan1porteth0/1ipaddress192.168.1.1255.255.255.0三层交换机上接路由器内网口quitiproute0.0.0.00.0.0.0192.168.1.2你路由的内网接口接交换机1口vlan2porteth0/2ipaddress192.168.2.1255.255.255.0三层交换机上起三层接口vlan2quitVLAN2下的电脑能上依此类推注意cisco交换机和h3c、华为交换机的配置区别
此文档下载收益归作者所有