• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 793
  • Last Modified:

Configuring Cisco 2800 for DHCP

I am not well versed with CISCO IOS and can get by with the basic.  Please be patience and be detailed with your help.

Can someone help me with the command lines I need to configure FE 0/0 for DHCP from a cable modem?

Thanks in advance.

Wayne
0
Wayne88
Asked:
Wayne88
  • 3
  • 3
1 Solution
 
danieldiasCommented:
Are you trying to have the router act as a DHCP server or obtain an IP address via DHCP.

If you want the router to act as a DHCP server here is an example:

ip dhcp pool test
 network 10.198.144.0 255.255.248.0
 domain-name mydomain.com
 dns-server 10.8.21.34
 default-router 10.198.144.1

interface GigabitEthernet0/0
 description GE interface for test
 ip address 10.70.144.1 255.255.254.0

If you want to obtain an IP address via DHCP:

interface GigabitEthernet0/0
 description GE interface for test
 ip address dhcp
0
 
Wayne88Author Commented:
Hi danieldias,

Thanks for your quick help.  I just want FE 0/0 to obtaion an IP address from DHCP.

interface GigabitEthernet0/0
 description GE interface for test
 ip address dhcp

Can you clarify the second line "description GE interface for test"?  Is the whole like a remark like for description?

Thank you,

Wayne
0
 
danieldiasCommented:
It is just a description so someone has a representation of what the interface is connected to/used for/etc.....you can omit if necessary, it is not required for operation.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
Wayne88Author Commented:
Thank you
0
 
Wayne88Author Commented:
Thanks Dan
0
 
danieldiasCommented:
glad to help!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now