Dhcp
tukki
Member Posts: 26 ■□□□□□□□□□
in CCNA & CCENT
dhcp and dns doesnt work what is wrong with this config
Building configuration...
Current configuration : 7039 bytes
!
! Last configuration change at 14:43:22 Berlin Wed Jun 12 2013 by admin
! NVRAM config last updated at 14:43:23 Berlin Wed Jun 12 2013 by admin
!
version 12.3
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router806
!
boot-start-marker
boot-end-marker
!
security authentication failure rate 3 log
logging buffered 51200 debugging
logging console critical
enable secret 5 $1$4UJO$XkXQbs/Av1VLzocRsveTh.
!
clock timezone Berlin 1
clock summer-time Berlin date Mar 30 2003 2:00 Oct 26 2003 3:00
no aaa new-model
ip subnet-zero
ip dhcp excluded-address 10.10.10.1 10.10.10.99
ip dhcp excluded-address 10.10.10.241 10.10.10.254
!
ip dhcp pool DHCP
import all
network 10.10.10.0 255.255.255.0
dns-server 8.8.8.8 8.8.4.4
default-router 10.10.10.2
!
no ip bootp server
!
!
!
!
!
!
interface Ethernet0
description $FW_INSIDE$
ip address 10.10.10.2 255.255.255.0
ip access-group 101 out
no ip proxy-arp
ip nat inside
!
interface Ethernet1
description $FW_OUTSIDE$
ip address xx.xx.xx.xx 255.255.255.248
no ip proxy-arp
ip nat outside
!
ip nat pool NAT 10.10.10.0 10.10.10.254 netmask 255.255.255.0
ip nat inside source static udp 10.10.10.2 50000 interface Ethernet1 65000
ip nat inside source static tcp 10.10.10.2 50000 interface Ethernet1 65000
ip classless
ip route 0.0.0.0 0.0.0.0 xx.xx.xx.xx.xx
ip http server
ip http authentication local
ip http secure-server
!
Building configuration...
Current configuration : 7039 bytes
!
! Last configuration change at 14:43:22 Berlin Wed Jun 12 2013 by admin
! NVRAM config last updated at 14:43:23 Berlin Wed Jun 12 2013 by admin
!
version 12.3
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router806
!
boot-start-marker
boot-end-marker
!
security authentication failure rate 3 log
logging buffered 51200 debugging
logging console critical
enable secret 5 $1$4UJO$XkXQbs/Av1VLzocRsveTh.
!
clock timezone Berlin 1
clock summer-time Berlin date Mar 30 2003 2:00 Oct 26 2003 3:00
no aaa new-model
ip subnet-zero
ip dhcp excluded-address 10.10.10.1 10.10.10.99
ip dhcp excluded-address 10.10.10.241 10.10.10.254
!
ip dhcp pool DHCP
import all
network 10.10.10.0 255.255.255.0
dns-server 8.8.8.8 8.8.4.4
default-router 10.10.10.2
!
no ip bootp server
!
!
!
!
!
!
interface Ethernet0
description $FW_INSIDE$
ip address 10.10.10.2 255.255.255.0
ip access-group 101 out
no ip proxy-arp
ip nat inside
!
interface Ethernet1
description $FW_OUTSIDE$
ip address xx.xx.xx.xx 255.255.255.248
no ip proxy-arp
ip nat outside
!
ip nat pool NAT 10.10.10.0 10.10.10.254 netmask 255.255.255.0
ip nat inside source static udp 10.10.10.2 50000 interface Ethernet1 65000
ip nat inside source static tcp 10.10.10.2 50000 interface Ethernet1 65000
ip classless
ip route 0.0.0.0 0.0.0.0 xx.xx.xx.xx.xx
ip http server
ip http authentication local
ip http secure-server
!
Comments
-
DCD Member Posts: 475 ■■■■□□□□□□The DHCP part looks alright. Check your client config. You may want to add topology as well.