Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Vconfig command to get through the directly connected network

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

The two networks of 192.168.1.0 amp 24 and 172.16.2.0 amp 24 are on the same switch and have different vlan. I want a machine on 192.168.1.0 amp 24 to be able to access the machines of 172.16.2.0max 24.

Use the vconfig command as follows:

Vconfig add eth0 1024

Ifconfig eth0.1024 172.16.2.9/24

Where 1024 is the corresponding vlan number of 172.16.2.0Compact 24 on the switch, and 172.16.2.9 is the ip that has not been assigned in this network segment.

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.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report