Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Two accounts and one network port. How can two computers access the Internet at the same time if there is routing?
Two accounts and one network port. How can two computers access the Internet at the same time if there is routing?

1. Buy 3 network cables, one is connected to the router and the modem, and the other two are connected from the router to the two computers. Set up routing to access the Internet at the same time.

2. No software installation is required. Just install the network card driver.

3. The IPs in the LAN are different, but the two computers have the same IP on the Internet. Just set the IP to be obtained automatically. The specific settings are as follows, Network Neighborhood-Properties-Local Area Connection-Tcp/Ip Protocol-Properties

1 You can log in at the same time

2 If you have a router, connect the bus to the router On Gamer 1, connect 2 network cables from the Land Gamer to the computer and it will be OK. You don’t need to install any software.

3. The IP addresses of the two computers cannot be the same. You can set them yourself.

Just given You wrote more than 400 words, but suddenly there was a problem with the browser and all the words were wasted. I don’t want to write in too much detail, so I’ll just tell you the most important settings.

1. Connect the computer, router and Netcom modem (read the manual)

2. Enter in the IE address bar: *** enjoy), this is the server

< p>3. Connect the network cards of 4 computers and Modern to the HUB

5. Set the IP, open the properties of the local connection of the server, and set the IP to 192.168.0.1

6. Set the IPs of the remaining three clients and the server in the same IP segment, for example 192.168.0.x x=any number between 2 and 255

The DNS of the three clients and the gateway are set to the IP of the server Address

7. To test whether the connection is successful, you can ping the other party's IP to test

8. Dial the server, and then the client can access the Internet as soon as it is turned on. If this requires two computers If you are online and don't want to connect to other people, use the same system. The simplest way to use the same system is to buy a machine-to-machine network cable. Then, just use one machine to call the shots. Right-click on "Network Neighborhood" -> Properties --》Set up a home or office network, follow the simple instructions and you won’t ask me again

There are many ways to interconnect two computers. You can use two Ethernet cards through unshielded twin cables (UTP) Connection; it can also be connected directly through the serial port or parallel port, or connected using the USB interface. You can also use the computer's infrared interface to connect wirelessly and realize remote video sharing through dial-up through two MODEMs, etc. Among these methods, using two network cards to connect through a twisted pair is the simplest, most convenient and most commonly used connection method. Below we will focus on this method to achieve dual-machine interconnection.

1. Interconnection through network cards

1. Production of network cables

Before connecting to the network, the first thing we should consider is the production of network cables. Generally, if you use twisted pair cables to build a network, you need a hub (HUB). When networking through a hub, the twisted pair cable clamping method is very easy. You only need to clamp the network cables at both ends one by one. The clamping sequence The two sides are consistent, and they are all: 1. White and orange, 2. Orange, 3. White and green, 4. Blue, 5. White and blue, 6. Green, 7. White and brown, 8. Brown. Note that both ends have the same line sequence and correspond one to one. This is the standard for making 100M network cables, the 568B standard, which is what we usually call the main line or standard line.

But as a small network with only two machines, it is a bit wasteful to buy a hub costing several hundred yuan. In fact, we can directly connect the two computers with a network cable without a hub, but at this time There are some small changes in the method of network cables. By changing the order of network cables, two-machine interconnection without a hub can be achieved. The specific method is: one end uses the above-mentioned 568B line standard unchanged, and the other end exchanges the positions of lines 1, 3 and 2, 6 among the eight lines. At this time, the network cable The order becomes: 1, white and green, 2, green, 3, white and orange, 4, blue, 5, white and blue, 6, orange, 7, white and brown, 8, brown. This is the 568A standard for 100M network cable, which is what we usually call reverse cable or crossover cable. After arranging and clamping the wires according to the standard of 568B on one end and 568A on the other, a network cable suitable for direct connection between two computers is ready.

2. Installation of the network card

After the network cable is ready, the next step is to install the network card. Here we take the installation process of TP-LINK TF-3239V network card (10M/100M dual-speed adaptive network card, using REALTEK8139 main chip) under WIN98 as an example to make a brief introduction.

First turn off the power of the host, insert the TF-3239V network card into a free PCI slot on the motherboard, fix it after inserting it, and then start WIN98. After entering WIN98, the system will prompt to find new hardware and enter the hardware installation. Wizard, start searching for the driver, we select "Specify a location", and then find the path where the network card driver is located (such as a:\\win98). After selecting, click OK. At this time, the system will start to copy the required files. After completion The system will prompt whether to restart. Click OK to restart the system. At this time, the installation process of the network card is successfully completed.

The network card installation process under other operating systems such as WIN2000 is similar and will not be repeated here.

3. Network settings

