

Suppose i have a 24 port switch, and would like to have 4 vlan's(vlan 200,vlan 300,vlan 400, vlan 500) and 15 hosts connected to it. If that host needs to be a member of another vlan, at the same time, then another physical cable needs to be connected to a different port,with different vlan id.Īs i told before, your vlan 300 can have its member's from other switches also(because an entire network infrastructure will consist many switches, which might be located in different floors etc.). Also the hosts connected to that port will be a member of vlan 300. If i have assigned a vlan id of 300 to one of my switch port, then that port will only accept traffic from other ports with vlan id 300. VLAN id(number's) are assigned to switch ports. Don't forget that all the hosts are connected to the same switch, but can isolate them into different network's as required with the help of VLAN's. Virtual Local Area Network is the method of segregating, group of different hosts, to different broadcast domains, so that different virtual networks are formed. The main building block of a vlan is ethernet frames(network data in data link layer are called frames).And the entire show of VLAN is run by switches.And operating system's sometimes coordinate with switches to comfortably run the show, by following some standards. Dr.W.David.Sincoskie came up with a solution called VLAN's.Īn important fact to keep always in mind is that VLAN's work in Layer 2(Data link layer). There arised a need to cost effectively isolate broadcast domains, comprising of hosts from different physical locations. In other words, we can say that all machine's attached to that switch was in one broadcast domain. Which means each and every host attached to that network switch, was able to reach all other hosts attached to that switch without any gateway or router in between. Initially when networking switches were introduced in the market, all devices connected to it, in any of its port, were members of the same network or LAN. We will start with some VLAN basics and then move towards configuration options. In this post we will be going through the steps for configuring vlan on a Linux machine. However Linux machines provide an inbuilt functionality to configure your nic card interface to send VLAN information in the traffic.Ĭonfiguring vlan in Linux machine is not a touch task, it only requires the correct vlan, and ip information to be present on the interface configuration file.
#Ping network is unreachable linux to different vlan windows#
If you are using windows machine as a server, most of the time's nic card manufacturers provide, a graphical utility to configure vlan options for the nic card. You can then investigate the IP address settings on the device and verify the connections.Configuring multiple vlan's in a switch is a norm these days. If you try to ping your router from a computer on the Local Area Network (LAN) and you get a response – destination host unreachable, this means that your computer is not getting an IP address from the router.


