Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Need help with DHCP

Reply
Thread Tools

Need help with DHCP

 
 
Song
Guest
Posts: n/a
 
      09-26-2007
Hi, I'm having problem adding DHCP service to my existing network. My
laptop is getting priviate IP assigned when plugged into FastEthernet4/0/0,
and I can ping them within network from my public subnet aa.bb.cc.0/20, but
I
can't seem to get out to the Internet from private subnet. Possibly a
routing issue? Please
help. Note: aa.bb.cc.0/20 is my public subnet, xx.yy.zz.48/30 is upstream
provider, 10.1.1.0/24 is unable to brows.

!
10.1.1.0 255.255.255.0
dns-server aa.bb.cc.3 aa.bb.cc.4
default-router 10.1.1.1
domain-name abc.com
lease infinite
!
interface FastEthernet4/0/0
ip address 10.1.1.1 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip route-cache flow
no ip mroute-cache
load-interval 30
full-duplex
no cdp enable
!
interface FastEthernet5/0/0
description --- Internet Gateway
ip address xx.yy.zz.50 255.255.255.248
ip access-group 111 in
ip verify unicast reverse-path
no ip redirects
no ip unreachables
no ip proxy-arp
ip route-cache flow
no ip mroute-cache
load-interval 30
full-duplex
no cdp enable
!
interface FastEthernet5/0/1
description --- LAN for Switch
ip address aa.bb.cc.1 255.255.240.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip route-cache policy
ip route-cache flow
no ip mroute-cache
load-interval 30
full-duplex
no cdp enable
!
ip route 0.0.0.0 0.0.0.0 xx.yy.zz.49


 
Reply With Quote
 
 
 
 
Trendkill
Guest
Posts: n/a
 
      09-27-2007
On Sep 26, 6:48 pm, "Song" <s...@isot.com> wrote:
> Hi, I'm having problem adding DHCP service to my existing network. My
> laptop is getting priviate IP assigned when plugged into FastEthernet4/0/0,
> and I can ping them within network from my public subnet aa.bb.cc.0/20, but
> I
> can't seem to get out to the Internet from private subnet. Possibly a
> routing issue? Please
> help. Note: aa.bb.cc.0/20 is my public subnet, xx.yy.zz.48/30 is upstream
> provider, 10.1.1.0/24 is unable to brows.
>
> !
> 10.1.1.0 255.255.255.0
> dns-server aa.bb.cc.3 aa.bb.cc.4
> default-router 10.1.1.1
> domain-name abc.com
> lease infinite
> !
> interface FastEthernet4/0/0
> ip address 10.1.1.1 255.255.255.0
> no ip redirects
> no ip unreachables
> no ip proxy-arp
> ip route-cache flow
> no ip mroute-cache
> load-interval 30
> full-duplex
> no cdp enable
> !
> interface FastEthernet5/0/0
> description --- Internet Gateway
> ip address xx.yy.zz.50 255.255.255.248
> ip access-group 111 in
> ip verify unicast reverse-path
> no ip redirects
> no ip unreachables
> no ip proxy-arp
> ip route-cache flow
> no ip mroute-cache
> load-interval 30
> full-duplex
> no cdp enable
> !
> interface FastEthernet5/0/1
> description --- LAN for Switch
> ip address aa.bb.cc.1 255.255.240.0
> no ip redirects
> no ip unreachables
> no ip proxy-arp
> ip route-cache policy
> ip route-cache flow
> no ip mroute-cache
> load-interval 30
> full-duplex
> no cdp enable
> !
> ip route 0.0.0.0 0.0.0.0 xx.yy.zz.49


Without NATing, how is this supposed to work? You may route out to
the internet, but the internet does not know how to get back to a
private IP address range that is not NATed to a public IP. Am I
missing something?

 
Reply With Quote
 
 
 
 
thort thort is offline
Member
Join Date: Sep 2007
Posts: 35
 
      09-27-2007
Exactly, first and foremost, is NAT happening somewhere (by you or your ISP?).

You say it is a DHCP problem, but you get a 10.x address? If so then it is not a DHCP problem as you are getting a correct IP address assigned.

If you do NAT you most likely have a NAT configuration issue. If your ISP does NAT for you, then it is possible that they doesn't have a route back to you in their routing table. ... What does a traceroute to the internet say from a host on your private 10.x network?

Basic IOS DHCP Config example:
service dhcp
ip dhcp pool 192.168.1.0/24
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.5 192.168.1.6
 

Last edited by thort; 09-27-2007 at 11:46 AM..
Reply With Quote
 
itchibahn
Guest
Posts: n/a
 
      09-28-2007
