0% found this document useful (0 votes)
9 views4 pages

Router on a Stick: Inter-VLAN Routing Guide

This document describes the configuration of a router in "router on a stick" mode to allow routing between VLANs. This involves creating virtual subinterfaces on a single physical interface of the router and assigning a different IP address from each VLAN to each subinterface, so that a single port of the router can route traffic for multiple VLANs. The required configuration steps on the switch and the router are explained, as well as the benefits and drawbacks of this implementation.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views4 pages

Router on a Stick: Inter-VLAN Routing Guide

This document describes the configuration of a router in "router on a stick" mode to allow routing between VLANs. This involves creating virtual subinterfaces on a single physical interface of the router and assigning a different IP address from each VLAN to each subinterface, so that a single port of the router can route traffic for multiple VLANs. The required configuration steps on the switch and the router are explained, as well as the benefits and drawbacks of this implementation.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Inet-V

r LANRounitgR
-OUTER
ONASTICK
TheROUTERONASTICKosineohtfw
et [Link]
V
-ng.L
reiA
notuN
riniom
cdom
ton

Ictonssistofcreanitgsubnietrfacesonasnigelphyscianiletrface.
retuor

.shithw
tonitaguriocnfenglisangiusofytilbiipsoheW thvaee
e tuor ot ecaf re tni
.ecafreunktoiocdesntruehcnw
dtsitittporhoem
rtf

Nos
basequeueTRUNK
[Link]?C
fai l

epm
lw
onieteunkorltsm
ffP
diIsepm
lgW
cieuohrnutfscanle
secaf re tni l aut r iv
. sci syhp

Welaveaobtfiascroiunitgw
,hcihgsieneraylwhat
aceferntieachotw
coendtqnkuectoriahastiand,tsrifnearw le
.reoutrdle

R
hA
etO
odfvaU
gnestTER
ON
A
ST
C
IK
[Link]
im
epo,lnetE
ysa
VLANnhiteRouet.r

MuchcheapertohavearouterforVLAN.

MuchbetterlatencythanhavingarouterforVLAN.

oquenlderseneutQ
areV
uiLAN?Ma
[Link]

DsiadvanatgesofhteROUTERONASTICK
V
-reL ntA
[Link]
thnaiotwlsreerasreouT
trhe
hc.w stdeiyarel-im taulhvaeot dlaei

Wneenoditcerahstenumbopearfm
os,trongmoperostr
r evisnepxe erm
o a ser iuqer

Wearexposedohtegoodfuncoitnnigoasnfigeplhyscniaetlrface.
.eurliafofnptoienglisasireourtT
shi

ExampeolR
fOUTERONASTICK
V
hcaeLA
orfN
nager:PoIw
nlgoilfheW
thvaee

VLAN10–1921.681.0.2/4

VLAN20–1921.682.0.2/4

VLAN30–1921.683.0.2/4

Beolwwehaveamapohtfenew
t orknifrasrutcutre.
Fsetrpi:

WeconfgiurehteporotfhteSWITCHhtactonnecstohteROUTER
[Link]
llei

InEneS
lWITCHwehavhetefolwnigcommanndiles

SWT
ICH#congifuerTem
rnial

SWT
ICHc(ongi#f)naeiE
crtfsehtenr0e1t/

SWT
ICHc(o#)ngfsw
if-chtipm
otrourdtnek

SWT
ICHc(o#)ngfif-oshudtown

Secondsetp:

Nowwew hlaivoetcongfiuhretneitrfaceoshtfeROUTERwhtieIP
SW
heV
tdacehw
T
L
tIdeC
A
.itasH
osicptN
aors

IneR
lOUTERwehavhetefolwnigcommanndiles:

ROUTER(config)#interfacefastEthernet0/01.0

ROUTER(config-if)#encapsulationdot1q10

ROUTER(config-if)#ipaddress1921.681.01.252552.552.550.

ROUTER(config)#interfacefastEthernet0/02.0

ROUTER(config-if)#encapsulationdot1q20

ROUTER(config-if)#ipaddress1921.682.01.252552.552.550.

ROUTER(config)#interfacefastEthernet0/03.0

ROUTER(config-if)#encapsulationdot1q30

ROUTER(config-if)#ipaddress1921.683.01.252552.552.550.

[Link]
rhi
R
0hO
e0/tnU
ehreE
oT
ftsE
aecfRrentihetupngB
ir

ROUTER(config-)#interfacefastEthernet0/0

ROUTER(config-if)#noshutdown

ROUTER(config-if)#dowrite

V
cOoecnrsfm
oghdtisnL
ueaiftrceA
dpt,lotN
baew
lsli
om
[Link]

You might also like