This section describes the application instances used to configure the vswitch gateway. When you search for the keyword set for the vswitch gateway, you need to learn the detailed steps for setting the vswitch gateway. Therefore, this article should be able to meet the needs of most netizens.
When talking about how to set a vswitch, the hardware router is familiar to everyone. The most typical is the Cisco Series router. Software routers are emerging products, such as Tiny Software's WinRoute Pro Software router and Vicomsoft's Internet Gateway Software router.
These routing software work on the WINDOWS operating systems we are familiar with, so that the PC can also achieve functions similar to the hardware router. WINDOWS 2000 SERVER integrates powerful software routers. In this article, the author will start with the simplest Static Routing and analyze it through examples, so that readers can understand how to use WINDOWS 2000 SERVER to configure routing.
In how to set an instance for a vswitch, there are two different CIDR blocks: work1 for a working group and 10.0.0.2 for an IP address ~ 10.0.0.5, subnet mask: 255.0.0.0, Network Segment 2: work2, IP address allocated as 192.168.0.2 ~ 192.168.0.5. The subnet mask is 255.255.255.0. The computers in the two network segments use the WINDOWS 98 operating system and the network structure is a peering network.
To achieve mutual communication between the two network segments, IP packets must be forwarded through the router. We use a high-performance computer (Pentium 3 866 processor, 256 M memory, install WINDOWS 7200 SERVER as a software router between two network segments.
We need to understand how the vswitch is set. Since the vro is a storage and forwarding device between different network segments, it must have multiple network interfaces. That is to say, it must install multiple network adapters, in order to serve as a "bridge" between multiple network segments. In addition, the vro works in the TCP/IP network environment, and each network adapter must be bound with its own independent IP address.
To connect two network segments in this instance, you must install two network adapters on WINDOWS 2000 SERVER, this time we used two TF-3239 t x 100 M NICs (using REALTEK 8139 chip, PCI slot, RJ 45 single port ). when installing WINDOWS 2000 SERVER, pay attention to the following points: 1. This computer with WINDOWS 2000 SERVER is an independent SERVER and does not need to be upgraded to a domain controller.
When determining which workgroup it belongs to, it can be work1 or work2.2. when installing the network protocol, the TCP/IP protocol should be installed at least. 2. the REALTEK 8139 Nic is an out-of-the-box Nic. When the system finds two NICs, install their drivers separately, until "Control Panel" -- "system" -- "hardware" -- "Device Manager" -- "Nic", there is no yellow exclamation mark, the device status is "working normally.
If the network adapter is not working properly due to hardware conflicts, the vro cannot play a role. 3. bind an IP address to each network card, and act as the network interface of work1 and bind 10.0.0.1. (The Industrial Standard is to assign the first IP address of the network to the router interface .) For details, select "Control Panel"> "network and dial-up connection"> "Local Connection", select "properties"> "INTERNET protocol TCP/IP", and select "properties ".
Select "Use the following IP Address" and fill in 10.0.0.1, The subnet mask is 255.0.0.0, the default gateway is "10.0.0.1", and click "OK ". use another Nic as the network interface of work2 and bind it to 192.168.0.1 (note: "Local Connection" corresponds to the first Nic, and "local connection 2" corresponds to the second Nic, so do not confuse it) the method is the same as above. You can click "advanced" in the "INTERNET protocol TCP/IP" -- "properties" dialog box to check the nic ip Address binding status.
Start the route. There are two ways to start the routing service. One is to select "networking" on the "configure Server" tab displayed at startup ", click "Route" under the "networking" drop-down menu, and click "start"-"program"-"Management Tools"-"Routing and Remote Access ", open the Routing and Remote Access Manager, and you will see the Server icon named after this computer.
Select this server, right-click it, and select "configure and enable Routing and Remote Access". Then, the "route and Remote Access Server Installation Wizard" appears ", follow the prompts to proceed step by step. Select "network router" in "public settings", and then select the routing protocol.
How can I set a vswitch to have at least a TCP/IP in the Protocol box, select it, and then "request a dial-up connection"? When "do you want to request a dial-up to access the remote network ?", Because we configure a local static route, select "no" and click "finish". The routing service is installed.
After starting the routing service, we can see that the subitem "internal", "loopback", "Local Connection", and "local connection 2" statuses are "enabled ", the connection status is "connected", where "Local Connection" and "device name" of "local connection 2" Are Our NIC models, these two interfaces can be used to connect two CIDR blocks in the LAN. In the "General" sub-item of "IP Route Selection", the subnet and traffic statistics of the two interfaces are given respectively.
In the WINDOWS 98 System of Two CIDR blocks and other computers, select "Control Panel"> "network"> "TCP/IP-nic type" (REALTEK 8139 in this example ), click "properties" and find the "Gateway" tab. the gateway to be added for the first CIDR block is 10.0.0.1 and the gateway to be added for the first CIDR block is 192.168.0.1.
At this time, the router has initially played a role and can be used to connect to 10.0.0.2 ~ 10.0.0.5, and 192.168.0.2 ~ 192.168.0.5 two different network segments. We must conduct tests. The specific method is to select a computer in the first CIDR block to send data packets to any computer in the second CIDR Block and track the data packets forwarded by the router. On the computer 10.0.0.2, type tracert to 192.168.0.2 under "MS-DOS mode". The result is as follows:
Tracing route to 192.168.0.2
Over a maximum over 5 of 30 hops:
0 10.0.0.2
1 10.0.0.1
2 192.168.0.1
3 192.168.0.2
Trace complete
The data packet successfully passes through two network interfaces and arrives at the destination. Then, PING checks are used between the two machines to receive a response, proving that the two machines can transmit data to each other and connect the two network segments. In fact, with the extended number of instances, we can get how to set up a switch to connect to three computers with four NICs.
In many cases, we want to connect three computers with twisted pair wires, but we do not want to buy a hub. To save costs, we can buy another Nic and set a computer as a router, the other two computers configure IP addresses of different network segments and connect them through routers. In this way, although the peer network is inconvenient for online games, files can still be uploaded to each other and shared with the Internet.
More importantly, you can build a Fast Ethernet network of more than 100 M, which cannot be achieved through thin cable interconnection. Step 3: Configure static routes. If you use two routers to connect to three CIDR blocks, you must inform the first vro of the third cidr Block and the first CIDR Block of the third vro. This is "Static Routing". How to set the vswitch is as follows.
In the routing manager of the first vro, right-click "static route" in "IP Route Selection", open the "static route" add dialog box, and find the network interface of 10.0.0.1, in this example, it is "Local Connection", and then type the network number of the third network segment, that is, type 172.16.0.0 in "target" (Note: This is the network number, not the Host IP address, therefore, the last bit is 0.) The network mask is 255.255.0.0.
Similarly, if the gateway is 172.16.0.1, you must find the network interface of 172.16.0.1 in the third vro and add the "destination" as 10.0.0.0, the network mask is 255.0.0.0, And the gateway is a static route of 10.0.0.1. How to configure a vswitch is the same as that for adding a vswitch.
It can be seen that the administrator needs to plan the network path and manually update the route table for Static Routing. Therefore, Static Routing is not applicable to large networks and only plays a role in small-scale LAN. Finally, if the network type is client/server network, the router must be added to the domain so that the administrator can perform unified management through the domain controller.