T
T
theTipok2019-04-12 15:49:34
Windows
theTipok, 2019-04-12 15:49:34

How to set a single ip for Lan and WLan?

On win 7 embedded there is a hotspot running from

command line
NETSH WLAN set hostednetwork mode=allow ssid=Your_SSID key=Your_Passphrase
NETSH WLAN start hostednetwork
win7 requires to assign a unique ip for all network devices.
I want to connect to this computer via a hotspot or via a LAN with a patch cord always using one ip (192.168.0.1 for example). The user must choose the switching method, but should not think about ip.
A similar task is solved on the win server by channel aggregation https://habr.com/ru/company/microsoft/blog/162509/ , however, I do not have the task of sending traffic simultaneously through lan and wlan. In addition, judging by the screenshots, you can only merge two lan, but probably you can not merge lan and wlan.
Intuition tells you that you need to create a virtual network connection and let all traffic from physical lan \ wlan connections go to it, how can I do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Michael, 2019-04-12
@Supporting

Let's start with the fact that the user does not need to know anything about IP. Its knowledge zone must be limited to the domain name.
In Win7, you can try using network connection sharing, but I'm not sure if this feature is available in EMB. Yes, and it turns out clumsily.
I would reduce to the DNS name. Then you don't have to worry about IP.

A
Artem @Jump, 2019-04-12
curated by the

I want to connect to this computer via a hotspot or via a LAN with a patch cord always using one ip (192.168.0.1
This can only be done through the routing settings.
The user must choose the switching method, but should not think about ip.
The user must connect by name, and there will be no such problems.
A similar problem is solved on win server by link aggregation
Such tasks can be solved by channel aggregation as effectively as using an aircraft carrier as a fishing trawler.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question