{"id":452,"date":"2024-11-23T09:47:29","date_gmt":"2024-11-23T08:47:29","guid":{"rendered":"https:\/\/kazundo.fr\/blog\/?p=452"},"modified":"2024-11-23T09:54:50","modified_gmt":"2024-11-23T08:54:50","slug":"obtention-dune-adresse-ip-via-dhcp-cisco-c7200-dans-gns3","status":"publish","type":"post","link":"https:\/\/kazundo.fr\/blog\/?p=452","title":{"rendered":"obtention d&rsquo;une adresse IP via DHCP  Cisco c7200 dans GNS3"},"content":{"rendered":"\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"\/\/ obtention ip dhcp cisco c7200\nRouter&gt; enable\nRouter# configure terminal\nRouter(config)# interface fastEthernet 0\/0\nRouter(config-if)# ip address dhcp\nRouter(config-if)# no shutdown\nRouter(config-if)# exit\nRouter(config)# ip route 0.0.0.0 0.0.0.0 dhcp\nRouter(config)# end\nRouter# ping 8.8.8.8\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">\/\/ obtention ip dhcp cisco c7200<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router&gt; enable<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router<\/span><span style=\"color: #6A9955\"># configure terminal<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router(config)<\/span><span style=\"color: #6A9955\"># interface fastEthernet 0\/0<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router(config-if)<\/span><span style=\"color: #6A9955\"># ip address dhcp<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router(config-if)<\/span><span style=\"color: #6A9955\"># no shutdown<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router(config-if)<\/span><span style=\"color: #6A9955\"># exit<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router(config)<\/span><span style=\"color: #6A9955\"># ip route 0.0.0.0 0.0.0.0 dhcp<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router(config)<\/span><span style=\"color: #6A9955\"># end<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">Router<\/span><span style=\"color: #6A9955\"># ping 8.8.8.8<\/span><\/span><\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":453,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-452","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-reseaux"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=452"}],"version-history":[{"count":4,"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/452\/revisions"}],"predecessor-version":[{"id":458,"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/452\/revisions\/458"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=\/wp\/v2\/media\/453"}],"wp:attachment":[{"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazundo.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}