After the network card is installed, the following is the last and most difficult step for dual-computer interconnection: network settings. Here I also take the network settings under WIN98 as an example. First, we need to check whether the network components of the system have been completely installed: select "Network Neighborhood" on the desktop, right-click to open its properties, and see if there are the following items in the configuration list: REALTEK8139 NETWORK ADAPTER (network card), MICROSOFT Network Client ( Service), TCP/IP protocol (Protocol), file and printer exclusive services on MICROSOFT network (Service). To connect to a LAN and share resources, the above components are essential. If not, you can add them directly here. Then set the IP address, select "TCP/IP-à REALTEK8139 NETWORK ADAPTER" (that is, the TCP/IP protocol settings of the network card), open its properties, enter "192,168,0,1" in the IP address bar, and the subnet mask is "255,255,255,0", and then click "OK" to return to the "Network" main screen (the IP address of another computer is "192,168,0,2" and the subnet mask is the same). In the identification item, you You should enter different names for the two computers, but their workgroups should be the same. Select the privileged level in the access control item, click "OK", and then restart the computer as prompted. Be careful to log in to the network when you restart your computer. After the computer completes booting and enters the Win98 interface, use the right button of the mouse to select the drive or folder that needs to be shared in "My Computer", click "***Share" in the shortcut menu, and enter *** in the dialog box Name the share, set the share type and access password as needed. At this time, a palm will appear on the drive or folder, indicating that it has been shared. Now we can access another computer through Network Neighborhood just like using local resources.

2. Direct cable connection

Using direct cable to connect through the serial port or parallel port of the computer is also a common solution to achieve direct connection of two computers. Compared with using a network card to connect, this solution is more practical for users who do not have high requirements for network quality. Its advantages are mainly convenient connection and low cost. Of course, its shortcomings are obvious:

1. The connection distance is relatively short:

The length of the parallel port cable using "direct cable connection" should not exceed 3 meters. Only within this distance can we ensure the stability and stability of data transmission. whole. This method is more suitable for connecting two computers that are very close to each other. If you want to connect to a computer at a longer distance, this connection method will definitely not work;

2. When connecting using a serial cable:

The data transmission speed may be slower, so If you connect two computers mainly for playing games, this method is generally not suitable. But in general, direct cable connection is a cost-effective and easy way to network when you only have two computers. To achieve direct cable connection between two computers, communication cables are essential accessories. It is recommended to purchase them directly from a local computer store or Internet company. It is mainly divided into two types: serial cable and parallel cable. It should be noted that you should choose a communication cable that connects a computer to a computer, rather than a communication cable that connects a computer to peripherals such as a printer. These two types of cables cannot generally be used interchangeably. After buying the cable, use it to connect the two computers. Then start the computer and enter the Win98 system. Select "Start" → "Programs" → "Accessories" → "Communications" → "Direct Cable Connection" (if not, add it by "Control Panel" → "Add/Remove Programs" → "Windows Installer" → "Communications" → "Direct cable connection". And set "Protocol", "Identification" and "Privacy" in "Network", which are the same as the network settings for connecting with a network card as mentioned above), and set the port according to the prompts. And set one of them as the server and the other as the client. In the "Direct Cable Connection" option, the host selects "Listening", the client selects "Connect", and then enter your user name and password to successfully connect and realize dual-machine interconnection. At this time, the client can use various resources on the host, including network resources, and you will no longer have to worry about taking the hard drive back and forth when exchanging data between computers at home or in the office.

The above are the two simplest and most commonly used methods to realize dual-machine interconnection. There are many other methods such as connecting through infrared ports and remote sharing through MODEM. Due to space limitations, there are many methods. One introduction.

======================================

< p>We must know that the biggest feature of a local area network is that it can achieve the best utilization of resources, such as: shared disk devices, printers, etc., so that files can be called to each other within the established local area network, and can be used on any computer Print on a shared printer; of course, we can also use software such as Wingate or Sygate to share a Modem with multiple machines to access the Internet; or connect to the Internet through a proxy server to enjoy extraordinary speeds. If you have more than one computer at home, and if you want to upgrade your computer game room to an Internet cafe, then you have to consider connecting them into a LAN.

Don’t think it’s difficult. In fact, if we just set up a small local area network, we only need to buy a few network cards and some data cables, and we can have enough food and clothing by ourselves. We know that Win98 has built-in point-to-point (pc to pc) network configuration capabilities, which makes it easy to establish a small network. If your LAN has many computers, then you need a mature network operating system to manage the network, such as WinNT, Netware or Linux, etc.

Serial and parallel port communication networking

