Professional Documents
Culture Documents
Presenter: PaulEriksson
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
Aboutthispresentation
AseedfromtheforumbyRandy(Graham)?:
http://forum.mikrotik.com/viewtopic.php?f=2&t=24352
ThisWorkshopcouldlastforhours..., butthereisonly45min.
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
Aboutthecompany
RoamingNetSweden.
Aboutme
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
Topics
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
Topics
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
WhyVLANs
WhyVLANs
ProvidingasingleHotSpotmodel
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
Ethernetfundamentals
VLANfundamentals
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
10
VLANfundamentals
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
11
Switchconfigurations
Therearetwodifferenttypesofswitchports.
Switchconfigurations
HowVLANsarebuiltinRouterOS
Commands:
Butnowwecannotuseuntaggedinterfacesin theVLAN
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com) 14
HowVLANsarebuiltinawireless environment.
Wlan2
Wlan1
Wlan1
Wlan2
Ether1
Ether1
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
15
HowVLANsarebuiltinawireless environment.
Commands:
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
16
STPandRSTP
Demonetwork
Demonetwork
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
19
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
20
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
21
SWSWGEcabledisconnected
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
22
SWSWFEdisconnected
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
23
RTRTCabledisconnected
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
24
ConfigurationofRTRNET01
#ScriptforconfiguringtheMikrotiktohaveonesinglebridgeandcreatetheVLANontopofthatbridge. /sysidsetname=RTRNET01 #Setupwireless /intwiresetwlan1modeapcountry="czechrepublic"band=5ghzhideyeswdsmodestaticdisabledno /intwirewdsaddmasterwlan1name=wdsrtrnet02wdsaddress=00:0C:42:05:AA:B5 /intwireaccaddauthyesforwyesintwlan1mac=00:0C:42:05:AA:B5 #Addingthebridges /intbraddnamebr2protrstppri0xffff #Addinginterfacestothebridges /intbrpoaddbridgebr2intether2path10000 /intbrpoaddbridgebr2intether3path30000 /intbrpoaddbridgebr2intwdsrtrnet02path40000 #AddingtheVLANinterfaces /intvlanaddnamebr2vl2intbr2vlan2disno /intvlanaddnamebr2vl5intbr2vlan5disno /intvlanaddnamebr2vl10intbr2vlan10disno #AddinganmgmtIP /ipaddraddadd172.30.99.1/24intbr2vl2 #SetupSNMP /snmpsetcontact=noc@roamingnet.comenabled=yeslocation="PragMuM2009"
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
25
ConfigurationofRTRNET02
#ScriptforconfiguringtheMikrotiktohaveonesinglebridgeandcreatetheVLANontopofthatbridge. /sysidsetname=RTRNET02 #Setupwireless /intwiresetwlan1modeapcountry="czechrepublic"band=5ghzhideyeswdsmodestaticdisabledno /intwirewdsaddmasterwlan1name=wdsrtrnet01wdsaddress=00:0C:42:05:AA:B0disabledno /intwireaccaddauthyesforwyesintwlan1mac=00:0C:42:05:AA:B0 #Addingthebridges /intbraddnamebr2protrstppri0xffff #Addinginterfacestothebridges /intbrpoaddbridgebr2intether2path10000 /intbrpoaddbridgebr2intether3path30000 /intbrpoaddbridgebr2intwdsrtrnet01path40000 #AddingtheVLANinterfaces /intvlanaddnamebr2vl2intbr2vlan2disno /intvlanaddnamebr2vl5intbr2vlan5disno /intvlanaddnamebr2vl10intbr2vlan10disno #AddinganmgmtIP /ipaddraddadd172.30.99.2/24intbr2vl2 #SetupSNMP /snmpsetcontact=noc@roamingnet.comenabled=yeslocation="PragMuM2009"
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
26
ConfigurationofSWRNET01
SWRNET01#shoconf Using2181outof32768bytes ! version12.1 noservicepad servicetimestampsdebuguptime servicetimestampsloguptime noservicepasswordencryption ! hostnameSWRNET01 ! enablesecret5xxxxxxxxxxxxxxxxxxxxxxxxxxx ! ipsubnetzero ! ipsshtimeout120 ipsshauthenticationretries3 vtpmodetransparent ! ! spanningtreemodemst nospanningtreeoptimizebpdutransmission spanningtreeextendsystemid ! ! ! ! vlan2 namemgmt ! vlan5 nameISP1 ! vlan10 nameISP2 ! vlan97 ! interfaceFastEthernet0/1 switchporttrunkallowedvlan1,2,5,10 switchportmodetrunk spanningtreecost10000 ! interfaceFastEthernet0/2 switchporttrunkallowedvlan2,5,10 switchportmodetrunk spanningtreecost10000 ! interfaceFastEthernet0/3 ! interfaceFastEthernet0/4 ! interfaceFastEthernet0/5 ! interfaceFastEthernet0/6 ! interfaceFastEthernet0/7 ! interfaceFastEthernet0/8 ! interfaceFastEthernet0/9 ! interfaceFastEthernet0/10 ! interfaceFastEthernet0/11 ! interfaceFastEthernet0/12 ! interfaceFastEthernet0/13 ! interfaceFastEthernet0/14 ! interfaceFastEthernet0/15 ! interfaceFastEthernet0/16 ! interfaceFastEthernet0/17 ! interfaceFastEthernet0/18 ! interfaceFastEthernet0/19 ! interfaceFastEthernet0/20 ! interfaceFastEthernet0/21 ! interfaceFastEthernet0/22 ! interfaceFastEthernet0/23 ! interfaceFastEthernet0/24 ! interfaceGigabitEthernet0/1 switchporttrunkallowedvlan2,5,10 switchportmodetrunk spanningtreecost1000 ! interfaceGigabitEthernet0/2 switchporttrunkallowedvlan1,2,5,10 switchportmodetrunk ! interfaceVlan1 noipaddress noiproutecache shutdown ! interfaceVlan2 ipaddress172.30.99.11255.255.255.0 noiproutecache ! interfaceVlan5 noipaddress noiproutecache shutdown ! interfaceVlan10 noipaddress noiproutecache shutdown ! iphttpserver snmpservercommunitypublicRO snmpserverlocationPragMuM2009 snmpservercontactnoc@roamingnet.com ! linecon0 linevty04 passwordRoamingNet login linevty515 passwordRoamingNet login ! ! end
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
27
ConfigurationofSWRNET02
Startupconfiguration: ;J4812AConfigurationEditor;Createdonrelease#F.05.69 hostname"SWRNET02" snmpservercontact"noc@roamingnet.com" snmpserverlocation"PragMuM2009" maxvlans16 cdprun snmpservercommunity"public"Unrestricted vlan1 name"DEFAULT_VLAN" forbid12,13 untagged512,14 noipaddress nountagged14,13 exit vlan2 name"mgmt" ipaddress172.30.99.12255.255.255.0 tagged12,56,1213 exit vlan5 name"ISP1" untagged34 tagged12,56,1213 exit vlan10 name"ISP2" tagged12,56,1213 exit managementvlan2 noaaaportaccessauthenticatoractive spanningtree spanningtreepriority5 spanningtree13pathcost1000 spanningtree14pathcost10000 passwordmanager passwordoperator exit
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com)
28
Summary
ThankYou!
Paul Eriksson
Mobile: +46706210055 eMail: periksson@roamingnet.com Fax: +46696129010 CV: http://www.linkedin.com/in/periksson
VLANWorkshop2009RoamingNetSweden(www.roamingnet.com) 30