A computer B uses a network cable to share the WiFi network of another computer A, how can other computers C in the LAN access the services of computer B?

environment:

Computer A: Lenovo E14 notebook

System: WIN10 Professional Edition

LAN IP: 192.168.14.111

Shared IP: 192.168.137.1

Computer B: HP 288pro desktop

Ubuntu 20.04

System: Shared IP: 192.168.137.180

Computer A is normally connected to WIFI, and computer B has no WIFI, only a wired network port, sharing the wireless network of computer A
(there is also a bridging network that is not discussed in this discussion)

Problem Description:

A computer B uses a network cable to share the WiFi network of another computer A, how do other computers C in the local area network access the services of computer B, and test the deployment of SRS services on computer B

insert image description here

solution:

1. For the WLAN configuration of computer A, connect the network cable to the wired network card of computer AB.
insert image description here2. Open CMD on computer A and enter arp -a to check the IP obtained by computer B. The default network segment is 192.168.137.0.
insert image description here
3. Computer B has an SRS service The port is 8080, and it is normal to access directly on computer A

Guess you like

Origin blog.csdn.net/weixin_42672685/article/details/132194219