In this configuration, we will configure three Cisco router in EIGRP. All routers will be connected to a switch on the same VLAN and will share the same subnet: 172.16.0.0/28.
R1 will be also a DHCP server and assign IP address to R2 and R3.
The EIGRP area 100 with be secure by and MD5 password.
R1 Configuration
DHCP
no ip dhcp use vrf connected ip dhcp excluded-address 172.16.0.1 ip dhcp pool r2r3 network 172.16.0.0 255.255.255.248 default-router 172.16.0.1 domain-name zed-network.fr ip dhcp pool R2 host 172.16.0.2 255.255.255.248 client-identifier 01cc.010c.0c00.00 default-router 172.16.0.1 ip dhcp pool R3 host 172.16.0.3 255.255.255.248 client-identifier 01cc.020c.0c00.00 default-router 172.16.0.1
EIGRP
! interface FastEthernet0/0 ip address 172.16.0.1 255.255.255.248 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 cisco duplex auto speed auto ! key chain cisco key 10 key-string cisco ! router eigrp 100 network 172.16.0.0 0.0.0.7 no auto-summary
R2 and R3 configuration
interface FastEthernet0/0 ip address dhcp client-id FastEthernet0/0 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 cisco duplex auto speed auto ! key chain cisco key 10 key-string cisco ip authentication key-chain eigrp 100 cisco ! router eigrp 100 network 172.16.0.0 0.0.0.7 no auto-summary
Verification
R1#sh ip dhcp binding Bindings from all pools not associated with VRF: IP address Client-ID/ Lease expiration Type Hardware address/ User name 172.16.0.2 01cc.010c.0c00.00 Infinite Manual 172.16.0.3 01cc.020c.0c00.00 Infinite Manual R2#sh ip int brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 172.16.0.2 YES DHCP up up FastEthernet1/0 unassigned YES unset administratively down down R1#sh ip eigrp neighbors IP-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 1 172.16.0.2 Fa0/0 11 00:10:35 28 200 0 35 2 172.16.0.3 Fa0/0 13 00:11:54 80 480 0 34