If you want DHCP on the LAN then you need to set the IP address on the interface, create the DHCP pool, and exclude the ip of the interface.
This is what it might look like:
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool 1
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server 204.117.241.10
!
interface Ethernet0/0
ip address 10.10.10.1 255.255.255.0
There're always situations like domestic/business broadband connections that will give you dynamic IP address allocation. There are usually 2 ways to accomplish this.
1) For PPPoE, using dialer interface and "ip address negotiated"
2) Or if PPPoE is not used, then just simply use the interface command "ip address dhcp"
Hi everyone. I upgraded my IOS to 12.1 (3)T and now I have the DHCP option but it still wont negotiate a connection. I think this is an issue with my ADSL modem as its configured for a ZIPB protocol (zero IP blocking). Its supposed to assign my router a public IP address but if I plug it into my pc at home, it assigns a private IP address and does all the NAT for me which I dont want. I have to speak to my ISP because they support the modem. This would be alot easier if I had PPPoE client but no money for memory.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.