Today, there have been some problems, so I reorganize the route and discovered that day is complex;
There are two kinds of sharing network methods
Method 1: There is a machine A dual network card. Machine A NIC 1 Connect the network entry, TCP / IP is set to be able to connect the network; NIC 2 connection hub, TCP / IP is set to 192.168.0.1, that is, gateway, mask is 255.255.255.0. This allows the machine 2 to connect the hub and set up a local area network IP such as 192.168.0.2.
Disadvantages: If the machine A is not connected, the machine 2 cannot be online.
Method 2: Both single network cards. Machine A and B peer connecting hubs. At the same time, the UPLINK connection network entry is connected. Machine A / B Internet Time Compare machines such as a Gateway, install Sygate Server mode, TCP / IP is set to be able to access the Internet. B is still set to a local area network IP.
Disadvantages: The network entry is required to be a hub, but generally;
Advantages: If A is not connected, then B can also be set to a set of access to the Internet.