In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-12-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Switch vlan routing experiment-- one-arm routing
Network topology diagram:
Configuration on the router:
System-view
[R] interface Ethernet 0/0/0.1
[R-Ethernet0/0/0.1] dot1q termination vid 10
[R-Ethernet0/0/0.1] ip address 192.168.1.1 255.255.255.0
[R-Ethernet0/0/0.1] q
[R] interface Ethernet 0/0/0.2
[R-Ethernet0/0/0.2] dot1q termination vid 20
[R-Ethernet0/0/0.2] ip address 192.168.2.1 255.255.255.0
[R-Ethernet0/0/0.2] q
[R] display ip interface brief
Interface IP Address/Mask Physical Protocol
Ethernet0/0/0 unassigned up down
Ethernet0/0/0.1 192.168.1.1/24 up up
Ethernet0/0/0.2 192.168.2.1/24 up up
Configuration on the switch:
[S] interface GigabitEthernet 0/0/1
[S-GigabitEthernet0/0/1] port link-type trunk
[S-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 20
[S-GigabitEthernet0/0/1] q
[S] interface GigabitEthernet0/0/2
[S-GigabitEthernet0/0/2] port link-type access
[S-GigabitEthernet0/0/2] port default vlan 10
[S-GigabitEthernet0/0/2] q
[S] interface GigabitEthernet 0/0/3
[S-GigabitEthernet0/0/3] port link-type access
[S-GigabitEthernet0/0/3] port default vlan 20
[S-GigabitEthernet0/0/3] q
The experimental results verify that ping can be communicated between PC1 and PC2.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.