Spring中的aware接口详情
257
2022-09-26
按照要求使用dhcp自动分配IP,划分子网实现网络互通(dhcp的功能是用于自动分配IP地址)
一.要求公司网段192.168.1.0/24,生产部VLAN1有90台PC,销售部VLAN2有50台PC,财务部VLAN3有15台PC,客服部VLAN4有26台PC。要求dhcp自动分配IP,划分子网实现网络互通。二.拓扑图
三.配置SWITCH2syssys sw2vlan batch 10 20group-member e0/0/1 e0/0/2port link-type access port default vlan 10qport-group 2group-member e0/0/3 e0/0/4port link-type accessport link-type access port default vlan 20qint e0/0/5port link-type trunkport trunk allow-pass vlan all
SWITCH3
syssys sw3vlan batch 30 40group-member e0/0/1 e0/0/2port link-type access port default vlan 30qport-group 2group-member e0/0/3 e0/0/4port link-type access port default vlan 40qint e0/0/5port link-type trunkport trunk allow-pass vlan all
SWITCH1
syssys sw1vlan batch 10 20 30 40port-group 1group-member g0/0/1 g0/0/2port link-type trunk port trunk allow-pass vlan all qint vlanif 10ip addr 192.168.1.1 25int vlanif 20ip addr 192.168.1.129 26int vlanif 30ip addr 192.168.1.193 27int vlanif 40ip addr 192.168.1.225 27qdhcp enableip pool 1network 192.168.1.0 mask 25gateway-list 192.168.1.1 dns-list 8.8.8.8lease day 1qip pool 2network 192.168.1.128 mask 26gateway-list 192.168.1.129 dns-list 8.8.8.8lease day 1qip pool 3network 192.168.1.192 mask 27gateway-list 192.168.1.193 dns-list 8.8.8.8lease day 1qip pool 4network 192.168.1.224 mask 27gateway-list 192.168.1.225 dns-list 8.8.8.8lease day 1q
int vlanif 10dhcp select global int vlanif 20dhcp select global int vlanif 30dhcp select global int vlanif 40dhcp select global
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~