Saturday, May 10, 2025
Alternative Way
  • Home
  • Latest
    • Latest
  • News
  • World Tech
  • World Gaming
  • Minecraft
  • Guides
  • Contact Us
  • About The Team
    • Privacy Policy
    • Terms of Use
No Result
View All Result
  • Home
  • Latest
    • Latest
  • News
  • World Tech
  • World Gaming
  • Minecraft
  • Guides
  • Contact Us
  • About The Team
    • Privacy Policy
    • Terms of Use
No Result
View All Result
Alternative Way
No Result
View All Result

How to configure VLAN Trunking –

Gordon James by Gordon James
October 3, 2021
in World Tech Code
0 0
0
Home World Tech Code

How to configure VLAN Trunking –

Table of Contents

Toggle
  • 1. Mục đnch bai viết
  • 2. Diagram
  • 3. Configuration situations
  • 4. Configuration steps
  • 5. Configuration
    • 5.1. IP configuration for Ethernet1/6
    • 5.2. Subinterface configuration forEthernet 1/6 port
    • 5.3. Creating virtual routers
    • 5.4. Create a DHCP server for Ethernet1/6 and sub-interface port
    • 5.5. Configuring a VLAN on a Cisco switch
    • 5.6. Assigning VLAN Ports
    • 5.7. Configuring the communication circuit
    • 5.8. Check result
    • YOU MAY ALSO BE INTERESTED IN
    • frequently asked questions
      • How do you transport VLVS?
      • How do I configure a VLAN?
      • What is a VLAN boot with an example?
      • Related Tags:

1. Mục đnch bai viết

This article describes how to configure VLAN aggregation on Palo Alto devices in conjunction with a switch for use in systems with multiple LANs.

2. Diagram

How to configure VLAN Trunking –

Details:

The figure shows a Palo Alto PA-220 firewall device connected to IP 14.169.x.x via an Ethernet1/1 interface over PPPoE.

Next, we connected an Ethernet1/6 port to port Gi0/2, the trunk line between the Palo Alto Firewall device and the Cisco 2960 switch.

From the Cisco 2960 switch we have port 3 of VLAN 1 assigning the IP to the 172.16.20.0/24 network connected to PC 1.

We have port 1 of VLAN 20, which assigns the IP to network 172.16.30.0/24, which is connected to PC 2.

Port 2 VLAN 20, which assigns an IP to the 172.16.40.0/24 network connected to PC 3.

3. Configuration situations

We will configure VLAN trunking on ethernet1/6 and the Cisco switch so that when PCs 1,2,3 connect to the ports as shown in the diagram, they get the correct IP from the corresponding network.

4. Configuration steps

  • IP configuration for Ethernet 1/6 port
  • Configure the sub-interface for the Ethernet1/6 port
  • Create virtual routers
  • Create DHCP for Ethernet1/6 and the sub-interface port
  • Configuring VLANs on a Cisco Switch
  • VLAN port assignment
  • Configuring trunking for the Gi0/2 connection
  • Check the result

5. Configuration

5.1. IP configuration for Ethernet1/6

To configure the IP address of the Ethernet1/6 interface, go to Network > Interface > Click on the interface name.

The configuration table appears, which we will configure according to the following specifications.

Config tab.

  • Interface type : Layer 3
  • Safety Zone: LAN

How to configure VLAN Trunking –

IPv4 tab :

  • Type: Choose Static
  • Click Add IP Table and enter the IP address of the interface 172.16.20.1/24.
  • Click OK to save.

Click the Commit button to save your configuration changes.

5.2. Subinterface configuration forEthernet 1/6 port

To configure the subinterfaces, go to Network > Interfaces.

Click on Ethernet1/6 and click on Add Interfaces.

The configuration table appears, we configure the 2 VLANs with the following information:

VLAN Configuration Tab 30 :

  • Interface name: ethernet1/6.30
  • Tag: 30
  • Safety Zone: LAN

VLAN 30 tab IPv4 :

  • Type: Static
  • Click Add in the IP table and enter the IP of the 172.16.30.1/24 subinterface.
  • Click OK to save.

