- 积分
- 77
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2015-11-10
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
![Rank: 2](https://cdn.hh010.com/static/image/common/star_level1.gif) ![Rank: 2](https://cdn.hh010.com/static/image/common/star_level1.gif)
|
![](https://cdn.hh010.com/static/image/common/ico_lz.png)
楼主 |
发表于 2018-10-24 21:34:37
|
显示全部楼层
本帖最后由 songliangxiaoyu 于 2018-10-24 21:38 编辑
client 1
Packet Tracer PC Command Line 1.0
C:\>ipconfig
FastEthernet0 Connection default port)
Link-local IPv6 Address.........: ::
Autoconfiguration IP Address....: 169.254.163.52
Subnet Mask.....................: 255.255.0.0
Default Gateway.................: 0.0.0.0
获取不到IP地址
ASW1配置
ASW1#show running-config
Building configuration...
Current configuration : 2481 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname ASW1
!
!
!
!
!
clock timezone UTC 0
!
!
!
ip routing
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode rapid-pvst
!
!
!
!
!
!
interface Port-channel 13
description L2 dot1Q Trunk to DSW1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Port-channel 23
description L2 dot1Q Trunk to DSW2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
spanning-tree portfast
duplex full
speed 100
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
spanning-tree portfast
duplex full
speed 100
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 13 mode on
duplex full
speed 100
!
interface FastEthernet0/20
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 13 mode on
duplex full
speed 100
!
interface FastEthernet0/21
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 23 mode on
duplex full
speed 100
!
interface FastEthernet0/22
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 23 mode on
duplex full
speed 100
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
!
interface Vlan10
description Client VLAN on ASW1
mac-address 0003.e41a.b101
no ip address
!
interface Vlan200
description Netw- Management VLAN
mac-address 0003.e41a.b102
ip address 192.168.1.131 255.255.255.224
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.129
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
logging synchronous
!
line aux 0
!
line vty 0 4
login
!
!
ntp authentication-key 1 md5 08157F66263631 7
ntp authenticate
ntp trusted-key 1
ntp server 209.65.200.241 key 1
ntp update-calendar
!
end
DSW1配置
DSW1#show run
DSW1#show running-config
Building configuration...
Current configuration : 3483 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname DSW1
!
!
!
!
!
clock timezone UTC 0
!
!
!
ip routing
!
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode rapid-pvst
spanning-tree vlan 1,10,200 priority 16384
!
!
!
!
!
!
interface Loopback1
description IPv4, IPv6 & RIPng Test I/F
ip address 11.11.11.11 255.255.255.255
ipv6 address FEC0::11:1/122
ipv6 rip RIP_ZONE enable
!
interface Port-channel 12
description IPv4 (L3) Port-channel to DSW2
no switchport
ip address 10.2.4.13 255.255.255.252
!
interface Port-channel 13
description L2 dot1Q Trunk to ASW1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Port-channel 14
description L2 dot1Q Trunk to ASW2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/1
description L3 UpLink to R4 Fa0/0
no switchport
ip address 10.1.4.6 255.255.255.252
duplex full
speed 100
ipv6 address 2026::2:2/122
ipv6 rip RIP_ZONE enable
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 13 mode on
duplex full
speed 100
!
interface FastEthernet0/20
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 13 mode on
duplex full
speed 100
!
interface FastEthernet0/21
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 14 mode on
duplex full
speed 100
!
interface FastEthernet0/22
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 14 mode on
duplex full
speed 100
!
interface FastEthernet0/23
description IPv4 (L3) Po12 Channel to DSW2 Fa0/23
no switchport
no ip address
duplex full
speed 100
!
interface FastEthernet0/24
description IPv6 Link to DSW2 Fa0/24
no switchport
no ip address
duplex full
speed 100
ipv6 address 2026::3:1/122
ipv6 rip RIP_ZONE enable
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
!
interface Vlan10
description Client VLAN from ASW1
mac-address 00e0.a3e3.3901
ip address 10.2.1.1 255.255.255.0
ip helper-address 10.1.21.129
standby 10 ip 10.2.1.254
standby 10 priority 150
standby 10 preempt
standby 10 track FastEthernet0/1
!
interface Vlan20
description Client VLAN from ASW2
mac-address 00e0.a3e3.3902
ip address 10.2.2.1 255.255.255.0
!
interface Vlan200
description Netw- Management VLAN
mac-address 00e0.a3e3.3903
ip address 192.168.1.129 255.255.255.224
!
router eigrp 10
network 10.1.4.4 0.0.0.3
network 10.2.0.0 0.0.255.255
network 192.168.1.128 0.0.0.31
network 11.11.11.11 0.0.0.0
no auto-summary
!
ipv6 router rip RIP_ZONE
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
!
line aux 0
!
line vty 0 4
login
!
!
ntp authentication-key 1 md5 08157F66263631 7
ntp authenticate
ntp trusted-key 1
ntp server 209.65.200.241 key 1
ntp update-calendar
!
end
R4配置
R4#show run
R4#show running-config
Building configuration...
Current configuration : 2559 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R4
!
!
!
!
ip dhcp excluded-address 10.2.1.254
ip dhcp excluded-address 10.2.1.1 10.2.1.253
!
ip dhcp pool VLAN_10_CLIENTS
network 10.2.1.0 255.255.255.0
default-router 10.2.1.254
clock timezone UTC 0
!
!
!
!
ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback4
description Test I/F for OSPFv2 & OSPFv3 Routing
ip address 4.4.4.4 255.255.255.255
ipv6 address FEC0::4:4/122
ipv6 ospf 6 area 34
!
interface Loopback14
description Test I/F for RIPng Routing
no ip address
ipv6 address FEC0::14:4/122
ipv6 rip RIP_ZONE enable
!
interface Loopback21
description Test I/F for EIGRPv4 Routing & IP(v4) Helper Loopback I/F
ip address 10.1.21.129 255.255.255.224
!
interface Tunnel34
no ip address
mtu 1476
ipv6 address 2026::34:2/122
ipv6 ospf 6 area 34
tunnel source Loopback4
tunnel destination 3.3.3.3
tunnel mode ipv6ip
!
!
interface FastEthernet0/0
description L3 Link to DSW1 fa0/1
ip address 10.1.4.5 255.255.255.252
duplex full
speed 100
ipv6 address 2026::2:1/122
ipv6 rip RIP_ZONE enable
!
interface FastEthernet0/1
description L3 Link to DSW2 fa0/14
ip address 10.1.4.9 255.255.255.252
duplex full
speed 100
!
interface Serial0/0/0
no ip address
encapsulation frame-relay
!
interface Serial0/0/0.34 point-to-point
description Link to R3 s0/0/0.34
ip address 10.1.1.10 255.255.255.252
frame-relay interface-dlci 434
clock rate 2000000
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router eigrp 10
redistribute ospf 1 metric 100000 10 255 1 1500
network 10.1.4.4 0.0.0.3
network 10.1.4.8 0.0.0.3
network 10.1.21.128 0.0.0.31
no auto-summary
!
router ospf 1
router-id 4.4.4.4
log-adjacency-changes
area 34 nssa
redistribute eigrp 10 metric-type 1 subnets
network 10.1.1.8 0.0.0.3 area 34
network 4.4.4.4 0.0.0.0 area 34
!
ipv6 router ospf 6
router-id 4.4.4.4
log-adjacency-changes
redistribute rip RIP_ZONE
redistribute connected
!
ipv6 router rip RIP_ZONE
redistribute ospf 6 metric 4
redistribute connected metric 3
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
!
line aux 0
!
line vty 0 4
login
!
!
ntp authentication-key 1 md5 08157F66263631 7
ntp authenticate
ntp trusted-key 1
ntp server 209.65.200.241 key 1
ntp update-calendar
!
end
到底是哪个设备配置问题导致CLIENT1获取不到IP地址,谢谢! (下面是拓扑图)
|
地板
2018-10-24 21:34:37
回复(0)
收起回复
|