[c-nsp] 1841 DHCP CONFIGURATION and NAT NOT WORKING

Ziv Leyes zivl at gilat.net
Thu Nov 4 03:36:07 EDT 2010


Didn't you all get the guy's second post right after his question?
His problem was a misconfiguration, he had
 ip address 192.168.1.254 255.255.255.252
instead of 
 ip address 192.168.1.254 255.255.255.0

Notice the difference?


-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Ge Moua
Sent: Wednesday, November 03, 2010 4:27 PM
To: Rocker Feller; cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] 1841 DHCP CONFIGURATION and NAT NOT WORKING

I don´t see your nat ¨outside¨ reference; see below for a working config on one of our routers that is doing what you are looking for:

ip dhcp excluded-address 10.2.10.254
!
ip dhcp pool INSIDE
    network 10.2.10.0 255.255.255.0
    domain-name comcastbusiness.net
    dns-server 68.87.77.130 68.87.72.130
    default-router 10.2.10.254
    lease 7
!


interface FastEthernet0/0
  description VoicePerfTuning-RR-01-Fa-0-0 * Simulate SIP though NAT behind SOHO
  ip address 173.11.44.235 255.255.255.240
  ip access-group EXT-ACL_BASIC-PROTECTION in
  ip nat outside
  ip virtual-reassembly
  duplex auto
  speed auto

interface FastEthernet0/1
  description VoicePerfTuning-RR-01-Fa-0-1 * Connect to SIP phone clients
  ip address 10.2.10.254 255.255.255.0
  ip nat inside
  ip virtual-reassembly
  duplex auto
  speed auto


ip route 0.0.0.0 0.0.0.0 173.11.44.238 name "Default via Comcast Business Class Internet"

ip nat inside source list 10 interface FastEthernet0/0 overload





--
Regards,
Ge Moua

Network Design Engineer
University of Minnesota | OIT - NTS
--


On 11/03/2010 09:04 AM, Rocker Feller wrote:
> Hi,
>
> I have done dhcp and nat before, But it does not work on an 1841.
>
> What have I missed out.
>
> The lease is given but the NAT does not work.
>
> I do not see the dhcp ip on arp. but see it on the lease pool-
>
> Please help
>
> ip dhcp excluded-address
> 192.168.1.254
>
> !
>
> ip dhcp pool grm
>
>
>     network 192.168.1.0
> 255.255.255.0
>
>     dns-server x.x.x.x  x.x.x.x
>
>
>     default-router 192.168.1.254
>
> interface FastEthernet0/1
>   description Link to LAN
>   ip address 192.168.1.254 255.255.255.252
>   ip nat inside
>   ip virtual-reassembly
>   duplex auto
>   speed auto
>
>
>
> ip nat inside source list 2 interface FastEthernet0/0 overload ip 
> route 0.0.0.0 0.0.0.0 y.y.y.y !
> access-list 2 permit 192.168.1.0 0.0.0.255
>
>
> Thanks
> Rocker.
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net 
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

 
 
************************************************************************************
This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************




 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************






More information about the cisco-nsp mailing list