If you just want to connect two PCs equipped with Windows series operating systems, we can directly use the serial and parallel ports of the computer to Communication cable (pc to pc), after connecting the two computers, select Microsoft's "Dial-up Network Adapter" in "Adapter" under "Control Panel/Network" in Windows and "IPX/SPX Compatible Protocol" in "Protocol" ” and “NetBEUI Protocol”. Then start the "Control Panel", select "Add/Remove Programs", click "Install Windows Programs", select "Communications", click "Direct Cable Connection", and then use the Windows installation disk to install. After installation, restart your computer. Select a computer as the host, right-click a drive (such as C drive) in the host's "My Computer", select "Maximum Sharing", and select the mass sharing level. Run "Direct Cable Connection" in the accessories of both machines, and on the host machine, select the communication port used. Select another computer as the client, follow the prompts, and wait a moment for the connection to be completed. Open "Network Neighborhood" on the "Client" desktop, and you will find that you are no longer alone. You can access your host through "Network Neighborhood", or you can map the network drive to yourself through the "Map Network Drive" method. Virtual physical drive, what's even better is that if the host you are connected to is already on the LAN, you can also access all online resources through the host. And when you visit, it does not affect the normal work of the host, which is especially beneficial to laptop users.

Network card communication and networking

When there are more than two computers (PC), you need to use network cards, network cables and hubs (HUB). If there is no network card in the LAN, it is like a river without bridges on both sides. Network card is the abbreviation of NIC (NETWORK Interface Card), which is one of the most basic components of a local area network. The network card is installed in the expansion slot of network computers and servers and serves as the physical interface between the computer and the network. Therefore, it can simply be said that the network card is a bridge for receiving and transmitting data. According to the transmission rate, network cards can be divided into: 10Mbps network card (ISA socket or PCI socket), 100Mbps PCI socket network card, 10Mbps/100Mbps adaptive network card and Gigabit network card. At present, the 10Mbps ISA socket network card still occupies a certain market share with its low price. However, due to the low network transmission rate of the 10Mbps ISA socket network card and occupying a large amount of CPU resources, it is only suitable for those LANs that do not have high speed requirements. I recommend using a 100Mbps PCI socket network card or a 10Mbps/100Mbps adaptive network card. It is not expensive and can be adapted to application environments with a large number of users, large amounts of data transmitted on the Internet, and multimedia information transmission.

When choosing a network cable, you must first look at the interface type of the network card you purchased. There are two types of network card interfaces (RJ45 and BNC): the BNC port uses a thin coaxial cable as the transmission medium. Network card interface. RJ45 is a network card interface that uses twisted pair cable as the transmission medium. The interface of RJ45 is similar to the interface of a telephone line, but the network cable uses an 8-core connector. The disadvantage of using RJ45 is that the installation cost is high, but installation and maintenance are more convenient. , so we generally use the RJ45 interface. Hub (HU): Depending on the number of microcomputers, HUB is used to form a star structure. When there are many workstations, the processing rate of HUB will be far lower than the transmission speed of the communication line, causing a bottleneck problem. Therefore, if conditions permit, Choose a switch. The domain formed by a Hub is called a collision domain. That is to say, when any computer on the network sends and receives data, all other computers can receive it, and these computers cannot send and receive data at the same time, otherwise it will happen. Collision (CSMA/CD protocol prevents collision).

In addition, each computer connected to the Hub must detect the destination address of the received data to confirm whether it has received its own communication information. Therefore, the computer CPU usage is high and the communication efficiency of the entire network is low. It is only suitable for small workgroup levels. application.

The functions of a hub HUB or switch:

(1) Each twisted pair interface is only connected to one workstation (network card), and signals are transmitted point-to-point.

(2) When a certain port receives a signal, HUB reshapes it and broadcasts it to every other port.

(3)HUB itself can automatically detect signal collisions and immediately send out a jam signal to notify other ports when a collision occurs.

(4) When the transmission line or network card of a certain port fails, the HUB automatically isolates the port so that it does not affect the normal operation of other ports. Because the current 100MB switch is very cheap, it is generally Choose a 100Mbps network card and a 100M switch.

The components required for the LAN are all ready. Now let’s follow me step by step to set up a LAN bar based on Windows2000 Professional, the most stable personal operating system at the moment.

, I sell a router that can be connected to any number of devices.

2. If you are in the same room, you can use two machines to couplet, but the network cables must be connected in a staggered way, and If the host has dual network cards,

you can also set it up as follows:

1. USB interface modem

Both computers need one network card each, and use a dual-computer pairing cable Connect, install the XP operating system on the server, establish a dial-up connection, and set up *** sharing; set the local connection IP: 192.168.1.1/255.255.255.0 The client operating system is optional: the IP address is set to: 192.168.1.2/255.255.255.0 Gateway address: 192.168.1.1dns is set to the dns of the adsl provider

