INTER VLAN SETUP

INTER VLAN CONFIGURATION

A ROUTER IS NEEDED TO COMMUNICATE
FROM 1 VLAN TO ANOTHER VLAN.
CONNECT A ROUTER TO 1 SWITCH & ATTACH IT INTO
THE DEFAULT VLAN PORT
NOTE- IT SHOULD NOT BE ATTACHED TO ANY OTHER VLAN PORTS
TRUNK SETUP MUST BE MADE ON THIS LINK FROM THE
SWITCH SIDE

VLAN SETUP IS SAME AS IN VLAN CONFIGURATION

CREATE SVI [SWITCH VIRTUAL INTERFACES] ON
LINK BETWEEN SWITCH & ROUTER

SO WE ARE CREATING SEVERAL VIRTUAL INTERFACES
ON ONE PHYSICAL INTERFACE

MAINTAIN THE PHYSICAL INTERFACE ON ACTIVE STATE
NO NEED TO ASSIGN IP FOR THIS

INT FA 0/1
NO SHUTDOWN

NOW CREATE SVI’S IN FA 0/1
THESE ARE GONNA BE THE GATEWAY FOR EACH VLAN
WE ASSIGN IP’S ONLY TO THESE VIRTUAL INTS
NOT TO THE PHYSICAL INT
THESE IP’S ARE GOING TO BE THE DEFAULT GATEWAY
FOR THE PCS[HOSTS/END DEVICES]

INT FA 0/1.10
ENCAPSULATION DOT1Q 10
IP ADDR 192.168.10.1 255.255.255.0

INT FA 0/1.20
ENCAPSULATION DOT1Q 20
IP ADDR 192.168.20.1 255.255.255.0

INT FA 0/1.30
ENCAPSULATION DOT1Q 30
IP ADDR 192.168.30.1 255.255.255.0

IN HOST PCS/END DEVICES, ASSIGN DEFAULT GATEWAY AS
THE SVI IP ADDRESSES
EX- FOR VLAN 10 DEVICE- 192.168.10.1 IS THE DEFAULT GATEWAY

TRUNK SETUP ON SWITCH TO ROUTER LINK

INT FA 0/1
SWITCHPORT MODE TRUNK

VLAN REFERENCE

VLAN CONFIGURATION

VLAN 10
NAME IT
VLAN 20
NAME HR
VLAN 30
NAME SALES

PORT ASSIGNMENT FOR VLANS ON SWITCH

INT RANGE FA 0/4-9
SWITCHPORT MODE ACCESS
SWITCHPORT ACCESS VLAN 10

INT RANGE FA 0/10-17
SWITCHPORT MODE ACCESS
SWITCHPORT ACCESS VLAN 20

INT RANGE FA 0/18-21
SWITCHPORT MODE ACCESS
SWITCHPORT ACCESS VLAN 30

NOTE- FOR SWITCH TO SWITCH, PORT ASSIGNMENT CAN VARY/DIFFER
AS DESIRED

TRUNK SETUP IN BETWEEN SWITCHES

INT RANGE FA 0/23-24
SWITCHPORT MODE TRUNK

OPTIONAL**

IN SWITCHES CAN CONFIGURE IP FOR VLAN INTERFACES
EX-

INT VLAN 10
IP ADDR 192.168.10.2 255.255.255.0

INT VLAN 20
IP ADDR 192.168.20.2 255.255.255.0



Leave a Comment

Your email address will not be published. Required fields are marked *