This is a real problem I encountered before, and so far I was always able to resolve it by actions that don’t make sense to me, I want to make my life easier in the future, so please help me out.
Given the following resources and maxims:
- I have
host PCit runs Windows 11 Pro, build 26200, it has Intel CPU and built in Intel network adapter; - I have
client PC, it runs Windows 11 Pro, Build 26100, it has Intel CPU and built in Intel network adapter; - For very specific technical reasons, I cannot install any new software on the
client PC; - I can install any software I wish on the
host PC, with the exception of new operating systems, it has to remain as Windows 11; - For very specific technical reasons, I absolutely have to connect the
client PCto the internet via a connection shared fromhost PC.
These are givens and requirements which I cannot change, my restrictions are not self-imposed. The only way I can see to circumvent them is to build a separately routed network that satisfies the intended parameters instead of using the host PC. That would require sourcing the appropriate hardware, and I am researching ways to do so at the target site. In the short term (nearest 3 months), I’m constrained in these ways.
I go through the following steps:
- I turn on both machines;
- I connect the
host PCto the Internet, confirm that it can connect to any online services that I wish to ulitise; - I select the network connection on ‘host PC’, which provides access to the Internet, and share it to an ethernet port
ethernet 1; - I connect that ethernet port with a confirmed functional ethernet cable to ethernet port
ethernet 2on theclient PC; - I wait for the “unidentified network” to establish on both
host PCandclient PC
At this point, one of two things happens. Either client PC gains Internet access, or it doesn’t.
In case when client PC does not gain Internet access, I resolve the following questions:
- Does the automatic network configuration for
ethernet 2on theclient PCprovide an IP address on the same subnet as is configured onethernet 1on thehost PC? If not, I will manually provide configuration with an IP address on the same subnet, with same network mask, and assign the IP ofhost PCethernet 1as gateway; - Does the
client PCsuccessfully send ping requests to thehost pc, and does it receive responses back? If not… I really don’t know what to do except mess around with enabling/disabling autoconfiguration on the network interfaces, set up IP addresses on same subnets, configure stricter/laxer subnet masks, etc… until I get ping between them.
So far, in my operations I have encountered the following problems:
- The
client PCcan pinghost PC. I can open theethernet 1status window onhost PCand observe that “Received” packets are growing in number. Consequently, I know thatclient PCis sending packets to thehost PC, but the host PC is either not routing them properly, or for some other reason does not issue the responses. All requests to the Internet fromclient PCare timed out; - The
client PCcan pinghost PC. I can open theethernet 1status window onhost PCand observe that “Received” packets are not growing in number. Every time when I execute the ping command on theclient PC, I observe “Received” packets on thehost PCgrow by 416, and the “Sent” packets on the host PC also grows by a very specific number I didn’t care to record, it’s the same every time.
Every time these issues were resolved was when I messed around with network settings on client PC until I found a combination of working ipv4 address and subnet mask, or when I switched on receive address automatically and it magically started working for no observable reason.
Are there any tools I can utilize to gain better insight/control over this situation? Set up proper IP address autoconfiguration? Examine packet routing on the host PC? What problems can I identify and solve in these circumstances?