命令行配置VLAN,并配置DHCP服务,并把员工和访客分配到不同网关。
命令行配置VLAN,并配置DHCP服务,并把员工和访客分配到不同网关。
(0)
最佳答案
[H3C]interface Vlan-interface 1
[H3C-Vlan-interface1]ip address 192.168.1.2 255.255.255.0
[H3C-Vlan-interface1]quit
[H3C]interface Vlan-interface 2
[H3C-Vlan-interface2]ip address 192.168.2.1 255.255.255.0
[H3C-Vlan-interface2]quit
[H3C]dhcp enable
[H3C]dhcp server ip-pool 1
[H3C-dhcp-pool-1]network 192.168.2.0 mask 255.255.255.0
[H3C-dhcp-pool-1]gateway-list 192.168.2.1
[H3C-dhcp-pool-1]dns-list 8.8.8.8 114.114.114.114
(0)
vlan10
des yuangong
vlan 20
des fangke
int vl 10
ip add 192.168.10.1 24
int vl 20
ip add 192.168.20.1
dhcp en
dhcp serve ip-poo vlan10
gateway-list 192.168.10.1
network 192.168.10.0 mask 255.255.255.0
dns-list 223.5.5.5
exp day 0 hour 8
dhcp serve ip-poo vlan20
gateway-list 192.168.20.1
network 192.168.10.0 mask 255.255.255.0
dns-list 223.5.5.5
exp day 0 hour 8
wlan service-template yuangong
vlan 10
ssid yuangong
akm mode psk
preshared-key pass-phrase simple 12345678
cipher-suite ccmp
cipher-suite tkip
security-ie rsn
security-ie wpa
service-template enable
wlan service-template fangke
vlan 20
ssid fangke
akm mode psk
preshared-key pass-phrase simple 12345678
cipher-suite ccmp
cipher-suite tkip
security-ie rsn
security-ie wpa
service-template enable
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论