02-27-2015 09:52 AM - edited 03-05-2019 12:54 AM
For some reason I can not get the config correct on my 1811.
I have been banging my head against this for a week now.
I have a dhcp server at the ip listed as the helper address but for some reason I cant get a dhcp address on FE1 and cant get dhcp assigments on FE0 with any device I have plugged in.
What am I missing? Probably something so obvious its not funny, but I could use some help.
Thanks in advance
Below is my conf
Building configuration...
Current configuration : 1483 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router1.*********************
!
boot-start-marker
boot-end-marker
!
no logging console
enable secret 5 *******************************
enable password **********
!
no aaa new-model
!
!
dot11 syslog
no ip routing
!
!
no ip cef
!
!
!
multilink bundle-name authenticated
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
interface FastEthernet0
description LAN Interface
ip address 10.10.2.42 255.255.0.0
ip helper-address 10.10.2.99
ip nat inside
ip virtual-reassembly
no ip route-cache
duplex auto
speed auto
!
interface FastEthernet1
ip address dhcp
ip nat outside
ip virtual-reassembly
no ip route-cache
duplex auto
speed auto
!
interface FastEthernet2
shutdown
!
interface FastEthernet3
shutdown
!
interface FastEthernet4
shutdown
!
interface FastEthernet5
shutdown
!
interface FastEthernet6
shutdown
!
interface FastEthernet7
shutdown
!
interface FastEthernet8
shutdown
!
interface FastEthernet9
shutdown
!
interface Vlan1
no ip address
no ip route-cache
!
interface Async1
no ip address
encapsulation slip
no ip route-cache
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet1 overload
!
access-list 1 permit any
snmp-server community public RO
!
!
!
!
!
!
control-plane
!
!
line con 0
line 1
line aux 0
line vty 0 4
password *****************
login
!
end
router1.*****************#
02-27-2015 11:44 AM
On what interface is the DHCP server located? Because if it is is located on the F0 interface, you don't even need the "ip-helper" command. If your hosts and the server is located on the same LAN segment, they should find each other and the sever should be able to allocate an IP adress to the host.
The problem that F1 is not allocated an IP adress is harder to know.
02-27-2015 11:55 AM
The other part of this issue is that when I do get an ip on FE1 when its hooked to the modem
I can not get to the web from anything on FE0.
Any Ideas?
02-28-2015 04:49 PM
Your question reads as if you're trying to assign the address for FE1 via the DHCP server connected to FE0, that won't work for a couple reasons. The router will send its DHCP request for FE1 out the FE1 interface, and the router won't assign the same subnet on two different routed interfaces.
Yet you said FE1 does get an IP from the modem's DHCP server as exected, and you have that as the nat outside interface... so I'm not entirely sure what the symtomps are sorry.
03-01-2015 10:53 AM
Sorry for the confusion, what is happening is that when I get an IP from the modem I can not reach the "outside". In other words, FE1 and FE0 are not "talking" to each other.
Hope this helps a little bit.
03-02-2015 08:57 PM
Hi,
Please try by addig ip default route. i.e. ip route command.
07-15-2017 02:47 AM
Try this
no access-list 1 permit any
access-list 1 permit ip 10.10.0.0 0.0.255.255 any
Bye
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