"Trendkill" <> wrote in message
news: ups.com...
> On Sep 26, 6:48 pm, "Song" <s...@isot.com> wrote:
>> Hi, I'm having problem adding DHCP service to my existing network. My
>> laptop is getting priviate IP assigned when plugged into
>> FastEthernet4/0/0,
>> and I can ping them within network from my public subnet aa.bb.cc.0/20,
>> but
>> I
>> can't seem to get out to the Internet from private subnet. Possibly a
>> routing issue? Please
>> help. Note: aa.bb.cc.0/20 is my public subnet, xx.yy.zz.48/30 is
>> upstream
>> provider, 10.1.1.0/24 is unable to brows.
>>
>> !
>> 10.1.1.0 255.255.255.0
>> dns-server aa.bb.cc.3 aa.bb.cc.4
>> default-router 10.1.1.1
>> domain-name abc.com
>> lease infinite
>> !
>> interface FastEthernet4/0/0
>> ip address 10.1.1.1 255.255.255.0
>> no ip redirects
>> no ip unreachables
>> no ip proxy-arp
>> ip route-cache flow
>> no ip mroute-cache
>> load-interval 30
>> full-duplex
>> no cdp enable
>> !
>> interface FastEthernet5/0/0
>> description --- Internet Gateway
>> ip address xx.yy.zz.50 255.255.255.248
>> ip access-group 111 in
>> ip verify unicast reverse-path
>> no ip redirects
>> no ip unreachables
>> no ip proxy-arp
>> ip route-cache flow
>> no ip mroute-cache
>> load-interval 30
>> full-duplex
>> no cdp enable
>> !
>> interface FastEthernet5/0/1
>> description --- LAN for Switch
>> ip address aa.bb.cc.1 255.255.240.0
>> no ip redirects
>> no ip unreachables
>> no ip proxy-arp
>> ip route-cache policy
>> ip route-cache flow
>> no ip mroute-cache
>> load-interval 30
>> full-duplex
>> no cdp enable
>> !
>> ip route 0.0.0.0 0.0.0.0 xx.yy.zz.49

>
> Without NATing, how is this supposed to work? You may route out to
> the internet, but the internet does not know how to get back to a
> private IP address range that is not NATed to a public IP. Am I
> missing something?
>


Sorry, I forgot about NAT. Below didn't work:
!
interface FastEthernet5/0/0
...
ip nat outside
!
ip nat inside source list 1 interface FastEthernet5/0/0 overload
!
access-list 1 permit 10.1.1.0 0.0.0.255
!


 
Reply With Quote
 
Song
Guest
Posts: n/a
 
      09-28-2007
"itchibahn" <> wrote in message
news:46fc5a0f$0$18962$...
> "Trendkill" <> wrote in message
> news: ups.com...
>> On Sep 26, 6:48 pm, "Song" <s...@isot.com> wrote:
>>> Hi, I'm having problem adding DHCP service to my existing network. My
>>> laptop is getting priviate IP assigned when plugged into
>>> FastEthernet4/0/0,
>>> and I can ping them within network from my public subnet aa.bb.cc.0/20,
>>> but
>>> I
>>> can't seem to get out to the Internet from private subnet. Possibly a
>>> routing issue? Please
>>> help. Note: aa.bb.cc.0/20 is my public subnet, xx.yy.zz.48/30 is
>>> upstream
>>> provider, 10.1.1.0/24 is unable to brows.
>>>
>>> !
>>> 10.1.1.0 255.255.255.0
>>> dns-server aa.bb.cc.3 aa.bb.cc.4
>>> default-router 10.1.1.1
>>> domain-name abc.com
>>> lease infinite
>>> !
>>> interface FastEthernet4/0/0
>>> ip address 10.1.1.1 255.255.255.0
>>> no ip redirects
>>> no ip unreachables
>>> no ip proxy-arp
>>> ip route-cache flow
>>> no ip mroute-cache
>>> load-interval 30
>>> full-duplex
>>> no cdp enable
>>> !
>>> interface FastEthernet5/0/0
>>> description --- Internet Gateway
>>> ip address xx.yy.zz.50 255.255.255.248
>>> ip access-group 111 in
>>> ip verify unicast reverse-path
>>> no ip redirects
>>> no ip unreachables
>>> no ip proxy-arp
>>> ip route-cache flow
>>> no ip mroute-cache
>>> load-interval 30
>>> full-duplex
>>> no cdp enable
>>> !
>>> interface FastEthernet5/0/1
>>> description --- LAN for Switch
>>> ip address aa.bb.cc.1 255.255.240.0
>>> no ip redirects
>>> no ip unreachables
>>> no ip proxy-arp
>>> ip route-cache policy
>>> ip route-cache flow
>>> no ip mroute-cache
>>> load-interval 30
>>> full-duplex
>>> no cdp enable
>>> !
>>> ip route 0.0.0.0 0.0.0.0 xx.yy.zz.49

>>
>> Without NATing, how is this supposed to work? You may route out to
>> the internet, but the internet does not know how to get back to a
>> private IP address range that is not NATed to a public IP. Am I
>> missing something?
>>

>
> Sorry, I forgot about NAT. Below didn't work:
> !
> interface FastEthernet5/0/0
> ...
> ip nat outside
> !
> ip nat inside source list 1 interface FastEthernet5/0/0 overload
> !
> access-list 1 permit 10.1.1.0 0.0.0.255
> !
>


Was missing "ip nat inside". It's working now. Thank you.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help setting up a wireless DHCP behind a wired non-DHCP network? sonicgravy Hardware 0 11-13-2006 07:45 PM
Dhcp Relay Agent And Acl On Sw 3750, DHCP Relay Agent and ACL on Sw 3750 Vimokh Cisco 3 09-06-2006 02:16 AM
Wireless DHCP clients cannot obtain an IP address from the DHCP se =?Utf-8?B?SGVpbkQ=?= Wireless Networking 0 01-08-2006 03:41 PM
run > ipconfig > net stop dhcp then > net start dhcp Fayza Computer Support 3 05-12-2004 07:10 PM
if Active Directory no DHCP? or: Where ist my DHCP Ingo Hauf Computer Support 2 10-18-2003 02:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57