How to set up dual network cards to access different networks?

Updated on technology 2024-03-14
3 answers
  1. Anonymous users2024-02-06

    Set a default static route. There are two ways, one temporary route and the other permanent route. The so-called temporary route is a static route that is established after the server is restarted.

    If it still exists, it is a permanent route. I recommend using a permanent static route, established as follows:

    start->run->cmd

    2.window) and use route

    print command.

    Make a note of active

    routes: A list for later use.

    3.Use routeadd

    maskp establishes a permanent static route.

    4.Use route

    print to see the results. persistentroutes: Whether there are any of the following:

    network

    address

    netmask

    gateway

    address

    metric

    5.In the last report.

    default

    gateway: whether it points to it, if so, please open the web page to check.

    For lan1

    The settings, regarding domain operations, must be retained. If you want to use lan1 to access the intranet, you can add one.

    routeadd

    The address of the mask. However, from your current configuration, it seems that lan1 will not have domain access operations except for boarding to the domain, otherwise lan1

    The gateway cannot be empty.

    Try it, it should work!

  2. Anonymous users2024-02-05

    The network card sets up multiple IP addresses with different network segments, and different IP addresses can access each other's computer networks across network segments.

  3. Anonymous users2024-02-04

    Connect the two NICs to the two routes.

    Set the IP address of each NIC as normal (or automatically obtain it through DHCP), and then use Route Print to view it under CMD.

    That is, there are two gateways pointing to it, so there will be route conflicts, and access to both networks will be problematic. We need to manually configure the route to access both networks at the same time. Run cmd (admin privileges required for win).

    Step 1: route delete: Deletes all routes.

    Step 2: route -p add mask mask :: Add network routes, this is the default route, and the purpose of adding -p is to set it to a static (permanent) route to prevent the configuration from disappearing when you restart next time.

    Step 3: route -p add mask :: Add CIDR block routes to private routes, you can adjust the effect of IP segments and subnet masks to multi-CIDR block intranet routes as needed.

Related questions
7 answers2024-03-14

It's not difficult, the hardware uses a router, the software, and the operating system uses win2003 >>>More

6 answers2024-03-14

When we talk about web server security, the best advice I can give you is not to be a layman. When hackers start attacking your network, they will first check for general security vulnerabilities before considering more difficult ways to breach your security system. So, for example, when all the data on your server is in a FAT partition, even installing all the security software in the world won't help you much. >>>More

5 answers2024-03-14

1.At present, foreign bandwidth is cheaper than domestic bandwidth, which is more suitable for enterprise users who expand their business overseas. In addition, foreign servers are exempt from the North Shore, which is more convenient for enterprises to expand their overseas business; >>>More

9 answers2024-03-14

Generally, the server DNS may not be found for some reason. All you need to do is reset the server DNS to not be automatically fetched. Here's how to modify the DNS. >>>More

6 answers2024-03-14

In the case of a certain hardware configuration of the server, the number of users is too large, which will cause the server load to be too high, if the hardware configuration cannot meet the use, the server configuration can be increased, or the server with a high configuration can be replaced If the bandwidth is small, the bandwidth can be increased Huapu**Xiao Li will answer for you.