1 / 8

Virtual LAN Számítógép hálózatok gyakorlata

Virtual LAN Számítógép hálózatok gyakorlata. ÓBUDAI EGYETEM 2011 TAVASZI FÉLÉV 9. LABORGYAKORLAT PRÉM DÁNIEL. Virtual Local Area Network. VLAN ≠ WLAN Virtual LAN ( logically related network ) broadcast domain inside the switch

zyta
Download Presentation

Virtual LAN Számítógép hálózatok gyakorlata

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Virtual LANSzámítógép hálózatok gyakorlata ÓBUDAI EGYETEM 2011 TAVASZI FÉLÉV 9. LABORGYAKORLAT PRÉM DÁNIEL

  2. Virtual Local Area Network • VLAN ≠ WLAN • Virtual LAN (logically related network)broadcast domain inside the switch • VLANsarestoredinthe VTP (VLAN trunkingprotocol) databases • Configurable parameters of VLANs: name, type, state • SomeVLANshave a distinguishedtask, otherscan be usedas arbitrarily (e.g.: 1 = management vlan) • Cisco VLAN ranges • normalrange: 1-1000 (configurablefrom 2) • extendedrange: 1025-4096

  3. Virtual Local Area Network • Machinesinthesame VLAN seeeach other as if they were in a normal LAN. • MachinesinseparateVLANsdon’tseetraffic of theother VLAN (notevenwhentheyareconnectedtoneighbouringportsonthesame switch – 2nd layer) • SeparateVLANscanonlycommunicateifthere is routingbetweenthem (sameas in normal LANs) – 3rd layer • VLANsneedconfiguratingonswitches and routersaswell

  4. VLAN Trunking • Makesit possible to multiplex the traffic of more than one logical networks on one cable • VLANID is usedtoseparate the traffic • Connectiontypes: • Access: 1 VLAN traffic • Trunk: MultipleVLANs batched (dot1Q -> IEEE 802.1q standard)

  5. VLAN configurationinrouters • Router(config)# interfaceFastEthernet X/Y • Router(config-if)# no shutdown • Router(config-if)# exit • Router(config)# interfaceFastEthernet X/Y.Z • Router(config-subif)# encapsulationdot1Q [VLAN] • Router(config-subif)# ipaddress[IP addr.] [subnetmask] • Router(config-subif)# no shutdown • Router(config-subif)# exit • Where: • X,Y: Interface ID • Z: Subinterface ID (usuallythe VLANID) • [VLAN]: The VLAN ID

  6. VLAN configurationonSwiches • Switch> enable • Switch# configureterminal • Switch(config)# vlan[VLAN] • Switch(config-vlan)# name[VLAN_NAME] • Switch(config-vlan)# exit • Where: • [VLAN]: is theVLAN ID • [VLAN_NAME] is thefriendlyname of the VLAN

  7. VLAN configuration on Swiches • //oneinterfaceSwitch(config)# interfaceFastEthernet X/Y • //interfacerangeSwitch(config)# interfacerangeFastEthernet X/Y-Z • Switch(config-if-range)# switchportaccessvlan [VLAN] • Switch(config-if-range)# no shutdown • Switch(config-if-range)# exit • Where: • X,Y: ID of thefirstinterface • Z: ID of thelastinterface • [VLAN]: The VLAN ID

  8. VLAN configuration on Swiches • //oneinterfaceSwitch(config)# interfaceFastEthernet X/Y • // interface rangeSwitch(config)# interfacerangeFastEthernet X/Y-Z • Switch(config-if-range)# switchportmodetrunk • Switch(config-if-range)# switchporttrunkallowedvlan add [VLAN 1] • Switch(config-if-range)# switchporttrunkallowedvlan add [VLAN 2] • Switch(config-if-range)# switchporttrunkallowedvlan add [VLAN N] • Where: • X,Y: ID of the first interface • Z: ID of the last interface • [VLAN]: The VLAN ID

More Related