Cisco Router Basic + DHCP Configuration
Section 1: Basic Router Interface Setup
enable
configure terminal
! Interface configure karna (example: GigabitEthernet0/0)
interface gigabitEthernet0/0
ip address [Link] [Link]
no shutdown
exit
Section 2: DHCP Configuration
! Reserved IPs exclude karo
ip dhcp excluded-address [Link] [Link]
! DHCP pool create karo
ip dhcp pool MYPOOL
network [Link] [Link]
default-router [Link]
dns-server [Link]
exit
end
write
Section 3: PC IP Setup (DHCP)
PC > Desktop > IP Configuration > Select 'DHCP'
Example output:
IP Address: [Link]
Subnet Mask: [Link]
Default Gateway: [Link]
Section 4: Extra Notes
- 'ip address' likhna hai, 'ip add' se error aata hai.
- 'interface' naam galat likhne se bhi invalid input aata hai.
- Check interfaces using: show ip interface brief
- Use 'no shutdown' to bring the interface up.