F1030 V7防火墙端口配置DHCP无法获取IP地址。
详细配置如下。出口1/0/15,已配置固定IP上网。三层交换接1/0/1口已经配置成功。现在想用1/0/2,1/0/4,1/0/6,1/0/8,1/0/10获取DHCP服务的IP地址。dhcp server ip-pool 1 已经配置地址池。PC连接防火墙1/0/8无法自动获取IP地址,手动配置IP可正常上网。问题:如何自动获取IP地址。
设置列表
对齐方式
[fw]di
[fw]dis cu
[fw]dis current-configuration
#
version 7.1.064,
#
sysname fw
#
clock timezone US minus 06:00:00
clock protocol none
#
context Admin id 1
#
ip vpn-instance management
route-distinguisher 1000000000:1
vpn-target 1000000000:1 import-extcommunity
vpn-target 1000000000:1 export-extcommunity
#
telnet server enable
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1#
#
dhcp enable
dhcp server forbidden-ip 192.168.122.1
dhcp server forbidden-ip 192.168.200.1
undo dhcp relay client-information refresh enable
#
dns proxy enable
dns server 114.114.114.114
#
password-recovery enable
#
vlan 1
#
dhcp server ip-pool 1
gateway-list 192.168.122.1
network 192.168.122.0 mask 255.255.254.0
dns-list 114.114.114.114
#
policy-based-route gm permit node 1
if-match acl 3010
#
nqa entry admin test
type icmp-echo
destination ip 110.15.113.1
frequency 1000
reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only
#
nqa schedule admin test start-time now lifetime forever
#
interface NULL0
#
interface GigabitEthernet1/0/0
port link-mode route
ip address 192.168.100.1 255.255.255.0
undo dhcp select server
#
interface GigabitEthernet1/0/1
port link-mode route
ip address 192.168.0.2 255.255.255.0
nat outbound 3010
nat server protocol tcp global 110.15.113.135 80 inside 192.168.1.19 80
nat hairpin enable
undo dhcp select server
ip policy-based-route gm
#
interface GigabitEthernet1/0/2
port link-mode route
ip address dhcp-alloc
undo dhcp select server
#
interface GigabitEthernet1/0/3
port link-mode route
ip address dhcp-alloc
undo dhcp select server
#
interface GigabitEthernet1/0/4
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/5
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/6
port link-mode route
ip address 192.168.123.1 255.255.255.0
undo dhcp select server
#
interface GigabitEthernet1/0/7
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/8
port link-mode route
ip address 192.168.122.1 255.255.254.0
undo dhcp select server
#
interface GigabitEthernet1/0/9
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/10
port link-mode route
ip address dhcp-alloc
#
interface GigabitEthernet1/0/11
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/12
port link-mode route
bandwidth 100000000
ip address dhcp-alloc
undo dhcp select server
#
interface GigabitEthernet1/0/15
port link-mode route
ip address 110.15.113.135 255.255.255.128
ip last-hop hold
nat outbound 3000
nat server protocol tcp global 110.15.113.135 80 inside 192.168.1.19 80
undo dhcp select server
#
interface GigabitEthernet1/0/17
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/18
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/19
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/20
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/21
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/22
port link-mode route
undo dhcp select server
#
interface GigabitEthernet1/0/23
port link-mode route
undo dhcp select server
#
object-policy ip DMZ-DMZ
rule 0 pass
#
object-policy ip DMZ-Untrust
rule 0 pass
#
object-policy ip Local-Any
rule 0 pass
#
object-policy ip Trust-DMZ
rule 0 pass
#
object-policy ip Trust-Local
rule 0 pass
#
object-policy ip Trust-Untrust
rule 0 pass
#
object-policy ip Untrust-DMZ
rule 0 pass
#
object-policy ip Untrust-Local
rule 0 drop logging
#
object-policy ip Untrust-Untrust
rule 0 pass
#
security-zone name Local
#
security-zone name Trust
import interface GigabitEthernet1/0/1
#
security-zone name DMZ
import interface GigabitEthernet1/0/2
import interface GigabitEthernet1/0/4
import interface GigabitEthernet1/0/6
import interface GigabitEthernet1/0/8
import interface GigabitEthernet1/0/10
#
security-zone name Untrust
import interface GigabitEthernet1/0/15
attack-defense apply policy gongji
#
security-zone name Management
import interface GigabitEthernet1/0/0
#
zone-pair security source DMZ destination DMZ
object-policy apply ip DMZ-DMZ
#
zone-pair security source DMZ destination Untrust
object-policy apply ip DMZ-Untrust
#
zone-pair security source Local destination Any
object-policy apply ip Local-Any
#
zone-pair security source Trust destination DMZ
object-policy apply ip Trust-DMZ
#
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 DMZ
object-policy apply ip Untrust-DMZ
#
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
#
zone-pair security source Untrust destination Untrust
object-policy apply ip Untrust-Untrust
#
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 63
authentication-mode scheme
user-role network-admin
#
ip route-static 0.0.0.0 0 110.15.113.1 track 1
ip
route-static 0.0.0.0 0 110.15.113.135
ip route-static 192.168.0.0 16 192.168.0.1
#
ssh server enable
#
acl advanced 3000
rule 0 permit ip
#
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
#
attack-defense policy gongji
exempt acl 3000
scan detect level low action logging
syn-flood action logging
ack-flood action logging
syn-ack-flood action logging
rst-flood action logging drop
fin-flood action logging drop
udp-flood action logging
icmp-flood action logging
icmpv6-flood action logging
dns-flood action logging
http-flood action logging drop
signature detect fragment action drop logging
signature detect impossible action drop logging
signature detect teardrop action drop logging
signature detect tiny-fragment action drop logging
signature detect ip-option-abnormal action drop logging
signature detect smurf action drop logging
signature detect traceroute action drop logging
signature detect ping-of-death action drop logging
signature detect large-icmp action logging
signature detect large-icmpv6 action logging
signature detect tcp-invalid-flags action drop logging
signature detect tcp-null-flag action drop logging
signature detect tcp-all-flags action drop logging
signature detect tcp-syn-fin action logging
signature detect tcp-fin-only action drop logging
signature detect land action drop logging
signature detect winnuke action drop logging
signature detect udp-bomb action drop logging
signature detect snork action drop logging
signature detect fraggle action drop logging
#
inspect block-source parameter-profile ips_block_default_parameter
#
inspect capture parameter-profile ips_capture_default_parameter
#
inspect logging parameter-profile ips_logging_default_parameter
#
inspect redirect parameter-profile av_redirect_default_parameter
#
inspect redirect parameter-profile ips_redirect_default_parameter
#
inspect redirect parameter-profile url_redirect_default_parameter
#
loadbalance action ##defaultactionforllbipv4##%%autocreatedbyweb%% type link-generic
forward all
#
loadbalance policy ##defaultpolicyforllbipv4##%%autocreatedbyweb%% type link-generic
default-class action ##defaultactionforllbipv4##%%autocreatedbyweb%%
#
virtual-server ##defaultvsforllbipv4##%%autocreatedbyweb%% type link-ip
virtual ip address 0.0.0.0 0
lb-policy ##defaultpolicyforllbipv4##%%autocreatedbyweb%%
#
loadbalance isp file lbispinfo.tp
#
traffic-policy
#
ips policy default
#
anti-virus policy default
#
track 1 nqa entry admin test reaction 1
#
(0)
最佳答案
连PC你需要开启 dhcp select server
(0)
开启也无用。
开启也无用。
以下是DHCP无法自动获取IP地址的参考思路及命令:
1、检查终端接入的端口是否已划分到了相应的VLAN中,且交换机是否能学习到终端的MAC地址:
dis vlan
dis mac-address int gi 1/0/1
2、检查VLAN IP和DHCP地址池分配的IP网段是否在同一个子网内:
dis cu int vlan
dis dhcp server ip-pool
3、检查DHCP内的IP地址是否足够使用:
dis dhcp server ip-in-use
4、如果是在远端的DHCP服务器上,检查路由是否可达:
dis ip routing-table
5、如果是在远端的DHCP服务器上,检查是否配置了DHCP中继:
dis cu int vlan
dis dhcp relay server-address
6、如果配置了DHCP snooping防止获取到其他私接路由器LAN口的DHCP的地址,以下是检查dhcp snooping的配置:
dis dhcp snooping trust
dis dhcp snooping information all
dis dhcp snooping packet statistics
8、防火墙上涉及到的物理端口,VLAN需要加入安全域并放通安全策略或域间策略,尤其是LOCAL域,需分别作为源和目的进行放通。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
有什么方法能实现吗?在下面接一台三层交换机能实现吗?