Inter Vlan Routing |In this previous article we learnt how vlan
works.In this article we learn about the concept of inter-vlan routing that is
in some organization there is requirement to communicate different department
to each other,there this methodology is required to solve the problem which we
will discuss later.
Suppose in
some organization there is two departments and the basic task of the network
admin is to assign user for the particular vlan to communicate with the user
within the particular vlan. Two vlans have their own network subnet. User of
the different vlan can not be communicate to each other as they are using
different broadcast domain.
But in some
organization there is requirement to communicate different department to each
other,there this methodology is required to solve the problem.
Concept of Inter-vlan Routing
In some
organization there is two departments ,so we create two vlans.Each vlans has
its own subnet. Normally switch works at layer2 of OSI layer so,it is not
containing any logical address therefore two different vlans can not be
communicate with each other.
To
communicate two different vlans we have to connect a router to the switch.
Sender vlan user data is passed to router through switch then switch forward
the packet to the designated vlan using
destination ip address.Then the
interface of the router act as gateway of vlan.
Type of Inter-vlan Routing
There are
two type of Inter-vlan Routing
·
Traditional Inter-vlan Routing
·
Router-in
–a-stick
Traditional Inter-vlan Routing
In this
type of routing router is connected to the switch using multiple interfaces.
These interfaces act link default
gateway of the vlan.
Sender vlan
user data is passed to router interface for the particular vlan through
switch.When router receive the packet and examine the destination address where
the data will be go and forward the packet to the designated vlan user.
Inter-vlan Routing |
Router-in –a-stick
Suppose we
have 4 vlans on a switch,it is possible from switch end as there are many ports on switch but in case of
router limited ports is available ,that's why router is
connected to switch through single interface and it is splitted for
different interfaces is called subinterface. these subinterfaces act as the gateway
of the particular vlan.
Lets take
an example if router is connected to the switch using fa0/0 interface.we have many vlans
configured on the switch like vlan10,vlan20 and so on.so we create sub
interfaces on the router like for vlan10 subinterface will be fa0/0.10 and this
is the default gateway of vlan10.
0 comments:
Post a Comment