{"id":80,"date":"2011-05-22T11:45:05","date_gmt":"2011-05-22T09:45:05","guid":{"rendered":"http:\/\/www.zed-network.fr\/blog\/?p=80"},"modified":"2020-08-24T19:54:16","modified_gmt":"2020-08-24T18:54:16","slug":"dhcp","status":"publish","type":"post","link":"https:\/\/zed-network.fr\/?p=80","title":{"rendered":"How to configure DHCP and EIGRP on Cisco Router"},"content":{"rendered":"<p>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.<\/p>\n<p>R1 will be also a DHCP server and assign IP address to R2 and R3.<\/p>\n<p>The EIGRP area 100 with be secure by and MD5 password.<\/p>\n<h2>R1 Configuration<\/h2>\n<h3>DHCP<\/h3>\n<pre>no ip dhcp use vrf connected\nip dhcp excluded-address 172.16.0.1\nip dhcp pool r2r3\nnetwork 172.16.0.0 255.255.255.248\ndefault-router 172.16.0.1\ndomain-name zed-network.fr\nip dhcp pool R2\nhost 172.16.0.2 255.255.255.248\nclient-identifier 01cc.010c.0c00.00\ndefault-router 172.16.0.1\nip dhcp pool R3\nhost 172.16.0.3 255.255.255.248\nclient-identifier 01cc.020c.0c00.00\ndefault-router 172.16.0.1\n\n<\/pre>\n<h3>EIGRP<\/h3>\n<pre>!\ninterface FastEthernet0\/0\n ip address 172.16.0.1 255.255.255.248\n ip authentication mode eigrp 100 md5\n ip authentication key-chain eigrp 100 cisco\n duplex auto\n speed auto\n!\nkey chain cisco\n key 10\n   key-string cisco\n!\nrouter eigrp 100\n network 172.16.0.0 0.0.0.7\n no auto-summary<\/pre>\n<h2>R2 and R3 configuration<\/h2>\n<pre>interface FastEthernet0\/0\n ip address dhcp client-id FastEthernet0\/0\n ip authentication mode eigrp 100 md5\n ip authentication key-chain eigrp 100 cisco\n duplex auto\n speed auto\n!\nkey chain cisco\n key 10\n   key-string cisco\n ip authentication key-chain eigrp 100 cisco\n!\nrouter eigrp 100\n network 172.16.0.0 0.0.0.7\n no auto-summary<\/pre>\n<h2>Verification<\/h2>\n<pre>R1#sh ip dhcp binding\nBindings from all pools not associated with VRF:\nIP address          Client-ID\/              Lease expiration        Type\n                    Hardware address\/\n                    User name\n172.16.0.2          01cc.010c.0c00.00       Infinite                Manual\n172.16.0.3          01cc.020c.0c00.00       Infinite                Manual\n\nR2#sh ip int brief\nInterface                  IP-Address      OK? Method Status                Protocol\nFastEthernet0\/0            <strong>172.16.0.2<\/strong>      YES <strong>DHCP<\/strong>   up                    up\nFastEthernet1\/0            unassigned      YES unset  administratively down down\n\nR1#sh ip eigrp neighbors\nIP-EIGRP neighbors for process 100\nH   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq\n                                            (sec)         (ms)       Cnt Num\n1   172.16.0.2              Fa0\/0             11 00:10:35   28   200  0  35\n2   172.16.0.3              Fa0\/0             13 00:11:54   80   480  0  34<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-ccie-rs","category-cisco"],"_links":{"self":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":3,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":566,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions\/566"}],"wp:attachment":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}