Spiga

CCNP - EIGRP Lab - Configuration ip default-network Command


Interface IP Address Configuration

R1

Interface IP Address Subnet Mask
S 1 1.1.1.1 255.0.0.0
E 0 10.1.1.1 255.0.0.0

R2

Interface IP Address Subnet Mask
S 1 1.1.1.2 255.0.0.0
S0 2.2.2.1 255.0.0.0
E 0 30.1.1.1 255.0.0.0

R3

Interface IP Address Subnet Mask
S0/2 2.2.2.2 255.0.0.0
E 0 30.1.1.1 255.0.0.0

Lab Objective
Task 1

Configure EIGRP according to the above scenario. Configure R1 ( S0, E0 ), R2 (
E0 ) in EIGRP AS 100 and R3 ( S0/2 ) in EIGRP AS 200. Do not advertise netw
30.0.0.0 in EIGRP process. R1 wants to send packets to network 30.0.0.0. Use th
default-network command to accomplish this task. Also disable auto-summary.

Configuration
R1

Router eigrp 100
Network 10.0.0.0
Network 1.0.0.0
No auto-summary

R2
Router eigrp 100
Network 1.0.0.0
Network 20.0.0.0
Network 2.0.0.0
No auto-summary

Ip route 30.0.0.0 255.0.0.0 2.2.2.2
Ip default-network 2.0.0.0

R3
Router eigrp 100
Network 2.0.0.0
No auto-summary.

Verification :

R1#show ip route

Gateway of last resort is 1.1.1.2 to network 2.0.0.0

C 1.0.0.0/8 is directly connected, Serial0/2/0
D* 2.0.0.0/8 [90/2681856] via 1.1.1.2, 00:00:14, Serial0/2/0
D 20.0.0.0/8 [90/2195456] via 1.1.1.2, 00:04:43, Serial0/2/0
C 10.0.0.0/8 is directly connected, FastEthernet0/0

The output displays network 2.0.0.0 as a D* route in the routing table as this is candidate
default-route established in R1 to reach network 30.0.0.0

Note: When we ping from R1 to 30.1.1.1 network

R1 # ping 30.1.1.1

Result: 100% success

0 comments: