{"id":150,"date":"2015-12-27T12:45:46","date_gmt":"2015-12-27T10:45:46","guid":{"rendered":"http:\/\/www.draytek.net\/?p=150"},"modified":"2015-12-27T12:46:01","modified_gmt":"2015-12-27T10:46:01","slug":"vlan","status":"publish","type":"post","link":"https:\/\/www.draytek.net\/?p=150","title":{"rendered":"Vlan"},"content":{"rendered":"<p>Assume we have an office that host people from the outside that we want to give internet access. That is one of the use for Vlan. Setting one of the lan ports that will share internet resources but will be separated from the rest of the local network.<\/p>\n<p>Another use for that is if few business want to share one infrastructure, one internet access and still be separated from each other when it gets to local resources (servers, printers, shared files\u2026)<\/p>\n<p>To setup vlan it is very simple:<\/p>\n<p>Under Lan\/Switch you will see Vlan ID and the members.<\/p>\n<p>On 2960 the default of the vlan id is 10 and all ports (Lan_port_1, Lan_port_2, Lan_port_3, Lan_port_) are part of this vlan id.<\/p>\n<p>Double click on that Vlan 10<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-95\" src=\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg\" alt=\"vlan1\" width=\"1193\" height=\"361\" srcset=\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg 1193w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1-300x91.jpg 300w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1-1024x310.jpg 1024w\" sizes=\"(max-width: 1193px) 100vw, 1193px\" \/><\/p>\n<p>In the member and untag, clear the ports you want to use for the other Vlan (in this example I will use ports 1,2 with vlan 10 and ports 3,4 with another vlan)<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-96\" src=\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan2.jpg\" alt=\"vlan2\" width=\"1193\" height=\"777\" srcset=\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan2.jpg 534w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan2-300x196.jpg 300w\" sizes=\"(max-width: 1193px) 100vw, 1193px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The result will be as seen in the next screenshot.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-97\" src=\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan3.jpg\" alt=\"vlan3\" width=\"1057\" height=\"344\" srcset=\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan3.jpg 1057w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan3-300x98.jpg 300w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan3-1024x333.jpg 1024w\" sizes=\"(max-width: 1057px) 100vw, 1057px\" \/><\/p>\n<p>Now we will add another vlan 11 and set the lan 3,4 in the member and untag to be used as part of this vlan.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-98\" src=\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan4.jpg\" alt=\"vlan4\" width=\"743\" height=\"346\" srcset=\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan4.jpg 743w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan4-300x140.jpg 300w\" sizes=\"(max-width: 743px) 100vw, 743px\" \/><\/p>\n<p>After apply the result is 2 Vlans 10,11<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-99\" src=\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan5.jpg\" alt=\"vlan5\" width=\"1068\" height=\"303\" srcset=\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan5.jpg 1068w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan5-300x85.jpg 300w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan5-1024x291.jpg 1024w\" sizes=\"(max-width: 1068px) 100vw, 1068px\" \/><\/p>\n<p>Next we go to Lan\/General Setup and set the second Lan that will use Vlan 11 (ports 3,4)<\/p>\n<p>Give a name (profile), set enable, type your new vlan id 11 give it an IP and DHCP if you want. Click Apply.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-93\" src=\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan_lan.jpg\" alt=\"vlan_lan\" width=\"1036\" height=\"607\" srcset=\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan_lan.jpg 1036w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan_lan-300x176.jpg 300w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan_lan-1024x600.jpg 1024w\" sizes=\"(max-width: 1036px) 100vw, 1036px\" \/><\/p>\n<p>This is the result. In my example devices that will be connected to ports 3 or 4 (lan2) will get the IP 192.168.15.10\u2026110. Those devices will not see the 192.168.10.0 network. Those device will see and share the same internet (Gateway) as those on Vlan 10 (lan1).<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-94\" src=\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan_lan_multiple.jpg\" alt=\"vlan_lan_multiple\" width=\"1152\" height=\"309\" srcset=\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan_lan_multiple.jpg 1152w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan_lan_multiple-300x80.jpg 300w, https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan_lan_multiple-1024x275.jpg 1024w\" sizes=\"(max-width: 1152px) 100vw, 1152px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Assume we have an office that host people from the outside that we want to give internet access. That is one of the use for Vlan. Setting one of the lan ports that will share internet resources but will be separated from the rest of the local network. Another use for that is if few<\/p>\n<p><a href=\"https:\/\/www.draytek.net\/?p=150\" class=\"more-link themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Vlan - Draytek Firewall Wiki<\/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.draytek.net\/?p=150\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Vlan - Draytek Firewall Wiki\" \/>\n<meta property=\"og:description\" content=\"Assume we have an office that host people from the outside that we want to give internet access. That is one of the use for Vlan. Setting one of the lan ports that will share internet resources but will be separated from the rest of the local network. Another use for that is if fewRead More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.draytek.net\/?p=150\" \/>\n<meta property=\"og:site_name\" content=\"Draytek Firewall Wiki\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-27T10:45:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-12-27T10:46:01+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg\" \/>\n<meta name=\"author\" content=\"Hayim Caspy\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hayim Caspy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.draytek.net\/#organization\",\"name\":\"Ornet Communications Israel Ltd.\",\"url\":\"https:\/\/www.draytek.net\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.draytek.net\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/6-copy.jpg\",\"contentUrl\":\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/6-copy.jpg\",\"width\":325,\"height\":207,\"caption\":\"Ornet Communications Israel Ltd.\"},\"image\":{\"@id\":\"https:\/\/www.draytek.net\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.draytek.net\/#website\",\"url\":\"https:\/\/www.draytek.net\/\",\"name\":\"Draytek Firewall Wiki\",\"description\":\"Ornet Communications Ltd Draytek Firewall Wiki\",\"publisher\":{\"@id\":\"https:\/\/www.draytek.net\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.draytek.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.draytek.net\/?p=150#primaryimage\",\"url\":\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg\",\"contentUrl\":\"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg\",\"width\":1193,\"height\":361},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.draytek.net\/?p=150#webpage\",\"url\":\"https:\/\/www.draytek.net\/?p=150\",\"name\":\"Vlan - Draytek Firewall Wiki\",\"isPartOf\":{\"@id\":\"https:\/\/www.draytek.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.draytek.net\/?p=150#primaryimage\"},\"datePublished\":\"2015-12-27T10:45:46+00:00\",\"dateModified\":\"2015-12-27T10:46:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.draytek.net\/?p=150#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.draytek.net\/?p=150\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.draytek.net\/?p=150#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.draytek.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vlan\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.draytek.net\/?p=150#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.draytek.net\/?p=150#webpage\"},\"author\":{\"name\":\"Hayim Caspy\",\"@id\":\"https:\/\/www.draytek.net\/#\/schema\/person\/1c744484603d69c345a0a3ef1c3df6b4\"},\"headline\":\"Vlan\",\"datePublished\":\"2015-12-27T10:45:46+00:00\",\"dateModified\":\"2015-12-27T10:46:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.draytek.net\/?p=150#webpage\"},\"wordCount\":282,\"publisher\":{\"@id\":\"https:\/\/www.draytek.net\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.draytek.net\/?p=150#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg\",\"articleSection\":[\"2960\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.draytek.net\/#\/schema\/person\/1c744484603d69c345a0a3ef1c3df6b4\",\"name\":\"Hayim Caspy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.draytek.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a5064cc51ae3c54ff4c9d5a62533ea8e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a5064cc51ae3c54ff4c9d5a62533ea8e?s=96&d=mm&r=g\",\"caption\":\"Hayim Caspy\"},\"url\":\"https:\/\/www.draytek.net\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Vlan - Draytek Firewall Wiki","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.draytek.net\/?p=150","og_locale":"en_US","og_type":"article","og_title":"Vlan - Draytek Firewall Wiki","og_description":"Assume we have an office that host people from the outside that we want to give internet access. That is one of the use for Vlan. Setting one of the lan ports that will share internet resources but will be separated from the rest of the local network. Another use for that is if fewRead More","og_url":"https:\/\/www.draytek.net\/?p=150","og_site_name":"Draytek Firewall Wiki","article_published_time":"2015-12-27T10:45:46+00:00","article_modified_time":"2015-12-27T10:46:01+00:00","og_image":[{"url":"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg"}],"author":"Hayim Caspy","twitter_card":"summary","twitter_misc":{"Written by":"Hayim Caspy","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.draytek.net\/#organization","name":"Ornet Communications Israel Ltd.","url":"https:\/\/www.draytek.net\/","sameAs":[],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.draytek.net\/#\/schema\/logo\/image\/","url":"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/6-copy.jpg","contentUrl":"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/6-copy.jpg","width":325,"height":207,"caption":"Ornet Communications Israel Ltd."},"image":{"@id":"https:\/\/www.draytek.net\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/www.draytek.net\/#website","url":"https:\/\/www.draytek.net\/","name":"Draytek Firewall Wiki","description":"Ornet Communications Ltd Draytek Firewall Wiki","publisher":{"@id":"https:\/\/www.draytek.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.draytek.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.draytek.net\/?p=150#primaryimage","url":"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg","contentUrl":"https:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg","width":1193,"height":361},{"@type":"WebPage","@id":"https:\/\/www.draytek.net\/?p=150#webpage","url":"https:\/\/www.draytek.net\/?p=150","name":"Vlan - Draytek Firewall Wiki","isPartOf":{"@id":"https:\/\/www.draytek.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.draytek.net\/?p=150#primaryimage"},"datePublished":"2015-12-27T10:45:46+00:00","dateModified":"2015-12-27T10:46:01+00:00","breadcrumb":{"@id":"https:\/\/www.draytek.net\/?p=150#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.draytek.net\/?p=150"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.draytek.net\/?p=150#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.draytek.net\/"},{"@type":"ListItem","position":2,"name":"Vlan"}]},{"@type":"Article","@id":"https:\/\/www.draytek.net\/?p=150#article","isPartOf":{"@id":"https:\/\/www.draytek.net\/?p=150#webpage"},"author":{"name":"Hayim Caspy","@id":"https:\/\/www.draytek.net\/#\/schema\/person\/1c744484603d69c345a0a3ef1c3df6b4"},"headline":"Vlan","datePublished":"2015-12-27T10:45:46+00:00","dateModified":"2015-12-27T10:46:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.draytek.net\/?p=150#webpage"},"wordCount":282,"publisher":{"@id":"https:\/\/www.draytek.net\/#organization"},"image":{"@id":"https:\/\/www.draytek.net\/?p=150#primaryimage"},"thumbnailUrl":"http:\/\/www.draytek.net\/wp-content\/uploads\/2015\/09\/vlan1.jpg","articleSection":["2960"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.draytek.net\/#\/schema\/person\/1c744484603d69c345a0a3ef1c3df6b4","name":"Hayim Caspy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.draytek.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a5064cc51ae3c54ff4c9d5a62533ea8e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a5064cc51ae3c54ff4c9d5a62533ea8e?s=96&d=mm&r=g","caption":"Hayim Caspy"},"url":"https:\/\/www.draytek.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.draytek.net\/index.php?rest_route=\/wp\/v2\/posts\/150"}],"collection":[{"href":"https:\/\/www.draytek.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.draytek.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.draytek.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.draytek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=150"}],"version-history":[{"count":2,"href":"https:\/\/www.draytek.net\/index.php?rest_route=\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":152,"href":"https:\/\/www.draytek.net\/index.php?rest_route=\/wp\/v2\/posts\/150\/revisions\/152"}],"wp:attachment":[{"href":"https:\/\/www.draytek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.draytek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.draytek.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}