cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
770
Views
0
Helpful
2
Replies

Issues with DHCP over multiple Etherchannels

Rudy9746
Level 1
Level 1

Hello,

 

I'm trying to set up DHCP with the following parameters:

  • New Branch Router should provide DHCP addresses for both R&D and Admin PC’s.
    • Exclude the first 500 addresses for R&D
    • Exclude the first 100 addresses for Admin

But the request always fails. I can't figure out what I'm doing wrong. Any help is appreciated!

Here is my Topo:

Capture2.PNG

Here are my configs:

 

New Branch

ip dhcp excluded-address 172.16.0.1 172.16.1.254
ip dhcp excluded-address 172.16.0.1 172.16.0.126
!
ip dhcp pool R&D_DHCP
network 172.16.0.0 255.255.252.0
default-router 172.16.0.1
ip dhcp pool ADMIN_DHCP
network 172.16.4.0 255.255.254.0
default-router 172.16.4.1
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524UWTS
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Tunnel10
ip address 10.1.1.2 255.255.255.252
mtu 1476
tunnel source Serial0/0/0
tunnel destination 209.165.200.1
!
!
interface GigabitEthernet0/0
no ip address
ip nat inside
duplex auto
speed auto
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 172.16.0.1 255.255.255.0
!
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 172.16.4.1 255.255.255.0
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 209.165.200.10 255.255.255.252
ip nat outside
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router eigrp 10
passive-interface GigabitEthernet0/0
network 10.1.1.0 0.0.0.3
network 172.16.0.0 0.0.3.255
network 172.16.4.0 0.0.1.255

!
router bgp 6503
bgp log-neighbor-changes
no synchronization
neighbor 209.165.200.9 remote-as 6502
network 209.165.200.8 mask 255.255.255.252
!
ip nat inside source list 9 interface Serial0/0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 209.165.200.9
!
ip flow-export version 9
!
!
access-list 9 permit 172.16.0.0 0.0.7.255
!

 

Switch 2

spanning-tree mode pvst

spanning-tree extend system-id

!

interface Port-channel1

switchport trunk allowed vlan 10,20

switchport mode trunk

!

interface Port-channel2

switchport trunk allowed vlan 10,20

switchport mode trunk

!

interface FastEthernet0/1

switchport trunk allowed vlan 10,20

switchport mode trunk

!

interface FastEthernet0/2

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 2 mode desirable

!

interface FastEthernet0/3

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 2 mode desirable

!

interface FastEthernet0/4

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 1 mode desirable

!

interface FastEthernet0/5

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 1 mode desirable

!

 

Switch 1

interface Port-channel1

switchport trunk allowed vlan 10,20

switchport mode trunk

!

interface Port-channel3

switchport trunk allowed vlan 10,20

switchport mode trunk

!

interface FastEthernet0/1

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 3 mode desirable

!

interface FastEthernet0/2

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 3 mode desirable

!

interface FastEthernet0/3

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 1 mode desirable

!

interface FastEthernet0/4

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 1 mode desirable

!

interface FastEthernet0/5

switchport access vlan 20

switchport mode access

 

 

Switch 0

interface Port-channel2

switchport trunk allowed vlan 10,20

switchport mode trunk

!

interface Port-channel6

switchport trunk allowed vlan 10,20

switchport mode trunk

!

interface FastEthernet0/1

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 2 mode desirable

!

interface FastEthernet0/2

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 2 mode desirable

!

interface FastEthernet0/3

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 6 mode desirable

!

interface FastEthernet0/4

switchport trunk allowed vlan 10,20

switchport mode trunk

channel-group 6 mode desirable

!

interface FastEthernet0/5

switchport access vlan 10

switchport mode access

 

 

I'm also going to post a compressed file with the packet tracer and the current configs I have.

 

Thanks in advance!

1 Accepted Solution

Accepted Solutions

luis_cordova
VIP Alumni
VIP Alumni

Hi @Rudy9746 

 

Try this changes:

 

ip dhcp excluded-address 172.16.0.1 172.16.1.244
ip dhcp excluded-address 172.16.4.1 172.16.4.100


ip dhcp pool ADMIN_DHCP
network 172.16.4.0 255.255.255.0
default-router 172.16.4.1

 

interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 172.16.0.1 255.255.252.0

 

Regards

View solution in original post

2 Replies 2

luis_cordova
VIP Alumni
VIP Alumni

Hi @Rudy9746 

 

Try this changes:

 

ip dhcp excluded-address 172.16.0.1 172.16.1.244
ip dhcp excluded-address 172.16.4.1 172.16.4.100


ip dhcp pool ADMIN_DHCP
network 172.16.4.0 255.255.255.0
default-router 172.16.4.1

 

interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 172.16.0.1 255.255.252.0

 

Regards

@luis_cordova 

Oh my gosh, thank you SO much! It worked! I had the subnet masks wrong on the interfaces.

I had been working on this project for 12 ish hours yesterday (not this problem, the whole network) and I think I hit a point where I couldn't see details like that anymore.

Anyway, thank you!!