首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >返回时DHCP数据包丢弃

返回时DHCP数据包丢弃
EN

Network Engineering用户
提问于 2021-04-21 20:30:40
回答 1查看 172关注 0票数 0

DHCP数据包从安全计算机一直到DHCP服务器并返回到Router1,但被卡在那里。当设备分配了静态ip时,所有数据包都会通过。

Router1

代码语言:javascript
复制
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 ip helper-address 192.168.80.2
 ip nat inside
 duplex auto
 speed auto
!
interface FastEthernet0/0.1
 encapsulation dot1Q 10
 ip address 192.168.10.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet0/0.2
 encapsulation dot1Q 20
 ip address 192.168.20.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet0/0.3
 encapsulation dot1Q 30
 ip address 192.168.30.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet1/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial2/0
 ip address 129.137.107.130 255.255.255.128
 ip nat outside
!
interface Serial3/0
 no ip address
 clock rate 2000000
 shutdown
!
interface FastEthernet4/0
 no ip address
 shutdown
!
interface FastEthernet5/0
 no ip address
 shutdown
!
router eigrp 1
 network 129.137.107.128 0.0.0.127
 network 192.168.10.0
 network 192.168.20.0
 network 192.168.30.0
 auto-summary
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end

Router0

代码语言:javascript
复制
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
 duplex auto
 speed auto
!
interface FastEthernet0/0.1
 encapsulation dot1Q 2
 ip address 192.168.2.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet0/0.2
 no ip address
 shutdown
!
interface FastEthernet0/0.3
 encapsulation dot1Q 20
 ip address 192.168.20.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet0/0.5
 encapsulation dot1Q 40
 ip address 192.168.40.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet0/0.6
 encapsulation dot1Q 50
 ip address 192.168.50.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet0/0.7
 encapsulation dot1Q 60
 ip address 192.168.60.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet0/0.8
 encapsulation dot1Q 70
 ip address 192.168.70.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
!
interface FastEthernet1/0
 ip address 192.168.80.1 255.255.255.0
 ip helper-address 192.168.80.2
 ip nat inside
 duplex auto
 speed auto
!
interface Serial2/0
 ip address 129.137.107.129 255.255.255.128
 ip nat outside
 clock rate 2000000
!
interface Serial3/0
 no ip address
 clock rate 2000000
 shutdown
!
interface FastEthernet4/0
 no ip address
 shutdown
!
interface FastEthernet5/0
 no ip address
 shutdown
!
router eigrp 1
 network 129.137.107.128 0.0.0.127
 network 192.168.2.0
 network 192.168.20.0
 network 192.168.40.0
 network 192.168.50.0
 network 192.168.60.0
 network 192.168.70.0
 network 192.168.80.0
 auto-summary
!
ip nat inside source list 10 interface Serial2/0 overload
ip nat inside source static tcp 192.168.80.3 80 129.137.107.131 80 
ip classless
!
ip flow-export version 9
!
!
access-list 10 permit 192.168.0.0 0.0.255.255
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end
EN

回答 1

Network Engineering用户

回答已采纳

发布于 2021-04-22 06:02:59

从路由器1删除所有剩余的NAT命令,从fa1/0删除内部命令,现在DHCP正在工作。

票数 1
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/73596

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档