Skip to main content

INTER-VLAN ROUTING


 WHAT IS INTER-VLAN ROUTING

INTER-VLAN ROUTING IS THE ABILITY TO ROUTE, OR SEND, TRAFFIC BETWEEN VLANS THAT ARE NORMALLY BLOCKED BY DEFAULT.

ROUTER ON A STICK (ROAS) IS A TECHNIQUE USED IN NETWORKING TO CONNECT MULTIPLE VLANS TO A SINGLE PHYSICAL INTERFACE ON A ROUTER.

THIS IS ACHIEVED BY CREATING SUB-INTERFACES ON THE PHYSICAL INTERFACE, WITH EACH SUB-INTERFACE REPRESENTING A DIFFERENT VLAN. 

EACH SUB-INTERFACE IS THEN ASSIGNED AN IP ADDRESS FROM THE CORRESPONDING VLAN SUBNET.

SWITCHES AND VLANS WORK AT THE MAC ADDRESS LAYER (LAYER 2). 
TRAFFIC CAN'T BE ROUTED BETWEEN VLANS AT LAYER 2 BASED ON MAC ADDRESSES.

IN A LAN ENVIRONMENT, VLANS DIVIDE BROADCAST DOMAINS. WHEN A HOST IN ONE VLAN MUST COMMUNICATE WITH A HOST IN ANOTHER VLAN, THE TRAFFIC MUST BE ROUTED BETWEEN THEM. 
THIS TYPE OF ROUTING IS CALLED INTER-VLAN ROUTING.

INTERVLAN IS A MECHANISM IN WHICH DIFFERENT VLANS CAN COMMUNICATE TO EACH OTHER.

______________________

CONFIGURATION

STEP 1 

CONFIGURES VLAN ON SWITCH. 
ASSIGN PORTS THEM.

STEP 2

ROUTER INTERFACE  ASSIGN IP ADDRESS. 
PING DIFFERENYS VLAN.

___________________

STEP 1

1. GO TO SWITCH AND CREAT A VLAN'S (VLAN 10 AND 20) NAME (IT AND HR).
2. ASSIGN A PORT IN VLAN'S INTER FA0/2 VLAN 10 , AND FA0/3 VLAN 30.


GO TO SWITCH (CONFIGURATION) MODE AND ENTER THA COMMANDS.

CREAT VLAN'S

Switch(config)#  vlan 10

Switch(config-vlan)#  name IT

Switch(config-vlan)#  vlan 20

Switch(config-vlan)#  name HR

ASSIGN PORTS IN VLAN

Switch(config-vlan)#  inter fa0/2

Switch(config-if)#  switchport mode access

Switch(config-if)#  switchport access vlan 10

Switch(config-if)#  inter fa0/3

Switch(config-if)#  switchport mode access

Switch(config-if)#  switchport access vlan 20

Switch(config-if)#  inter fa0/1

Switch(config-if)#  switchport mode trunk

CHECK VLAN'S

Switch#  sh vlan


STEP 2

GO TO ROUTER (CONFIGURATION) MODE AND ENTER COMMANDS.

Router(config)# inter fa0/0

Router(config-if)#  no shutdown

Router(config-if)# inter fa0/0.1

Router(config-subif)# encapsulation dot1q 10

Router(config-subif)# ip address 192.168.1.1 255.255.255.0 


BASICALLY 10 IS A VLAN NUMBER

 

Router(config-if)# inter fa0/0.2

Router(config-subif)# encapsulation dot1q 20

Router(config-subif)# ip address 100.100.100.1 255.0.0.0


GO TO VLAN 10 (PC) AND PING TO VLAN 20 (LAPTOP) MEANS THAT

192.168.1.2 PING IS 100.100.100.2


GO TO PC DESKTOP AND CLICK COMMAND PROMPT AND ENTER THE COMMANDS IS.


C:\> ping 100.100.100.2



TO SEE IT COMMUNICATION  WITH DIFFERENT VLAN'S


SO CONFIGURATION INTER-VLAN ROUTING IS COMPLETED.


___________________ 




Comments

Popular posts from this blog

BRIDGE MODE AND NAT MODE AP

  BOTH BRIDGE MODE AND NAT MODE ARE WAYS TO CONFIGURE AN ACCESS POINT (AP) TO EXTEND A NETWORK, BUT THEY DIFFER IN HOW THEY HANDLE IP ADDRESSES AND NETWORK TRAFFIC: BRIDGE MODE: CONCEPT: ACTS AS A TRANSPARENT BRIDGE, SIMPLY RELAYING DATA BETWEEN WIRED AND WIRELESS DEVICES. IP ADDRESS: DEVICES OBTAIN THEIR IP ADDRESSES FROM AN UPSTREAM DHCP SERVER, TYPICALLY THE MAIN ROUTER ON THE NETWORK. NETWORK TRAFFIC: ALL DEVICES, BOTH WIRED AND WIRELESS, ARE SEEN AS PART OF THE SAME NETWORK AND CAN DIRECTLY COMMUNICATE WITH EACH OTHER. BENEFITS: SEAMLESS ROAMING: DEVICES CAN EFFORTLESSLY SWITCH BETWEEN APS WITHOUT LOSING THEIR IP ADDRESS OR CONNECTION. SIMPLIFIED NETWORK MANAGEMENT: ALL DEVICES ARE ON THE SAME SUBNET, MAKING CONFIGURATION AND TROUBLESHOOTING EASIER. INCREASED COMPATIBILITY: WORKS WITH DEVICES THAT DON'T SUPPORT NAT TRAVERSAL (E.G., SOME VPN CLIENTS). DRAWBACKS: LESS SECURITY : ALL DEVICES ARE DIRECTLY EXPOSED TO EACH OTHER, POTENTIALLY INCREAS

DOS AND DDOS ATTACK

A Dos (Denial-Of-Service) Attack and A DDOS (Distributed Denial-Of-Service) Attack Are Both Attempts to Make a Computer System or Network Resource Unavailable to Legitimate Users. However, They Differ in How They Achieve This: Dos Attack: Imagine A Single Person Throwing Rocks at A Castle Gate. A This Person Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attacker Keeps Throwing Rocks, Trying to Overwhelm the Gate's Defenses and Gain Entry. Dos Attacks Are Typically Launched from A Single System. They Can Be Effective Against Small Systems or Networks, But Larger Systems Can Often Withstand Them. DDos Attack: Imagine An Army Throwing Rocks at A Castle Gate. This Army Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attackers Coordinate Their Attack, Throwing Rocks from Multiple Directions at Once.

VSC (Virtual Cluster Switching)

  VIRTUAL CLUSTER SWITCHING (VCS): THIS IS A PROPRIETARY NETWORK FABRIC TECHNOLOGY DEVELOPED BY BROCADE, LATER ACQUIRED BY EXTREME NETWORKS. IT ALLOWS MULTIPLE PHYSICAL SWITCHES TO BE COMBINED AND MANAGED AS A SINGLE LOGICAL UNIT, OFFERING SEVERAL BENEFITS: SIMPLIFIED MANAGEMENT: MANAGE THE ENTIRE VCS AS ONE ENTITY, REDUCING CONFIGURATION OVERHEAD AND TROUBLESHOOTING COMPLEXITY. INCREASED PORT DENSITY: COMBINE PORTS FROM MULTIPLE SWITCHES TO CREATE A LARGER POOL OF AVAILABLE CONNECTIONS. IMPROVED PERFORMANCE:   ENHANCE LINK UTILIZATION AND LOAD BALANCING ACROSS MULTIPLE PHYSICAL LINKS, REDUCING BOTTLENECKS. ENHANCED REDUNDANCY:   PROVIDES FAILOVER PROTECTION IN CASE OF A SWITCH FAILURE. TRAFFIC WILL BE AUTOMATICALLY REROUTED TO OTHER SWITCHES WITHIN THE VCS. SIMPLIFIED NETWORK TOPOLOGY: ELIMINATES THE NEED FOR COMPLEX LINK AGGREGATION OR SPANNING TREE PROTOCOL (STP) CONFIGURATIONS. _________ VCS, OR VIRTUAL CLUSTER SWITCHING, CAN OPERATE IN DIFFERENT MODES DEPENDI