Combine static IP-address for cabled and wifi connections
I have a device that is connected to the network via cabled and wifi connections. The device can choose either one and does so regularly with varying and uncertain results. To connect to the device I need a static IP-address but I have no access to the device for setting that up, so I tried setting that up in the WiFi-router. I need both addresses to be the same, independant of the device's choice of connection method. Address reservation of the DHCP server will not let me choose idential IP-addresses for the 2 MAC-addresses. I am now thinking of Static Routing, but would need help if that would be an option. I.e. I think about routing the static address of the WiFi-port onto the static address of the cabled connection as a gateway. Would that be possible, and if so: how to do it? Or is there another solution for this problem?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Why do you need both addresses to be the same? Why not reserve two consecutive IP addresses in the DHCP server?
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
Hi,thanks for posting question here. I am afraid it is impossible to assigin same IP address to 2 different MAC.
- Copy Link
- Report Inappropriate Content
Yes, trying to assign the same static address to 2 MAC's already failed. That's why I thought of 2 static addresses routing one to the other but it may be a wild thought.
- Copy Link
- Report Inappropriate Content
@Marvin_S
... to be more specific:
Normally, static routing is used on a network plane. In my case:
Network destination = 192.168.2.0
Subnet Mask = 255.255.255.0
Gateway = 0.0.0.0
Interface = lan
I was thinking whether this could also work for an IP-address, not a network plane. Something like:
Network destination = my device's WiFi-port static address = 192.168.2.191
Subnet Mask = ??, probably 255.255.255.255 ?
Gateway = my device's RJ45-port static address = 192.168.2.192
Interface = ??
Obviously I can try that myself but I thought this could be an issue known to the community and I found it an interesting subject worth debating.
By the way: I can easily solve the problem by disconnecting the RJ45-cables, thus forcing the devices to use WiFi on known static addresses. But I live in a heavily loaded WiFi-area and tend to use cabling where possible.
- Copy Link
- Report Inappropriate Content
Hi, you may try to enable a TPC-based VPN server on the router, and then fix the IP assigned by the VPN, so that no matter which NIC is used in your device, the same tunnel IP can be used to be accessed.
For your reference: How to establish a VPN connection
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 420
Replies: 7
Voters 0
No one has voted for it yet.