客户端无法获取IP地址
配置如下:
<H3C>dis save # version 7.1.064, Release 9510P06 # sysname H3C # context Admin id 1 # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dialer-group 10 rule ip permit # dhcp enable # dns server 202.96.64.68 dns server 202.96.69.38 dns server 8.8.8.8 # password-recovery enable # vlan 1 # vlan 10 description for neiwang # dhcp server ip-pool vlan10 gateway-list 192.168.11.1 network 192.168.1.0 mask 255.255.255.0 address range 192.168.1.2 192.168.1.200 dns-list 202.96.64.68 202.96.69.38 # ddns policy abcd url ***.*** username abcd password cipher $c$3$hWOgb7wj9zXybrnahcQjTOlSICkWbes= interval 0 0 10 # interface Dialer10 # interface NULL0 # interface Vlan-interface10 ip address 192.168.1.1 255.255.255.0 # interface GigabitEthernet1/0/0 port link-mode route ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route # interface GigabitEthernet1/0/2 port link-mode route nat outbound pppoe-client dial-bundle-number 10 # interface GigabitEthernet1/0/3 port link-mode route # interface GigabitEthernet1/0/4 port link-mode bridge port access vlan 10 # interface GigabitEthernet1/0/5 port link-mode bridge port access vlan 10 # interface GigabitEthernet1/0/6 port link-mode bridge port access vlan 10 # interface GigabitEthernet1/0/7 port link-mode bridge port access vlan 10 # object-policy ip Local-Trust rule 0 pass counting # object-policy ip Local-Untrust rule 0 pass counting # object-policy ip Trust-Local rule 0 pass counting # object-policy ip Trust-Trust rule 0 pass counting # object-policy ip Trust-Untrust rule 0 pass counting # object-policy ip Untrust-Local rule 0 pass counting # object-policy ip Untrust-Trust rule 0 pass counting # security-zone name Local # security-zone name Trust # security-zone name DMZ # security-zone name Untrust import interface Dialer10 import interface GigabitEthernet1/0/2 # security-zone name Management import interface GigabitEthernet1/0/0 # zone-pair security source Local destination Trust object-policy apply ip Local-Trust # zone-pair security source Local destination Untrust object-policy apply ip Local-Untrust # zone-pair security source Trust destination Local object-policy apply ip Trust-Local # zone-pair security source Trust destination Trust object-policy apply ip Trust-Trust # zone-pair security source Trust destination Untrust object-policy apply ip Trust-Untrust # zone-pair security source Untrust destination Local object-policy apply ip Untrust-Local # zone-pair security source Untrust destination Trust object-policy apply ip Untrust-Trust # scheduler logfile size 16 # line class aux user-role network-operator # line class console user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line con 0 authentication-mode scheme user-role network-admin # line vty 0 4 authentication-mode scheme user-role level-15 user-role network-admin user-role network-operator # line vty 5 63 authentication-mode scheme user-role network-admin # ip route-static 0.0.0.0 0 Dialer10 # ssh server enable # domain system # aaa session-limit ftp 16 aaa session-limit telnet 16 aaa session-limit ssh 16 domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # ip https enable # return <H3C>dis int brief Brief information on interfaces in route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Primary IP Description Dia10 UP DOWN -- GE1/0/0 UP UP 192.168.0.1 GE1/0/1 DOWN DOWN -- GE1/0/2 DOWN DOWN -- GE1/0/3 DOWN DOWN -- InLoop0 UP UP(s) -- NULL0 UP UP(s) -- REG0 UP -- -- Vlan10 DOWN DOWN 192.168.1.1 Brief information on interfaces in bridge mode: Link: ADM - administratively down; Stby - standby Speed: (a) - auto Duplex: (a)/A - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Interface Link Speed Duplex Type PVID Description GE1/0/4 DOWN auto A A 10 GE1/0/5 DOWN auto A A 10 GE1/0/6 DOWN auto A A 10 GE1/0/7 DOWN auto A A 10
wan:pppoe
lan:192.168.1.x
(0)
最佳答案
有没有放通local到trust 以及trust到local的安全策略,可以下载下面链接里面的轻轻松松配安全,里面有相应配置上网的案例
(0)
<H3C>dis save # version 7.1.064, Release 9510P06 # sysname H3C # context Admin id 1 # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dialer-group 10 rule ip permit # dhcp enable # dns server 202.96.64.68 dns server 202.96.69.38 dns server 8.8.8.8 # password-recovery enable # vlan 1 # vlan 10 description for neiwang # dhcp server ip-pool vlan10 gateway-list 192.168.11.1 network 192.168.1.0 mask 255.255.255.0 address range 192.168.1.2 192.168.1.200 dns-list 202.96.64.68 202.96.69.38 # ddns policy abcd url ***.*** username abcd password cipher $c$3$hWOgb7wj9zXybrnahcQjTOlSICkWbes= interval 0 0 10 # interface Dialer10 # interface NULL0 # interface Vlan-interface10 ip address 192.168.1.1 255.255.255.0 # interface GigabitEthernet1/0/0 port link-mode route ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route # interface GigabitEthernet1/0/2 port link-mode route nat outbound pppoe-client dial-bundle-number 10 # interface GigabitEthernet1/0/3 port link-mode route # interface GigabitEthernet1/0/4 port link-mode bridge port access vlan 10 # interface GigabitEthernet1/0/5 port link-mode bridge port access vlan 10 # interface GigabitEthernet1/0/6 port link-mode bridge port access vlan 10 # interface GigabitEthernet1/0/7 port link-mode bridge port access vlan 10 # object-policy ip Local-Trust rule 0 pass counting # object-policy ip Local-Untrust rule 0 pass counting # object-policy ip Trust-Local rule 0 pass counting # object-policy ip Trust-Trust rule 0 pass counting # object-policy ip Trust-Untrust rule 0 pass counting # object-policy ip Untrust-Local rule 0 pass counting # object-policy ip Untrust-Trust rule 0 pass counting # security-zone name Local # security-zone name Trust # security-zone name DMZ # security-zone name Untrust import interface Dialer10 import interface GigabitEthernet1/0/2 # security-zone name Management import interface GigabitEthernet1/0/0 # zone-pair security source Local destination Trust object-policy apply ip Local-Trust # zone-pair security source Local destination Untrust object-policy apply ip Local-Untrust # zone-pair security source Trust destination Local object-policy apply ip Trust-Local # zone-pair security source Trust destination Trust object-policy apply ip Trust-Trust # zone-pair security source Trust destination Untrust object-policy apply ip Trust-Untrust # zone-pair security source Untrust destination Local object-policy apply ip Untrust-Local # zone-pair security source Untrust destination Trust object-policy apply ip Untrust-Trust # scheduler logfile size 16 # line class aux user-role network-operator # line class console user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line con 0 authentication-mode scheme user-role network-admin # line vty 0 4 authentication-mode scheme user-role level-15 user-role network-admin user-role network-operator # line vty 5 63 authentication-mode scheme user-role network-admin # ip route-static 0.0.0.0 0 Dialer10 # ssh server enable # domain system # aaa session-limit ftp 16 aaa session-limit telnet 16 aaa session-limit ssh 16 domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # ip https enable # return <H3C>dis int brief Brief information on interfaces in route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Primary IP Description Dia10 UP DOWN -- GE1/0/0 UP UP 192.168.0.1 GE1/0/1 DOWN DOWN -- GE1/0/2 DOWN DOWN -- GE1/0/3 DOWN DOWN -- InLoop0 UP UP(s) -- NULL0 UP UP(s) -- REG0 UP -- -- Vlan10 DOWN DOWN 192.168.1.1 Brief information on interfaces in bridge mode: Link: ADM - administratively down; Stby - standby Speed: (a) - auto Duplex: (a)/A - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Interface Link Speed Duplex Type PVID Description GE1/0/4 DOWN auto A A 10 GE1/0/5 DOWN auto A A 10 GE1/0/6 DOWN auto A A 10 GE1/0/7 DOWN auto A A 10
别人帮配置的,看不太懂配置!
这边配置太乱了,也看太清,获取不到地址主要应该是安全策略的关系,您可以照着我给您发的链接里面的案例来检查一下
好 我试试
ok
界面不一样呢,我的型号是F1000-AK108
http://www.h3c.com/cn/Service/Document_Software/Document_Center/IP_Security/FW_VPN/F5000/Configure/Typical_Configuration_Example/H3C_Web_CE(V7)-5W101/ 照着这个链接,里面有配置案例集
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
http://www.h3c.com/cn/Service/Document_Software/Document_Center/IP_Security/FW_VPN/F5000/Configure/Typical_Configuration_Example/H3C_Web_CE(V7)-5W101/ 照着这个链接,里面有配置案例集