Top Banner
VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean
32

VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Dec 14, 2015

Download

Documents

Violet Hilton
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

VLANKRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL

Guided by Prof, Edmund Gean

Page 2: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Introduction

● What is a LAN?● Why it is defined as single broadcast domain?● What’s the disadvantage?● What was the alternative solution?

Page 3: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

What are VLAN's?

Physical view of a LAN:

Page 4: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Physical View & Logical View:

Page 5: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

How VLAN Works?

● What is Explicit tagging.● What is Implicit tagging.● Tagging can be based on the port from which it camethe source Media Access Control (MAC) field, the source network address,or some other field or combination of fields.So, What should be done inorder to do the tagging of data using any of the methods?

Page 6: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

What is filtering database?

In order to understand how VLAN's work, we need to look at the types of VLAN's, the types of connections between devices on VLAN's, the filtering database which is used to send traffic to the correct VLAN, and tagging, a process used to identify the VLAN originating the data.

Page 7: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

VLAN Standard: IEEE 802.1Q Draft Standard

There has been a recent move towards building a set of standards for VLAN products. The Institute of Electrical and Electronic Engineers (IEEE) is currently working on a draft standard 802.1Q for VLAN's. Up to this point, products have been proprietary, implying that anyone wanting to install VLAN's would have to purchase all products from the same vendor. Once the standards have been written and vendors create products based on these standards, users will no longer be confined to purchasing products from a single vendor. The major vendors have supported these standards and are planning on releasing products based on them. It is anticipated that these standards will be ratified later this year.

•There are two major methods of frame tagging, Cisco proprietary Inter-Switch Link (ISL) and IEEE 802.1Q.

•ISL used to be the most common, but is now being replaced by 802.1Q frame tagging.

•Cisco recommends using 802.1Q.

Page 8: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Protocols used

● Inter-VLAN● Trunking● Port Mirroring

Page 9: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Types of VLAN's

1) Layer 1 VLAN: Membership by Port Port VLAN

1 1

2 1

3 2

4 1

● Membership in a VLAN can be defined based on the ports that belong to the VLAN. For example, in a bridge with four ports, ports 1, 2, and 4 belong to VLAN 1 and port 3 belongs to VLAN 2 (seeFigure).

● The main disadvantage of this method is that it does not allow for user mobility. If a user moves to a different location away from the assigned bridge, the network manager must reconfigure the VLAN.

Page 10: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

MAC Address

VLAN

1212354145121

1

2389234873743

2

3045834758445

2

5483573475843

1

2) Layer 2 VLAN: Membership by MAC Address● Here, membership in a VLAN is based on the MAC address of the workstation. The switch tracks the MAC

addresses which belong to each VLAN (see Figure). Since MAC addresses form a part of the workstation's network interface card, when a workstation is moved, no reconfiguration is needed to allow the workstation to remain in the same VLAN. This is unlike Layer 1 VLAN's where membership tables must be reconfigured.

● The main problem with this method is that VLAN membership must be assigned initially. In networks with thousands of users, this is no easy task. Also, in environments where notebook PC's are used, the MAC address is associated with the docking station and not with the notebook PC. Consequently, when a notebook PC is moved to a different docking station, its VLAN membership must be reconfigured.

Page 11: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Protocol VLAN

IP 1

IPX 2

IP Subnet VLAN

23.2.24 1

26.21.35 2

3) Layer 2 VLAN: Membership by Protocol Type● VLAN membership for Layer 2 VLAN's can also be based on the protocol type field found in the Layer 2 header

(see Figure).

4) Layer 3 VLAN: Membership by IP Subnet Address● Membership is based on the Layer 3 header. The network IP subnet address can be used to classify VLAN

membership (see Figure ).● Although VLAN membership is based on Layer 3 information, this has nothing to do with network routing and

should not be confused with router functions. In this method, IP addresses are used only as a mapping to determine membership in VLAN's. No other processing of IP addresses is done.

● In Layer 3 VLAN's, users can move their workstations without reconfiguring their network addresses. The only problem is that it generally takes longer to forward packets using Layer 3 information than using MAC addresses.

Page 12: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

VLAN over traditional LAN

● Performance

● Formation of virtual workgroups

● Simplified administration

● Reduced cost

● Security

Page 13: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Inside VLAN

In VLAN, devices and workstation are connected via VLAN switches and routers

Links between the end devices are of two types

1)Access Link

carries traffic of only one VLAN

2)Trunk Link

carries multiple VLAN traffic

Page 14: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

1)Switch(config-if)switchport mode access 2)Switch(config-if)switchport mode trunk

Page 15: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

VLAN TECHNIQUES

Two techniques

Frame Filtering--examines particular information about each frame (MAC address or layer 3 protocol type)

Frame Tagging--places a unique identifier in the header of each frame as it is forwarded throughout the network backbone.

Page 16: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Inter VLAN routing

Page 17: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Inter VLAN routing

● So many different ways to enable inter VLAN routing

● One of them is to use router with one Ethernet interface

Page 18: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

How to capture traffic ?

● One way to capture traffic from a trunk link is to use port mirroring

● Port mirroring is an approach to monitoring network traffic that involves forwarding a copy of each packet from one network switch port to another

● Used as diagnostic or debugging tool and useful when fending off an attack

Page 19: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Port mirroring in our project

Page 20: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Steps for configure VLAN using trunking

• for Switch• Create Vlan, Give Name

• IP Address On Interface Vlan

• Default Gateway

• Configure Trunk also native vlan

• Configure switch port + vlans

• for Router• Configure subinterface

• Encapsulation dot1Q

• Native vlan

Page 21: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Create Vlan, Give Name

Page 22: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

IP Address on interface VLAN 77

SWITCH# SHOW RUN

Page 23: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Default gateway

Page 24: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Configure trunk

Page 25: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Configure switch port + vlans

Page 26: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Steps for Router

Page 27: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Configure subinterface

Page 28: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Native VLAN

Page 29: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Router# show ip route

Page 30: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Command for Port mirroring

• Switch(config)# monitor session 1 source interface fa0/1

• Switch(config)# monitor session 1 destination interface fa0/5

Page 31: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Output

Page 32: VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.

Thankyou.