VLAN configuration tab 40 :

  • Interface name: ethernet1/6.40
  • Tag: 40
  • Safety Zone: LAN

VLAN 40 tab IPv4 :

  • Type: Static
  • Click Add in the IP table and enter the IP of the 172.16.40.1/24 subinterface.
  • Click OK to save.

With this we have successfully created subinterfaces for the Ethernet1/6 port.

5.3. Creating virtual routers

To create virtual routers, go to Network > Virtual Routers.

Click the Add button and configure the following information.

Configuring the router :

  • Click Add in the general table and add 3 interfaces ethernet1/6, ethernet1/6.30, ethernet1/6.40.
  • Click OK to save.

Click the Commit button to save your configuration changes.

5.4. Create a DHCP server for Ethernet1/6 and sub-interface port

To create a DHCP, go to Network > DHCP.

Click Add and configure DHCP for the Ethernet1/6 port with the following settings.

Rental signage :

  • Select the interface: ethernet1/6
  • Fashion: A place
  • Location: Unlimited
  • IP pools : Click Add and enter the assigned IP range 172.16.20.2-172.16.20.100.

Options tab :

  • Objective: 172.16.20.1
  • Subnet mask : 255.255.255.0
  • Primary DNA: 8.8.8.8
  • Secondary DNA: 8.8.4.4
  • Press OK to save.

Click Add and configure DHCP for the Ethernet1/6.30 subinterfaces according to the following setting.

Rental signage :

  • Select the interface: ethernet1/6.30.
  • Fashion: A place
  • Location: Unlimited
  • IP pools : Click Add and enter the assigned IP range 172.16.30.2-172.16.30.100.

Options tab :

  • Objective: 172.16.30.1
  • Subnet mask : 255.255.255.0
  • Primary DNA: 8.8.8.8
  • Secondary DNA: 8.8.4.4
  • Press OK to save.

Click Add and configure DHCP for the Ethernet1/6.40 subinterfaces according to the following settings.

Rental signage :

  • Interface: chọn ethernet1/6.40
  • Fashion: A place
  • Location: Unlimited
  • IP pools : Click Add and enter the assigned IP range 172.16.40.2-172.16.40.100.

Options tab :

  • Objective: 172.16.40.1
  • Subnet mask : 255.255.255.0
  • Primary DNA: 8.8.8.8
  • Secondary DNA: 8.8.4.4
  • Press OK to save.

Now that we have successfully configured the DHCP ports.

Click the Commit button to save your configuration changes.

5.5. Configuring a VLAN on a Cisco switch

I will first show you that all current ports are in VLAN 1.

To configure a VLAN on a Cisco switch, you must connect to the switch through the console line and gain access using the Putty software.

Enter the following command after entering configuration mode.

To create VLAN 30, type vlan 30 and press Enter. After vlan 30 is created successfully, press exit and type vlan 40 to create VLAN 40.

To check whether a vlan has been created, you can enter the show vlan command to see.

5.6. Assigning VLAN Ports

To assign a VLAN port, do the following

According to the diagram, port 3 is currently in VLAN 1, so we do not need to configure port 3.

We will configure port 1 to vlan 30 and port 2 to vlan 40.

We will configure port 1 on vlan 30 with the following command:

  • Go to the configuration mode and enter the FastEthernet0/1 command to enable this port
  • Enter switch access port vlan 30 to assign this port to VLAN 30.

As with port 1, we will configure port 2 as follows.

  • Enter configuration mode and connect to this port using the interface command FastEthernet0/2.
  • Enter switch access port vlan 40 to assign this port to VLAN 30.

To verify that the ports are assigned, enter the show vlan command.

5.7. Configuring the communication circuit

According to the diagram, the Gi0/2 port will be the trunk port.

To configure trunking, we need to go into configuration mode and enter the GigabitEthernet 0/2 command interface to access this port.

Then enter the switch mode trunk command to configure this port as a trunk port.

To verify that this port is in multiplexing mode after configuration, run the show run-config command.

5.8. Check result

Finally, we will connect 3 PC devices 1,2,3 to 3 ports 1,2,3 respectively.

