


{"id":980,"date":"2013-11-12T10:20:50","date_gmt":"2013-11-12T16:20:50","guid":{"rendered":"http:\/\/www.poweradmin.com\/blog\/?p=980"},"modified":"2015-04-27T08:27:42","modified_gmt":"2015-04-27T13:27:42","slug":"how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first","status":"publish","type":"post","link":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/","title":{"rendered":"How to implement DHCP"},"content":{"rendered":"<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide.<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/11\/01-DHCP-with-OSPF.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"DHCP with OSPF\" class=\"size-large wp-image-989 alignnone\" height=\"421\" src=\"\/blog\/wp-content\/uploads\/2013\/11\/01-DHCP-with-OSPF-1024x421.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"1024\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/01-DHCP-with-OSPF-1024x421.png 1024w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/01-DHCP-with-OSPF-300x123.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/01-DHCP-with-OSPF.png 1061w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/a>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\"><strong>Figure. 1<\/strong><\/span><\/span>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\"><strong>Scenario:<\/strong><\/span><\/span>\n<\/p>\n<ol>\n<li>\n\t\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">A DHCP server in the entire network must assign all the IP addresses that are required.<\/span><\/span>\n\t<\/li>\n<li>\n\t\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">We have 5 different VLANs and Subnets named Accounting, Engineering, and Server on SW1 and Logistics &amp; HSE on SW2. Devices that are in these VLANs need to be assigned the IP address automatically by a DHCP server.<\/span><\/span>\n\t<\/li>\n<li>\n\t\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">We need inter-VLAN routing for all VLANs.<\/span><\/span>\n\t<\/li>\n<li>\n\t\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Two routers are connecting segment A to B (refer to Figure 1 above) and the ROAS is implemented on both of them.<\/span><\/span>\n\t<\/li>\n<li>\n\t\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Use OSPF routing protocol to route packets between segment A and B.<\/span><\/span>\n\t<\/li>\n<\/ol>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\"><strong>Procedure:<\/strong><\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">First let\u2019s create VLANs on SW1 and SW2. Login to the switch and issue the commands below in order to configure VLANs on the switches.<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\"><em>SW1 Configuration:<\/em><\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Create VLANs according to the scenario and assign the ports to the VLANs:<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Switch#config t<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Switch(config)#hostname SW1<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config)#vlan 10<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-vlan)#name Accounting<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-vlan)#vlan 20<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-vlan)#name Engineering<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-vlan)#vlan 100<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-vlan)#name Server<\/span><\/span>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">After creating VLANs switchports to the vlans, you need to change the ports to access mode.<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config)#interface fastEthernet 0\/1<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport mode access<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport access vlan 10<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config)#interface fastEthernet 0\/2<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport mode access<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport access vlan 20<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config)#interface fastEthernet 0\/3<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport mode access<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport access vlan 100<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config)#interface fastEthernet 0\/23<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport mode access<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport access vlan 100<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Verify the settings by issuing the <strong>Show vlan brief<\/strong> command. The output should look similar to <strong>Figure. 2.<\/strong><\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/11\/02-Show-VLAN-Brief-Command.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Show VLAN Brief Command\" class=\"alignnone size-full wp-image-990\" height=\"250\" src=\"\/blog\/wp-content\/uploads\/2013\/11\/02-Show-VLAN-Brief-Command.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"593\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/02-Show-VLAN-Brief-Command.png 593w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/02-Show-VLAN-Brief-Command-300x126.png 300w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\"><\/a>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\"><strong>Figure. 2<\/strong><\/span> <\/span>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">According to the scenario we need to implement Inter-vlan routing on the SW1. So we must designate a port as <strong>Trunk port<\/strong> to enable Inter-vlan routing on it and then we must connect this port to R1.<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">To make a port trunk port issue these commands in SW1 command line interface.<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1#config t<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config)#interface fastEthernet 0\/24<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport trunk allowed vlan 10,20,100<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">SW1(config-if)#switchport mode trunk<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Now let\u2019s add the first router to the packet tracer and configure ROAS for Inter-vlan routing. To configure Inter-vlan we must make 4 virtual interfaces on one of the R1\u2019s Fast-Ethernet interfaces. Here I am going to use Fa0\/0 to add these virtual interfaces.<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Router&gt;en<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1#config t<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config)#hostname R1<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config)#interface fastEthernet 0\/0<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-if)#no shutdown<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-if)#exit<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config)#interface fastEthernet 0\/0.10<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#encapsulation dot1Q<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#ip address 192.168.10.254 255.255.255.0<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#exit<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config)#interface fastEthernet 0\/0.20<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#encapsulation dot1Q<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#ip address 192.168.20.254 255.255.255.0<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#exit<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config)#interface fastEthernet 0\/0.100<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#encapsulation dot1Q<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#ip address 192.168.100.254 255.255.255.0<\/span><\/span>\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">R1(config-subif)#exit<\/span><\/span>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Inter-vlan routing is now functional. It is time to add a DHCP server and configure the server to lease IPs to the clients in segment A.<\/span><\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">Click on the server and assign the IP address of the server on Desktop tab as depicted in <strong>Figure. 3.<\/strong><\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/11\/03-DHCP-IP-Configuration.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"DHCP IP Configuration\" class=\"alignnone size-large wp-image-991\" height=\"630\" src=\"\/blog\/wp-content\/uploads\/2013\/11\/03-DHCP-IP-Configuration-1024x630.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"1024\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/03-DHCP-IP-Configuration-1024x630.png 1024w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/03-DHCP-IP-Configuration-300x184.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/03-DHCP-IP-Configuration.png 1271w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/a>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\"><strong>Figure. 3<\/strong><\/span><\/span>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">To configure the DHCP server click on the Config tab and assign the Scopes parameters as shown in F<strong>igure. 4<\/strong>.<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/11\/04-Configure-DHCP-Server-Scopes.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Configure DHCP Server Scopes\" class=\"alignnone size-large wp-image-981\" height=\"481\" src=\"\/blog\/wp-content\/uploads\/2013\/11\/04-Configure-DHCP-Server-Scopes-1024x481.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"1024\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/04-Configure-DHCP-Server-Scopes-1024x481.png 1024w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/04-Configure-DHCP-Server-Scopes-300x141.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/04-Configure-DHCP-Server-Scopes.png 1345w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/a>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\"><strong>Figure. 4<\/strong><\/span><\/span>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\">To test if the configuration is working or not click on the PC4 and set the IP configuration settings to DHCP. In <strong>Figure.5<\/strong> you can see that PC4 has obtained its IP lease from the server.<\/span><\/span>\n<\/p>\n<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/11\/05-Test-DHCP-Configuration.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"Test DHCP Configuration\" class=\"alignnone size-large wp-image-982\" height=\"476\" src=\"\/blog\/wp-content\/uploads\/2013\/11\/05-Test-DHCP-Configuration-1024x476.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"1024\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/05-Test-DHCP-Configuration-1024x476.png 1024w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/05-Test-DHCP-Configuration-300x139.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/05-Test-DHCP-Configuration.png 1439w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/a>\n<\/p>\n<p>\n\t<span style=\"font-size:16px;\"><span style=\"font-family: tahoma,geneva,sans-serif;\"><strong>Figure. 5<\/strong><\/span><\/span>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p>\n\t<span style=\"font-family:tahoma,geneva,sans-serif;\"><span style=\"font-size: 18px;\"><span style=\"color:#000000;\">To read the rest of the Article, go to <\/span><strong><a href=\"\/blog\/pt-2-how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/\"><span style=\"color:#FF0000;\">How To Implement DHCP \u2013 Part 2<\/span><\/a><\/strong><\/span><\/span>\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t\u00a0\n<\/p>\n<p>\n\t\u00a0\n<\/p>\n<p style=\"margin-left:.5in;\">\n\t\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 \u00a0 Scenario: A DHCP server in the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":989,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,9,8],"tags":[],"class_list":["post-980","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-technical","category-windows"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 Scenario: A DHCP server in the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Soheil Esmaeili\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Network Wrangler - Tech Blog | IT Tips, tricks, tutorials and just interesting stuff for IT folks.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to implement DHCP | Network Wrangler - Tech Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 Scenario: A DHCP server in the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-11-12T16:20:50+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-04-27T13:27:42+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to implement DHCP | Network Wrangler - Tech Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 Scenario: A DHCP server in the\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#article\",\"name\":\"How to implement DHCP | Network Wrangler - Tech Blog\",\"headline\":\"How to implement DHCP\",\"author\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/author\\\/soheil\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/01-DHCP-with-OSPF.png\",\"width\":1061,\"height\":437,\"caption\":\"DHCP with OSPF\"},\"datePublished\":\"2013-11-12T10:20:50-06:00\",\"dateModified\":\"2015-04-27T08:27:42-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#webpage\"},\"articleSection\":\"How To, Technical, Windows\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/category\\\/how-to\\\/#listItem\",\"name\":\"How To\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/category\\\/how-to\\\/#listItem\",\"position\":2,\"name\":\"How To\",\"item\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/category\\\/how-to\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#listItem\",\"name\":\"How to implement DHCP\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#listItem\",\"position\":3,\"name\":\"How to implement DHCP\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/category\\\/how-to\\\/#listItem\",\"name\":\"How To\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/#organization\",\"name\":\"Network Wrangler - Tech Blog\",\"description\":\"IT Tips, tricks, tutorials and just interesting stuff for IT folks.\",\"url\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/author\\\/soheil\\\/#author\",\"url\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/author\\\/soheil\\\/\",\"name\":\"Soheil Esmaeili\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ea7f902b3930b846744944203e1604ae69571e619d30bb757bfc49a1cc608ad0?s=96&d=mm&r=pg\",\"width\":96,\"height\":96,\"caption\":\"Soheil Esmaeili\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#webpage\",\"url\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/\",\"name\":\"How to implement DHCP | Network Wrangler - Tech Blog\",\"description\":\"In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 Scenario: A DHCP server in the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/author\\\/soheil\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/author\\\/soheil\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/01-DHCP-with-OSPF.png\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#mainImage\",\"width\":1061,\"height\":437,\"caption\":\"DHCP with OSPF\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\\\/#mainImage\"},\"datePublished\":\"2013-11-12T10:20:50-06:00\",\"dateModified\":\"2015-04-27T08:27:42-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/\",\"name\":\"Network Wrangler - Tech Blog\",\"description\":\"IT Tips, tricks, tutorials and just interesting stuff for IT folks.\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.poweradmin.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to implement DHCP | Network Wrangler - Tech Blog","description":"In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 Scenario: A DHCP server in the","canonical_url":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#article","name":"How to implement DHCP | Network Wrangler - Tech Blog","headline":"How to implement DHCP","author":{"@id":"https:\/\/www.poweradmin.com\/blog\/author\/soheil\/#author"},"publisher":{"@id":"https:\/\/www.poweradmin.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/01-DHCP-with-OSPF.png","width":1061,"height":437,"caption":"DHCP with OSPF"},"datePublished":"2013-11-12T10:20:50-06:00","dateModified":"2015-04-27T08:27:42-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#webpage"},"isPartOf":{"@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#webpage"},"articleSection":"How To, Technical, Windows"},{"@type":"BreadcrumbList","@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.poweradmin.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.poweradmin.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.poweradmin.com\/blog\/category\/how-to\/#listItem","name":"How To"}},{"@type":"ListItem","@id":"https:\/\/www.poweradmin.com\/blog\/category\/how-to\/#listItem","position":2,"name":"How To","item":"https:\/\/www.poweradmin.com\/blog\/category\/how-to\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#listItem","name":"How to implement DHCP"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.poweradmin.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#listItem","position":3,"name":"How to implement DHCP","previousItem":{"@type":"ListItem","@id":"https:\/\/www.poweradmin.com\/blog\/category\/how-to\/#listItem","name":"How To"}}]},{"@type":"Organization","@id":"https:\/\/www.poweradmin.com\/blog\/#organization","name":"Network Wrangler - Tech Blog","description":"IT Tips, tricks, tutorials and just interesting stuff for IT folks.","url":"https:\/\/www.poweradmin.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.poweradmin.com\/blog\/author\/soheil\/#author","url":"https:\/\/www.poweradmin.com\/blog\/author\/soheil\/","name":"Soheil Esmaeili","image":{"@type":"ImageObject","@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/ea7f902b3930b846744944203e1604ae69571e619d30bb757bfc49a1cc608ad0?s=96&d=mm&r=pg","width":96,"height":96,"caption":"Soheil Esmaeili"}},{"@type":"WebPage","@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#webpage","url":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/","name":"How to implement DHCP | Network Wrangler - Tech Blog","description":"In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 Scenario: A DHCP server in the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.poweradmin.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#breadcrumblist"},"author":{"@id":"https:\/\/www.poweradmin.com\/blog\/author\/soheil\/#author"},"creator":{"@id":"https:\/\/www.poweradmin.com\/blog\/author\/soheil\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/01-DHCP-with-OSPF.png","@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#mainImage","width":1061,"height":437,"caption":"DHCP with OSPF"},"primaryImageOfPage":{"@id":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/#mainImage"},"datePublished":"2013-11-12T10:20:50-06:00","dateModified":"2015-04-27T08:27:42-05:00"},{"@type":"WebSite","@id":"https:\/\/www.poweradmin.com\/blog\/#website","url":"https:\/\/www.poweradmin.com\/blog\/","name":"Network Wrangler - Tech Blog","description":"IT Tips, tricks, tutorials and just interesting stuff for IT folks.","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.poweradmin.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Network Wrangler - Tech Blog | IT Tips, tricks, tutorials and just interesting stuff for IT folks.","og:type":"article","og:title":"How to implement DHCP | Network Wrangler - Tech Blog","og:description":"In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 Scenario: A DHCP server in the","og:url":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/","article:published_time":"2013-11-12T16:20:50+00:00","article:modified_time":"2015-04-27T13:27:42+00:00","twitter:card":"summary","twitter:title":"How to implement DHCP | Network Wrangler - Tech Blog","twitter:description":"In this article I am going to show how you can implement DHCP relay agent and inter-VLAN routing with OSPF (as shown in Figure. 1). Let\u2019s start with a short description of the scenario and then we will proceed through the step by step configuration guide. Figure. 1 Scenario: A DHCP server in the"},"aioseo_meta_data":{"post_id":"980","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-10-06 21:24:42","updated":"2025-10-01 21:51:28","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.poweradmin.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.poweradmin.com\/blog\/category\/how-to\/\" title=\"How To\">How To<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to implement DHCP\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.poweradmin.com\/blog"},{"label":"How To","link":"https:\/\/www.poweradmin.com\/blog\/category\/how-to\/"},{"label":"How to implement DHCP","link":"https:\/\/www.poweradmin.com\/blog\/how-to-implement-dhcp-relay-agent-roas-ospf-open-shortest-path-first\/"}],"_links":{"self":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/comments?post=980"}],"version-history":[{"count":5,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/980\/revisions"}],"predecessor-version":[{"id":3567,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/980\/revisions\/3567"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media\/989"}],"wp:attachment":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media?parent=980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/categories?post=980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/tags?post=980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}