#
version 5.20, Release 2516P28
#
sysname H3C
#
password-control enable
undo password-control aging enable
undo password-control history enable
password-control length 6
password-control login-attempt 3 exceed lock-time 10
password-control password update interval 0
password-control login idle-time 0
password-control complexity user-name check
#
domain default enable system
#
dar p2p signature-file flash:/p2p_default.mtd
#
port-security enable
#
password-recovery enable
#
vlan 1
#
vlan 8
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool vlan1 extended
network ip range 192.168.2.100 192.168.2.199
network mask 255.255.254.0
gateway-list 192.168.2.1
dns-list 192.168.2.1
#
dhcp server ip-pool vlan8 extended
network ip range 192.168.0.100 192.168.0.200
network mask 255.255.254.0
gateway-list 192.168.0.1
dns-list 192.168.0.1
#
user-group system group-attribute allow-guest
#
local-user admin
authorization-attribute level 3
service-type web
#
cwmp
undo cwmp enable
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Cellular0/0
async mode protocol
link-protocol ppp
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.2.1 255.255.254.0
dhcp server apply ip-pool vlan1
#
interface Vlan-interface8
ip address 192.168.0.1 255.255.254.0
dhcp server apply ip-pool vlan8
#
interface GigabitEthernet0/0
port link-mode route
ip address dhcp-alloc
#
interface GigabitEthernet0/1
port link-mode route
#
interface GigabitEthernet0/2
port link-mode bridge
#
interface GigabitEthernet0/3
port link-mode bridge
port access vlan 8
#
interface GigabitEthernet0/4
port link-mode bridge
port access vlan 8
#
interface GigabitEthernet0/5
port link-mode bridge
port access vlan 8
#
interface GigabitEthernet0/6
port link-mode bridge
port access vlan 8
#
interface GigabitEthernet0/7
port link-mode bridge
port access vlan 8
#
interface GigabitEthernet0/8
port link-mode bridge
port access vlan 8
#
interface GigabitEthernet0/9
port link-mode bridge
port access vlan 8
#
dhcp enable
#
load xml-configuration
#
load tr069-configuration
#
user-interface tty 12
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return
(0)
最佳答案
看了你的配置,1、你没有配置路由,2、你没有配置外网口的NAT outbound
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
默认路由获取上就有了,我dhcp写的dns是网关,是不是还得点儿什么让dns去找上级路由分配的dns,谢谢