4-11口加入到VLAN 100,建立DHCP服务器,客户端不能获得IP地址
vlan 100
#
dhcp server ip-pool vlan100
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
dns-list 192.168.1.1
#
interface NULL0
#
interface Vlan-interface100
ip address 192.168.1.1 255.255.255.0
dhcp server apply ip-pool vlan100
#
interface GigabitEthernet1/0/0
port link-mode route
combo enable copper
ip address 192.168.0.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode route
combo enable fiber
#
interface GigabitEthernet1/0/2
port link-mode route
#
interface GigabitEthernet1/0/3
port link-mode route
#
interface GigabitEthernet1/0/4
port link-mode bridge
port access vlan 100
#
interface GigabitEthernet1/0/5
port link-mode bridge
port access vlan 100
#
interface GigabitEthernet1/0/6
port link-mode bridge
port access vlan 100
#
interface GigabitEthernet1/0/7
port link-mode bridge
port access vlan 100
#
interface GigabitEthernet1/0/8
port link-mode bridge
port access vlan 100
#
interface GigabitEthernet1/0/9
port link-mode bridge
port access vlan 100
#
interface GigabitEthernet1/0/10
port link-mode bridge
port access vlan 100
#
interface GigabitEthernet1/0/11
port link-mode bridge
port access vlan 100
#
security-zone name Local
#
security-zone name Trust
import interface Vlan-interface100
#
security-zone name DMZ
#
security-zone name Untrust
import interface GigabitEthernet1/0/1
import interface GigabitEthernet1/0/2
#
security-zone name Management
import interface GigabitEthernet1/0/0 #
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论