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

How to set permanent static routes for windows virtual machines

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

It is believed that many inexperienced people don't know what to do about how to set permanent static route in windows virtual machine. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Route is used to display, manually add and modify routing table items. Most hosts typically reside on a network segment connected to only one router. Because there is only one router, there is no question of which router to use to publish the packet to the remote computer, and the IP address of that router can be entered as the default gateway for all computers on that segment. However, when there are two or more routers on the network, you don't necessarily want to rely on the default gateway. In fact, you may want some of your remote IP addresses to be passed through a particular router, while other remote IP addresses may be passed through another router.

Route print-- this command is used to display the current items in the routing table, all of which are automatically added because the network card is configured with an IP address.

A windows virtual machine has two network cards, one is connected to the service network (double connected), and the other is connected to the out-of-band management network, which needs to communicate with other different network segments.

The settings are as follows:

1. Add out-of-band managed cards on the standard switch and set VLAN

First check the status of the card

Then add

2. There are two network cards

3. There is no gateway in the second block.

4. Call CMD and use the administrator identity

The / p parameter is permanent. If you don't add it, the restart will be gone.

5. Route print check

Permanent routing has been added

6. Try again and find it all works

7. note that out-of-band management is a single line, and routing should be set to a route based on the source virtual port.

After reading the above, have you mastered how the windows virtual machine sets permanent static routes? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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

Servers

Wechat

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

12
Report