<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VLANS + ROUTER in Communications and Wireless</title>
    <link>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299582#M6972</link>
    <description>Thank you.&lt;BR /&gt;What I don't get is - how come the VLAN's will talk to the gateway when the gateway is of different IP range.&lt;BR /&gt;Can yo uexplain that ?&lt;BR /&gt;Regards&lt;BR /&gt;Peter</description>
    <pubDate>Wed, 05 Nov 2008 14:18:12 GMT</pubDate>
    <dc:creator>Piotr Kirklewski</dc:creator>
    <dc:date>2008-11-05T14:18:12Z</dc:date>
    <item>
      <title>VLANS + ROUTER</title>
      <link>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299580#M6970</link>
      <description>&lt;!--!*#--&gt;Hi Guys&lt;BR /&gt;I have 3 Vlans configured already at my 3COM switch:&lt;BR /&gt;VLAN1 - 192.168.1.x&lt;BR /&gt;VALN2 - 192.168.168.x&lt;BR /&gt;VLAN3 - 10.0.0.x&lt;BR /&gt;&lt;BR /&gt;I have single DSL modem:&lt;BR /&gt;DSL - 192.168.70.1&lt;BR /&gt;&lt;BR /&gt;Now I need to build a router/firewall with Linux box.&lt;BR /&gt;The router should make all Vlan's be able to see the internet and AD Windows Server (192.168.70.4).&lt;BR /&gt;The client's machines are PC with Windows XP.&lt;BR /&gt;I don't know much about vlaning on Linux  - could you please provide some ideas on how to sort it out ?&lt;BR /&gt;Some Linux commands I have to run on the box in order to route the traffic to the internet and Windows Server?   &lt;BR /&gt;&lt;BR /&gt;The network looks somewhat like this:&lt;BR /&gt;                      &lt;BR /&gt;                 [INTERNET]&lt;BR /&gt;                          |&lt;BR /&gt;                      [DSL]&lt;BR /&gt;                          |&lt;BR /&gt;        [ROUTER/FIREWALL] &lt;BR /&gt;                          |&lt;BR /&gt;                  [SWITCH]&lt;BR /&gt;                          |&lt;BR /&gt;    [VLAN1] [VLAN2] [VLAN3]</description>
      <pubDate>Tue, 04 Nov 2008 01:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299580#M6970</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2008-11-04T01:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: VLANS + ROUTER</title>
      <link>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299581#M6971</link>
      <description>I don't know the linux commands, but i can describe the steps to take&lt;BR /&gt;&lt;BR /&gt;First you need to configure the system to communicate to all vlans.&lt;BR /&gt;So if you have only one physical interface, you need to create subinterfaces for each vlan. Give each subinterface an ip-adress in its own vlan.&lt;BR /&gt;&lt;A href="http://www.cyberciti.biz/tips/howto-configure-linux-virtual-local-area-network-vlan.html" target="_blank"&gt;http://www.cyberciti.biz/tips/howto-configure-linux-virtual-local-area-network-vlan.html&lt;/A&gt;&lt;BR /&gt; And configure the switch to forward packets from all vlan's to the linux box.&lt;BR /&gt;If you have multiple NIC's configure each with an ip-adress in its own vlan. and connect it to a switchport in the respective vlan.&lt;BR /&gt;&lt;BR /&gt;Maybe you need to configure a DHCP server for each sbnet ?&lt;BR /&gt;&lt;A href="http://www.yolinux.com/TUTORIALS/DHCP-Server.html" target="_blank"&gt;http://www.yolinux.com/TUTORIALS/DHCP-Server.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then you can configure the firewall to forward packets from each subnet to the internet. How to do this will depend on the firewall package used.&lt;BR /&gt;&lt;A href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables" target="_blank"&gt;http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables&lt;/A&gt;</description>
      <pubDate>Wed, 05 Nov 2008 08:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299581#M6971</guid>
      <dc:creator>Pieter 't Hart</dc:creator>
      <dc:date>2008-11-05T08:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: VLANS + ROUTER</title>
      <link>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299582#M6972</link>
      <description>Thank you.&lt;BR /&gt;What I don't get is - how come the VLAN's will talk to the gateway when the gateway is of different IP range.&lt;BR /&gt;Can yo uexplain that ?&lt;BR /&gt;Regards&lt;BR /&gt;Peter</description>
      <pubDate>Wed, 05 Nov 2008 14:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299582#M6972</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2008-11-05T14:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: VLANS + ROUTER</title>
      <link>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299583#M6973</link>
      <description>Hi Peter,&lt;BR /&gt;vlans don't communicate with a gateway.&lt;BR /&gt;nodes with interfaces in a vlan communicate with other interfaces in the same vlan.&lt;BR /&gt;(layer-2 of the layered netwok design)&lt;BR /&gt;an interface with an ip-adress communicates with other adresses in the same subnet.&lt;BR /&gt;(layer-3 of the layered netwok design).&lt;BR /&gt;&lt;BR /&gt;so you need something in the communication between the router/firewall and the switch for the switch to determine what vlan to send to.&lt;BR /&gt;this is done with a special field in the network-packet : a vlan-tag.&lt;BR /&gt;by creating subinterfaces on the router, it will use  this vlan-tag in its packets to the switch.&lt;BR /&gt;The switch must be configured to accept these packets, recognize the vlan-tag and forward to the right vlan (and back offcourse). This is done by configuring this port as a vlan-trunk. so it will send  all packets with vlan-tag to the router.&lt;BR /&gt;Now only level-2 is done.&lt;BR /&gt;&lt;BR /&gt;Second the interface on the router must be configured with an ip-adress in the right subnet for the vlan. so it can communicate with use of the tcp/ip protocol to other hosts.&lt;BR /&gt;&lt;BR /&gt;Third offcourse the router must route between these subnets (connect the subnets on layer-3).&lt;BR /&gt;&lt;BR /&gt;And fourth the router/firewall must selectively send packets to and from the DLS using another interface with a correct ip-adress for that subnet (192.168.70.x).&lt;BR /&gt;&lt;BR /&gt;this is networking in a nutshell&lt;BR /&gt;hope this clarifies?&lt;BR /&gt;&lt;BR /&gt;Pieter</description>
      <pubDate>Wed, 05 Nov 2008 15:39:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299583#M6973</guid>
      <dc:creator>Pieter 't Hart</dc:creator>
      <dc:date>2008-11-05T15:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: VLANS + ROUTER</title>
      <link>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299584#M6974</link>
      <description>Ok &lt;BR /&gt;So how do I configure my network cards ?&lt;BR /&gt;Can you give an example?&lt;BR /&gt;Regards&lt;BR /&gt;Peter</description>
      <pubDate>Tue, 23 Dec 2008 00:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299584#M6974</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2008-12-23T00:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: VLANS + ROUTER</title>
      <link>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299585#M6975</link>
      <description>have you read the article in my previous post ?&lt;BR /&gt;&lt;A href="http://www.cyberciti.biz/tips/howto-configure-linux-virtual-local-area-network-vlan.html" target="_blank"&gt;http://www.cyberciti.biz/tips/howto-configure-linux-virtual-local-area-network-vlan.html&lt;/A&gt;</description>
      <pubDate>Tue, 23 Dec 2008 07:34:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/communications-and-wireless/vlans-router/m-p/4299585#M6975</guid>
      <dc:creator>Pieter 't Hart</dc:creator>
      <dc:date>2008-12-23T07:34:04Z</dc:date>
    </item>
  </channel>
</rss>

