{"id":1359,"date":"2021-10-22T23:55:59","date_gmt":"2021-10-23T06:55:59","guid":{"rendered":"https:\/\/jmcristobal.com\/?p=1359"},"modified":"2022-02-13T08:32:55","modified_gmt":"2022-02-13T16:32:55","slug":"configure-dhcp-in-router-cisco","status":"publish","type":"post","link":"https:\/\/www.jmcristobal.com\/es\/2021\/10\/22\/configure-dhcp-in-router-cisco\/","title":{"rendered":"Configure DHCP in router cisco"},"content":{"rendered":"<p><strong>DHCP (Dynamic Host Configuration Protocol)&nbsp;<\/strong><\/p>\n\n\n\n<p>El protocolo DHCP permite a los clientes configurar din\u00e1micamente los par\u00e1metros  de red sin ning\u00fan proceso de configuraci\u00f3n manual. Asigna din\u00e1micamente una direcci\u00f3n IP de al cliente, m\u00e1scara de subred, puerta de enlace predeterminada, servidor DNS, tiempo de arrendamiento, etc.<\/p>\n\n\n\n<p>Las cuatro fases b\u00e1sicas DHCP:<\/p>\n\n\n\n<ul><li>Step 1.- DHCP Discover. Mensaje tipo broadcast desde un cliente para encontrar un servidor DHCP.<br><\/li><li>Step 2.- DHCP Offer.- Respuesta del servidor DHCP al mensaje Discover del cliente. Este mensaje contiene la informaci\u00f3n de red que ofrece el servidor DHCP, tal como una direccion IP del cliente, m\u00e1scara de red, gateway, servidor dns, etc.\u00a0<br><\/li><li>Step 3.- DHCP Request.- Mensaje utilizado por el cliente para responder al servidor DHCP que si acepta la informaci\u00f3n ofrecida en el paso 3.<br><\/li><li>Step 4.- DHCP Ack.- El servidor DHCP le envia un acuse de recibo para concretar el arrendamiento.<\/li><\/ul>\n\n\n\n<p>Configuraci\u00f3n de servidor DHCP en router:<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"adoc\" class=\"language-adoc\">Switch(config)# ip dhcp excluded-address 10.1.1.1 10.1.1.10 \/\/Excluir un rango de direcciones IP de la entrega autom\u00e1tica.\n\nSwitch(config)# ip dhcp pool Users \/\/Asignar un nombre al pool de direcciones\n\nSwitch(dhcp-config)# network 10.1.1.0 255.255.255.0\nSwitch(dhcp-config)# default-router 10.1.1.1\nSwitch(dhcp-config)# dns-server 10.10.10.1\n\nSwitch(dhcp-config)# lease infinite \/\/Tiempo de arrendamiento para el cliente, se puede programar por d\u00eda, hora y minutos<\/code><\/pre>\n\n\n\n<p>Verificaci\u00f3n:<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"adoc\" class=\"language-adoc\">Switch# show ip dhcp binding \/\/Muestra todas la IP arrendadas por el server\n\nSwitch# clear ip dhcp binding * \/\/Borra todos los arrendamientos DHCP\n\nSwitch# debug ip dhcp server packet|events \/\/Ver en tiempo real dhcp discover, offer, request y ack.<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>DHCP Relay &#8211; Relay Agent<\/strong><\/p>\n\n\n\n<p>Utilizado para reenviar mensajes DHCP hacia servidores DHCP en redes remotas. Convierte los paquetes a unicast y los env\u00eda a la IP configurada como un servidor DHCP.<\/p>\n\n\n\n<p>Se aplica sobre la interfaz fisica o SVI, de esta forma no se crean pools DHCP.<\/p>\n\n\n\n<p>Configuraci\u00f3n:<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code lang=\"adoc\" class=\"language-adoc\">Switch(config)# interface vlan 1\nSwitch(config-if)# ip helper-address 10.1.10.1<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>DHCP (Dynamic Host Configuration Protocol)&nbsp; The DHCP protocol allows clients to dynamically configure network parameters without the need for a manual configuration <\/p>","protected":false},"author":2,"featured_media":1392,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[233],"tags":[280,298,340,518,407],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure DHCP in router cisco - JMCristobal<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.jmcristobal.com\/es\/2021\/10\/22\/configure-dhcp-in-router-cisco\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure DHCP in router cisco - JMCristobal\" \/>\n<meta property=\"og:description\" content=\"DHCP (Dynamic Host Configuration Protocol)&nbsp; The DHCP protocol allows clients to dynamically configure network parameters without the need for a manual configuration\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.jmcristobal.com\/es\/2021\/10\/22\/configure-dhcp-in-router-cisco\/\" \/>\n<meta property=\"og:site_name\" content=\"JMCristobal\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/JMCristobalHomepage\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-23T06:55:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-13T16:32:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.jmcristobal.com\/wp-content\/uploads\/2022\/01\/RS.png\" \/>\n\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t<meta property=\"og:image:height\" content=\"206\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"JMCristobal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@jmcristobalhome\" \/>\n<meta name=\"twitter:site\" content=\"@jmcristobalhome\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"JMCristobal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/\"},\"author\":{\"name\":\"JMCristobal\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\"},\"headline\":\"Configure DHCP in router cisco\",\"datePublished\":\"2021-10-23T06:55:59+00:00\",\"dateModified\":\"2022-02-13T16:32:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/\"},\"wordCount\":195,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/#organization\"},\"keywords\":[\"cisco\",\"dhcp\",\"ios\",\"relay\",\"router\"],\"articleSection\":[\"Enterprise Infrastructure\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/\",\"url\":\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/\",\"name\":\"Configure DHCP in router cisco - JMCristobal\",\"isPartOf\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/#website\"},\"datePublished\":\"2021-10-23T06:55:59+00:00\",\"dateModified\":\"2022-02-13T16:32:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jmcristobal.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure DHCP in router cisco\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#website\",\"url\":\"https:\/\/jmcristobal.com\/es\/\",\"name\":\"JMCristobal\",\"description\":\"Networking and more\",\"publisher\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jmcristobal.com\/es\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#organization\",\"name\":\"JMCristobal\",\"url\":\"https:\/\/jmcristobal.com\/es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png\",\"contentUrl\":\"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png\",\"width\":518,\"height\":436,\"caption\":\"JMCristobal\"},\"image\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.youtube.com\/JMCristobalHomepage\",\"https:\/\/web.facebook.com\/JMCristobalHomepage\",\"https:\/\/twitter.com\/jmcristobalhome\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\",\"name\":\"JMCristobal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g\",\"caption\":\"JMCristobal\"},\"url\":\"https:\/\/www.jmcristobal.com\/es\/author\/jmcristobal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure DHCP in router cisco - JMCristobal","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.jmcristobal.com\/es\/2021\/10\/22\/configure-dhcp-in-router-cisco\/","og_locale":"es_ES","og_type":"article","og_title":"Configure DHCP in router cisco - JMCristobal","og_description":"DHCP (Dynamic Host Configuration Protocol)&nbsp; The DHCP protocol allows clients to dynamically configure network parameters without the need for a manual configuration","og_url":"https:\/\/www.jmcristobal.com\/es\/2021\/10\/22\/configure-dhcp-in-router-cisco\/","og_site_name":"JMCristobal","article_publisher":"https:\/\/web.facebook.com\/JMCristobalHomepage","article_published_time":"2021-10-23T06:55:59+00:00","article_modified_time":"2022-02-13T16:32:55+00:00","og_image":[{"width":350,"height":206,"url":"https:\/\/www.jmcristobal.com\/wp-content\/uploads\/2022\/01\/RS.png","type":"image\/png"}],"author":"JMCristobal","twitter_card":"summary_large_image","twitter_creator":"@jmcristobalhome","twitter_site":"@jmcristobalhome","twitter_misc":{"Escrito por":"JMCristobal","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/#article","isPartOf":{"@id":"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/"},"author":{"name":"JMCristobal","@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118"},"headline":"Configure DHCP in router cisco","datePublished":"2021-10-23T06:55:59+00:00","dateModified":"2022-02-13T16:32:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/"},"wordCount":195,"commentCount":0,"publisher":{"@id":"https:\/\/jmcristobal.com\/es\/#organization"},"keywords":["cisco","dhcp","ios","relay","router"],"articleSection":["Enterprise Infrastructure"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/","url":"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/","name":"Configure DHCP in router cisco - JMCristobal","isPartOf":{"@id":"https:\/\/jmcristobal.com\/es\/#website"},"datePublished":"2021-10-23T06:55:59+00:00","dateModified":"2022-02-13T16:32:55+00:00","breadcrumb":{"@id":"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.jmcristobal.com\/2021\/10\/22\/configure-dhcp-in-router-cisco\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jmcristobal.com\/es\/"},{"@type":"ListItem","position":2,"name":"Configure DHCP in router cisco"}]},{"@type":"WebSite","@id":"https:\/\/jmcristobal.com\/es\/#website","url":"https:\/\/jmcristobal.com\/es\/","name":"JMCristobal","description":"Networking and more","publisher":{"@id":"https:\/\/jmcristobal.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jmcristobal.com\/es\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/jmcristobal.com\/es\/#organization","name":"JMCristobal","url":"https:\/\/jmcristobal.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/logo\/image\/","url":"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png","contentUrl":"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png","width":518,"height":436,"caption":"JMCristobal"},"image":{"@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.youtube.com\/JMCristobalHomepage","https:\/\/web.facebook.com\/JMCristobalHomepage","https:\/\/twitter.com\/jmcristobalhome"]},{"@type":"Person","@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118","name":"JMCristobal","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/jmcristobal.com\/es\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g","caption":"JMCristobal"},"url":"https:\/\/www.jmcristobal.com\/es\/author\/jmcristobal\/"}]}},"jetpack_featured_media_url":"https:\/\/www.jmcristobal.com\/wp-content\/uploads\/2022\/01\/RS.png","_links":{"self":[{"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/1359"}],"collection":[{"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/comments?post=1359"}],"version-history":[{"count":11,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/1359\/revisions"}],"predecessor-version":[{"id":1532,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/1359\/revisions\/1532"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/media\/1392"}],"wp:attachment":[{"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/media?parent=1359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/categories?post=1359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/tags?post=1359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}