Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Cisco 2600 DHCP

Posted on 2005-03-04
8
Medium Priority
?
529 Views
Last Modified: 2011-08-18
hey everyone .. I have a cisco 2611 router and was wondering how i would enable the ethernet 0/0 port to get it's ip from the comcast dhcp server (ip= 12.242.20.34) and not ethernet 0/1 (going to have the 192.168.1.1 ip address).

thank you
0
Comment
Question by:every1isevil
  • 5
  • 3
8 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 13463332

interface eth 0/0
  ip address dhcp
  no shutdown

interface eth 0/1
  ip address 192.168.1.1 255.255.255.0
  no shutdown

end

0
 
LVL 1

Author Comment

by:every1isevil
ID: 13463458
for interface eth 0/0

i typed in "ip address dhcp" and it says "%invalid input detected at marker (dhcp marked)... now am i supposed to put in the ip address of the dhcp server.. or "dhcp"?

ps.... i have ip dhcp-server 12.242.20.34   setup in global config.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 13463661
disable the ip dhcp-server
 no ip dhcp-server

What version IOS do you have? You might need to update to a newer version.
12.1(2)T
 This command was introduced.
 
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:every1isevil
ID: 13463684
Well i have IOS Version 12.1.(1)...do you know a way to get the newer version?  and would it be possible to set it up with a static ip?  I just need to get my internet up... (cable modem) I have my ip address, dns server ips.
0
 
LVL 1

Author Comment

by:every1isevil
ID: 13463704
since i took off the dhcp-server command... should i also take off the dhcp pool info?
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 2000 total points
ID: 13463749
>should i also take off the dhcp pool info?
Yes.

You can always just set it up as a static IP
  interface ethernet 0/0
   ip address 12.242.20.34 255.255.255.0 <== if this is your IP address / mask

What is your gateway?
  ip route 0.0.0.0 0.0.0.0 12.242.20.xxx

You'll also need to setup NAT:
  interface eth0/0
   ip nat outside

  interface eth 0/1
   ip nat inside

  ip nat inside source list 1 interface eth0/0 overload
  access-list 1 permit 192.168.1.0 0.0.0.255

0
 
LVL 1

Author Comment

by:every1isevil
ID: 13463863
i'm sorry... you really deserve more than 500 points for helping me out... I am still having problems... what i am going to do is  award you the 500 for the question, and post another question continuing with my problem. Thanks again for all your help.
0
 
LVL 1

Author Comment

by:every1isevil
ID: 13464311
http://www.experts-exchange.com/Hardware/Routers/Q_21338620.html here is the link to the new question... thanks again for the help.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question