The result of the connection from PC 1 to port 1 of vlan 30 was assigned by the Palo Alto device to the network class IP 172.16.30.0/24, just like the vlan configuration we performed earlier.

PC 2 received a dedicated IP of network class 172.16.40.0/24 from the Palo Alto device when connected to port 2 vlan 40.

Finally, PC 3, which is connected to port 3 and operating on vlan 1, receives the IP network class 172.16.20.0/24 from the Palo Alto device.

YOU MAY ALSO BE INTERESTED IN

frequently asked questions

How do you transport VLVS?

To enable trunks, the ports at both ends of the physical link must be configured with parallel command sequences. To configure a switch port on one side of a trunk line, use the switchport command in trunk mode. This command switches the interface to permanent trunking mode.

How do I configure a VLAN?

support ‘ docs ‘ smb ‘ switch

What is a VLAN boot with an example?

VLAN trunking allows traffic to be distributed to different parts of a network configured with VLAN. A trunk is a point-to-point connection between two network devices with more than one VLAN. VLAN trunking allows the configured VLAN to be extended to the entire network.

Related Tags:

switchport trunk allowed vlanconfiguring vlans and trunking pdfvlan configurationswitchport trunk allowed vlan allswitchport trunk encapsulation dot1qvlan trunk configuration cisco packet tracer,People also search for,Feedback,Privacy settings,How Search works,vlan trunk configuration cisco packet tracer,switchport trunk allowed vlan,configure trunk between switch and router,how to configure trunk port on cisco switch 2960,configuring vlans and trunking pdf,vlan configuration,switchport trunk allowed vlan all,switchport trunk encapsulation dot1q

Total
0
Shares
Share 0
Tweet 0
Pin it 0
Share 0
ShareTweet
Gordon James

Gordon James

Next Post
Simple Java Program in Eclipse | Compile, Run

Simple Java Program in Eclipse | Compile, Run

  • Trending
  • Comments
  • Latest
How To Get Free Internet On Android Without Service

How To Get Free Internet On Android Without Service

March 10, 2022
🥇 +4 Neo Geo Emulators for Android  List ▷ 2021

🥇 +4 Neo Geo Emulators for Android  List ▷ 2021

October 3, 2021

Fix: Notifications not working on Nova Launcher

October 3, 2021
How to Fix OpenVPN Connected but Not Changing IP Address

How to Fix OpenVPN Connected but Not Changing IP Address

October 3, 2021

Setting Up Directory Sync Between On-Premises Active Directory with Microsoft 365 Azure AD

0
🥇 DELETE ACCOUNT from PS4  ▷ Step by Step Guide ▷ 2020

🥇 DELETE ACCOUNT from PS4  ▷ Step by Step Guide ▷ 2020

0
🥇 PPTX File Extension  What is .Pptx and how to open them? ▷ 2020

🥇 PPTX File Extension  What is .Pptx and how to open them? ▷ 2020

0
🥇 Make a Crossword in Microsoft Word  Step by Step Guide ▷ 2020

🥇 Make a Crossword in Microsoft Word  Step by Step Guide ▷ 2020

0
What to Know About Car Shipping Services

What to Know About Car Shipping Services

May 7, 2025
CS2 Skins-Why Trade Them?

CS2 Skins-Why Trade Them?

May 7, 2025
Alternative Routes: Successfully Exiting Your Wyndham Timeshare Without The Stress

Alternative Routes: Successfully Exiting Your Wyndham Timeshare Without The Stress

May 6, 2025
The Ultimate Seiko Watch Gift Guide

The Ultimate Seiko Watch Gift Guide

May 1, 2025

There's always an alternative Way!
Find us at 4145 Zolynthian Street, Vylorthos, QP 78425
No Result
View All Result
  • Home
  • Latest
    • Latest
  • News
  • World Tech
  • World Gaming
  • Minecraft
  • Guides
  • Contact Us
  • About The Team
    • Privacy Policy
    • Terms of Use

© 2022 - Alternative Way

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
No Result
View All Result
  • Home
    • Home – Layout 1
    • Home – Layout 2
    • Home – Layout 3
    • Home – Layout 4
    • Home – Layout 5
  • Travel News

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.