11-17-2020 10:47 PM
Dear Community,
i have the following issues,
C800 series router, 6 vlans, 4 vlans work perfectly, giving out dhcp leases, internet and so on.
But Vlan 50 and 60 no giving out dhcp adresses.
see attached show running-config
ena
C897#show running-config
Building configuration...
Current configuration : 4235 bytes
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname C897
!
boot-start-marker
boot system flash bootflash:c800-universalk9-mz.SPA.159-3.M2.bin
boot-end-marker
!
!
enable secret 5 $1$69R8$ppwDJj5IMK0ewSH.kHIPT.
!
no aaa new-model
!
!
!
ip dhcp excluded-address 192.168.10.1 192.168.10.99
ip dhcp excluded-address 10.10.10.1 10.10.10.99
ip dhcp excluded-address 20.20.20.1 20.20.20.99
ip dhcp excluded-address 30.30.30.1 30.30.30.99
ip dhcp excluded-address 40.40.40.1 40.40.40.99
ip dhcp excluded-address 50.50.50.1 50.50.50.99
ip dhcp excluded-address 60.60.60.1 60.60.60.99
!
ip dhcp pool vlan1
network 192.168.10.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.1
lease 0 1
!
ip dhcp pool vlan10
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server 192.168.1.1
lease 0 1
!
ip dhcp pool vlan20
network 20.20.20.0 255.255.255.0
default-router 20.20.20.1
dns-server 192.168.1.1
lease 0 1
!
ip dhcp pool vlan30
network 30.30.30.0 255.255.255.0
default-router 20.20.20.1
dns-server 192.168.1.1
lease 0 1
!
ip dhcp pool vlan40
network 40.0.0.0 255.0.0.0
default-router 40.40.40.1
dns-server 192.168.1.1
lease 0 1
!
ip dhcp pool vlan50
network 50.50.50.0 255.255.255.0
default-router 50.50.50.1
dns-server 192.168.1.1
lease 0 1
!
ip dhcp pool vlan60
network 60.60.60.0 255.255.255.0
default-router 60.60.60.1
dns-server 192.168.1.1
lease 0 1
!
!
!
ip cef
no ipv6 cef
multilink bundle-name authenticated
cts logging verbose
license udi pid C897VA-K9 sn FCZ2012902F
!
username Cisco privilege 15 secret 5 $1$0cBV$U.RL9goycpWEAtCRR5O8c.
!
!
controller VDSL 0
!
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface Ethernet0
no ip address
shutdown
!
interface GigabitEthernet0
switchport mode trunk
no ip address
!
interface GigabitEthernet1
switchport mode trunk
no ip address
!
interface GigabitEthernet2
switchport mode trunk
no ip address
!
interface GigabitEthernet3
switchport mode trunk
no ip address
!
interface GigabitEthernet4
switchport mode trunk
no ip address
!
interface GigabitEthernet5
switchport mode trunk
no ip address
!
interface GigabitEthernet6
switchport mode trunk
no ip address
!
interface GigabitEthernet7
switchport mode trunk
no ip address
!
interface GigabitEthernet8
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface Vlan10
ip address 10.10.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface Vlan20
ip address 20.20.20.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface Vlan30
ip address 30.30.30.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface Vlan40
ip address 40.40.40.1 255.0.0.0
ip nat inside
ip virtual-reassembly in
!
interface Vlan50
ip address 50.50.50.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface Vlan60
ip address 60.60.60.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip forward-protocol nd
ip http server
ip http authentication local
no ip http secure-server
!
!
ip nat inside source list 100 interface GigabitEthernet8 overload
!
!
access-list 100 permit ip 192.168.10.0 0.0.0.255 any
access-list 100 permit ip 10.10.10.0 0.0.0.255 any
access-list 100 permit ip 20.20.20.0 0.0.0.255 any
access-list 100 permit ip 30.30.30.0 0.0.0.255 any
access-list 100 permit ip 40.0.0.0 0.255.255.255 any
access-list 100 permit ip 50.50.50.0 0.0.0.255 any
access-list 100 permit ip 60.60.60.0 0.0.0.255 any
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
vstack
!
line con 0
no modem enable
line aux 0
line vty 0 4
login local
transport input telnet
line vty 5 15
login local
transport input telnet
!
scheduler allocate 20000 1000
!
!
!
end
Can anyone help me figure out the issue?
thanks for help
Solved! Go to Solution.
11-18-2020 11:45 AM
Hello Rick
@Richard Burts wrote:
The static default route does not have anything to do with DHCP. But the original config that was posted did not have any default route and without a default route you would not have any access to outside.
Would expect dhcp of the wan interface provide a default however this would have an admin of 254, hence why I suggested a more specific static default
11-18-2020 11:54 AM
Hello Paul
Agree with your point.
11-18-2020 10:54 PM
Hello,
Now working for past 24h without any issues.
vlan 30, i corrected dns server too, it was working anyway.
thanks for all the support.
stay safe!
thanks again
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide