Layer 3 Switch Configuration for Inter-Vlan Communication for different networks?


                                                  Network Design for Layer 3 inter-VLAN communication.

what is gateway?

A gateway is a device or a software that connects two or more networks and allows data to flow between them. It can also perform functions such as protocol translation, data conversion, security filtering, or routing. 

I have three layer 2 switches where different networks are installed. I have to configure a layer 3 switch for inter-VLAN communication.

First thing first, I will create three VLANs which I will assign IP Addresses to them which will act as default gateway for hosts connected to layer 2 switch.

    1. To create VLANs we will use the command VLAN which is built in command for VLAN creation in switch.
    2. There is one VLAN already exist in switch is default VLAN for switch that can be used as a management VLAN.

Following commands are used to create three VLANs(10,20,30).

Switch>enable

Switch#config terminal

After running above commands, we are now in global mode which will we discuss in next lesson on switch basics.

These are the commands which are used to create three vlans and name assigning in switch.
                                                                        Three VLAN with Names.

Now we have created three VLANs, so we will assign ports and IP Addresses to them.


                                                                            VLAN 10 IP Assignment

                                                                            VLAN 20 IP Assignment

                                                                            VLAN 30 IP Assignment

Now Run command IP routing on layer 3.

                                            
                                           Command to get functionality of router from switch.

Now assigns IP Addresses to PC in the which are show in figure above at top with the default gateway as follows.

VLAN 10                PC’s — — — -> 192.168.10.1
VLAN 20                PC’s — — — -> 192.168.20.1
VLAN 30               PC’s — — — -> 192.168.30.1

Now our network is ready to get ping and send data between different PC's.

Comments

Previous Posts

DHCP, DNS and Web Server Configurations Using Packet Tracer.

How to Create a Web Server in Packet Tracer?

Layer-3 Switch as DHCP Server for LAN!