2. Adsl modem of the network card (RJ45) interface

The server has two network cards: one is connected to the adsl modem, and the other is Connect to another computer through a crossed twisted pair, the operating system is XP. Others are the same as above.

Install the Sygaet software on one of the computers, but there is no need to install it on the other computer! After installation, just select the following in the configuration of this software: 1. Never hang up

2. Ethernet (there is a drop-down option) and select NTS PPOE ADapter in the drop-down menu

< p>3. Manually select (there is a drop-down option) and select a network card in the drop-down item (this network card is the network card connected to the other computer where you install the software) (One tip: before you install It is best for the two network cards of the computer used in the SYGAET software to be of different brands, because it is easier to identify the above options).

4. Select to automatically start Internet *** service.

First, server settings: Install the Windows98 operating system on the server and client, add the TCP/IP protocol in the network properties box, and set the IP address of the server network card (RTL8029AS) to: 192.168.0.1. Subnet mask (Netmask): 255.255.255.0. And add network file and printer sharing attributes. The remaining protocols such as IPX/SPX can be determined according to the specific situation. If you want to play games like StarCraft online on Battle.Net, you must add them. Then install the Sygate4.0 proxy server software, in which you should choose Server mode instead of Client mode. When registering the software, you should pay attention to the several serial numbers: 3clients, 6cilents, and unlimited clients. It is best to register with the number of unlimited clients (which does not limit the number of client computers).

Second, client settings: After setting up the server, set the network protocol of each client (Client), and also add TCP/IP and NetBeui protocols. The attributes of the TCP/IP protocol are set to: IP: 192.168.0. The netmask is set to: 255.255.255.0, and the gateway is added as: 192.168.0.1 (pointing to the IP address of the server); the host in the DNS (dynamic domain name server) is X (same as above), and the DNS server is added as 192.168.0.1. After setting up each client, restart the computer.

Third, check the working status of the network: open all computers in the LAN, use the PING command in MS-DOS mode to detect, enter on the server: ping 192.168.0.X (X: 1 ~255), if reply from 192.168.0.X is displayed, it means that the computers in the LAN are connected and the TCP/IP protocol has taken effect.

If request from is displayed, there is something wrong with the setting. The solution is to first check if there is a problem with the connection in the LAN.

Note: One more thing to add here is that if you want to use Sygate to realize multi-machine sharing of an ADSL account to access the Internet, it is recommended to use Sygate version 4.0 or above, because version 4.0 or above has been strengthened Support for ADSL.

Before installing proxy server software such as Sygate at the same time, you must first ensure that each computer in the LAN can successfully communicate using the TCP/IP protocol. Please be sure to use the TCP/IP protocol and allocate IP addresses correctly. If If you don’t know how to assign IP addresses, it is recommended that the network card connected to the LAN be assigned an address starting with 192.168.0.X (where X is in the range of 1 to 254, as long as the X value of each computer is within this range and does not repeat) , please set the subnet mask to: 255.255.255.0 Please note that this is the IP address of the LAN network card. If you install two network cards, the other network card connected to the ADSL MODEM does not need to set an IP address, it will be automatically assigned. , it is best to enable DNS for the TCP/IP protocol connected to the ADSL network card. The DNS for Guangzhou users can be set to: 202.96.128.68. Note that if the computer has two network cards, the TCP/IP settings of the two network cards are different. Sometimes being able to see the other party in Network Neighborhood does not mean that you have been able to connect using TCP/IP protocol, because other protocols such as: NETBEUI, IPX/SPX, etc. can also be seen in Network Neighborhood after installation, but this does not mean It means that TCP/IP can operate normally. The way to verify whether communication can be successful using the TCP/IP protocol is to check with the PING command. In addition, you can also use Wingate to realize multiple computers sharing one account to access the Internet. However, considering that the installation settings of Wingate are relatively more complicated than Sygate, so here is It is recommended that you use Sygate. The introduction to Wingate will be completed as soon as possible. Software and hardware problems are solved

Two methods.

1. Use the machine that can access the Internet in the living room as a proxy to access the Internet. There are many proxy software, such as Wingate and the domestic Yaozhi. Disadvantages: If you want the computer in the bedroom to be able to access the Internet, you must turn it on and run proxy software. Some programs that require special ports, such as online games, need to open special ports. Very troublesome.

2. That is what I recommend. To use a router, you need a router and add 2 more network cables, one long and one short. The long one should be able to be pulled from your router to your bedroom. After connecting, you usually call http://192.168.1.1 in IE to enter routing and make relevant settings, such as entering your user name and password for Internet access, setting automatic dialing, etc. Generally, the instructions for routing are very clear. Disadvantage: It costs 130-150RMB.