04-07-2012 04:29 AM - edited 03-07-2019 06:00 AM
Hello,
a newbie here. i am having trouble in configuring my cisco router 887. my connection type from my ISP is static ip. im not sure if i have entered the correct command in the CLI.
router(config)# interface fa 0/0
router(config-if)# ip address 61.10.XX.XX x.x.x.x
what would be the command to do this?
and also, i want my other PCs to receive DHCP ip address from the router.
please help me to confirm the correct commands.
thank you.
regards,
Sugar
04-07-2012 07:49 AM
here is the thing......the fa 0/0 is faceing the ISP yeah?
issue a no shut down on the fa 0/0 because by defualt its off
the for the private address to access the internet you will need to enable NAT for the addresses in the inside of your network ...here is a sample of basic dhcp this is done for the interface facing your lan
conf t
service dhcp
ip dhcp pool 192.168.1.0/24
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.5 192.168.1.6
exit
ip dhcp excluded-address 192.168.1.1 192.168.1.199
ip dhcp excluded-address 192.168.1.241 192.168.1.255
---
Posted by WebUser Dickson Zulu from Cisco Support Community App
04-07-2012 09:17 AM
To add, make sure your fa0/0 isnt shutdown.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide