Why can I only get DHCP data from the FastEthernet interface and not the Ethernet interface with my
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 first published in July 2004