how to configured two routers cisco 1841 with dynamic ip address with routing with steps

 Here is a simple step-by-step guide to configure two Cisco 1841 routers with dynamic IP addressing and routing using DHCP + RIP (dynamic routing).


how to configured two routers cisco 1841 with dynamic ip address with routing  with steps



🔧 Network Example

PC1 ---- R1 -------- R2 ---- PC2
        (Fa0/0)   (Fa0/1)
DeviceInterfaceIP Type
R1 Fa0/0LANDHCP Server
R1 Fa0/1WANStatic
R2 Fa0/0LANDHCP Server
R2 Fa0/1WANStatic

🧰 Step 1: Connect Devices

  • Connect PC → Router using Ethernet cable

  • Connect Router R1 → Router R2 using crossover cable

  • Connect console cable to configure routers


⚙️ Step 2: Configure Router R1

1. Enter configuration mode

enable
configure terminal

2. Configure LAN Interface (Fa0/0)

interface fastethernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit

3. Configure WAN Interface (Fa0/1)

interface fastethernet0/1
ip address 10.0.0.1 255.255.255.252
no shutdown
exit

4. Configure DHCP on R1

ip dhcp pool LAN1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
exit

Exclude gateway IP:

ip dhcp excluded-address 192.168.1.1

⚙️ Step 3: Configure Router R2

1. Enter configuration mode

enable
configure terminal

2. Configure LAN Interface (Fa0/0)

interface fastethernet0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit

3. Configure WAN Interface (Fa0/1)

interface fastethernet0/1
ip address 10.0.0.2 255.255.255.252
no shutdown
exit

4. Configure DHCP on R2

ip dhcp pool LAN2
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 8.8.8.8
exit

Exclude gateway IP:

ip dhcp excluded-address 192.168.2.1

🔁 Step 4: Configure Dynamic Routing (RIP)

👉 Configure on both routers

On R1:

router rip
version 2
no auto-summary
network 192.168.1.0
network 10.0.0.0
exit

On R2:

router rip
version 2
no auto-summary
network 192.168.2.0
network 10.0.0.0
exit

💻 Step 5: Configure PCs

  • Set PC1 and PC2 to DHCP (Automatic IP)

  • They will receive IP addresses automatically


✅ Step 6: Verify Configuration

Check IP:

show ip interface brief

Check routing:

show ip route

Test connectivity:

ping 192.168.2.1

From PC1 → Ping PC2 ✅


🎯 Expected Result

  • PC1 gets IP: 192.168.1.x

  • PC2 gets IP: 192.168.2.x

  • Both PCs can communicate using dynamic routing (RIP)


🚀 Bonus Tips

  • Use debug ip rip to troubleshoot

  • Use show ip dhcp binding to check DHCP clients

  • Save config:

write memory

If you want, I can also give:
✅ Packet Tracer file
✅ OSPF configuration (better than RIP)
✅ Full lab diagram with IP table

Just tell me 👍


Popup Iframe Example
Email This BlogThis! Share to X Share to Facebook Share to Pinterest

to click here more information about page 

Post a Comment

Previous Post Next Post