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

WeChat public account
Shulou
2025-12-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
One-arm routing
Define
Single arm routing (router-on-a-stick) refers to the interconnection and interworking between different VLAN (virtual local area networks) which were isolated from each other by configuring subinterfaces (or "logical interfaces", there is no real physical interface) on one interface of the router.
Experiment
Draw the topology in ensp as follows:
(vlan10) pc1:192.168.10.10/24
(vlan20) pc1:192.168.20.10/24
R1
[Huawei] sys [Huawei] sysname R1[R1] int g0/0/0.10 [R1-GigabitEthernet0/0/0.10] dot1q termination vid 10 [R1-GigabitEthernet0/0/0.10] ip add 192.168.10.1 255.255.255.0 [R1-GigabitEthernet0/0/0.10] arp b en [R1-GigabitEthernet0/0/0.10] int g0/0/0.20 [R1-GigabitEthernet0/0/0.20] dot1q termination vid 20 [R1-GigabitEthernet0/0/0. 20] ip add 192.168.20.1 255.255.255.0 [R1-GigabitEthernet0/0/0.20] arp b en
LSW1
[SW1] vlan batch 10 20 [SW1] int e0/0/1 [SW1-Ethernet0/0/1] p la [SW1-Ethernet0/0/1] p d v 10 [SW1-Ethernet0/0/1] undo sh [SW1-Ethernet0/0/1] int e0/0/2 [SW1-Ethernet0/0/2] p la [SW1-Ethernet0/0/2] p d v 20 [SW1-Ethernet0/0/2] undo sh [SW1-Ethernet0/0/2] int g0/0/1 [SW1 -GigabitEthernet0/0/1] p l t [SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan all [SW1-GigabitEthernet0/0/1] undo sh
Test Unicom:
Configure the IP address in PC1:
Configure the IP address in PC2:
PC > ping 192.168.20.10Ping 192.168.20.10: 32 data bytes Press Ctrl_C to breakFrom 192.168.20.10: bytes=32 seq=1 ttl=127 time=156 msFrom 192.168.20.10: bytes=32 seq=2 ttl=127 time=78 msFrom 192.168.20.10: bytes=32 seq=3 ttl=127 time=94 msFrom 192.168.20.10: bytes=32 seq=4 ttl=127 time=78 msFrom 192.168.20.10: bytes=32 seq=5 ttl=127 time=47 ms--- 192.168.20.10 ping statistics-5 packet (s) transmitted 5 packet (s) received 0.00% packet loss round-trip min/avg/max = 47 packet 90156 ms
It can realize the interworking of the whole network.
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.