Its been a while since I configured a Cisco router. We have built a lab in the office to test several products, one which includes a Cisco router. We are testing a 1760 out of the box and want basic functions. I installed the router and performed a no shutdown for both interfaces (FastEthernet0/0 and Ethernet0/0). I turned DHCP for both interfaces, but I can only get DHCP data from the FastEthernet interface and not the Ethernet interface. Please tell me what I need to do to get this problem fixed.
From your question, I am assuming that you want to get a DHCP assigned address to the interfaces. For that, 'IP address DHCP' is sufficient. If the DHCP server is on some other segment, then you need to give "IP helper-address dhcp_server_address" on the interfaces also. But if you want the router to act as a DHCP server, then here is a working configuration, which you can modify:
ip dhcp excluded-address 192.168.1.100 192.168.1.103
ip dhcp excluded-address 192.168.2.100 192.168.2.103
ip dhcp pool 1
network 192.168.0.0 /16
dns-server 192.168.1.102 192.168.2.102
default-router 192.168.1.100 192.168.1.101
netbios-name-server 192.168.1.103 192.168.2.103
This was last published in July 2004
Dig Deeper on Network Infrastructure
One difference between managed and unmanaged switches is complexity. A managed switch is more complex and requires more skills, but it offers better ...
Unmanaged Linksys switches don't know where to send BootP and DHCP requests. Find out what to do to fix the problem of unmanaged switches and DHCP ...