How to access a local IP address outside the range?

Solved
Phil77 -  
brupala Posted messages 111930 Registration date   Status Membre Last intervention   -

Hello,

I detect an IP address on Wifiman desktop, I know what it corresponds to but I cannot access it. The address is 192.168.1.20 while my range of local IP addresses is from 192.168.0.2 to 192.168.0.200. How can I access this IP address?


9 réponses

Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170
 

In fact, not exactly. If you want to access an IP that is not in your subnet (so in your case not in the range 192.168.0.0/24 - that is, between 192.168.0.1 and 192.168.0.254), you will have to go through a router. The question I have is: how do you detect this IP? Do you have access to the equipment that carries it? If your need is to have this equipment on your local network, you need to give it an IP in the right range.
However, be careful. The range you are talking about (192.168.0.2 to 200) is your DHCP range, the one in which IPs are automatically assigned. If your equipment needs to have a static IP (a camera or a printer for example, it's better to have a static one), you should choose this IP outside of the DHCP range but within your subnet, so an IP between 192.168.0.201 and 192.168.0.254.


.Ô Castor
(_)___ Rodent

1
Phil77
 

Here are more details:

I am using a Freebox Revolution as a router. The address 192.168.1.20 is a Wi-Fi antenna that is wired to the box and communicates (normally) with a receiving Wi-Fi antenna 10 meters away. Two surveillance cameras are connected via cable to the output of this receiving antenna. I can’t see either the receiving antenna or the cameras on my network. I replaced the RJ45 cable that connected the antenna to the box yesterday because I could no longer see the transmitting antenna on my network. This cable was dead, and I think that the loss of connection must have reset the antenna's address to its factory version with the address 192.168.1.0, whereas it was previously set to 192.168.0.20 as static.

Therefore, I cannot change the IP address of the transmitting antenna because I cannot access it.

0
Phil77 > Phil77
 

The distance is 100m, not 10m, sorry.

0
Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170 > Phil77
 

100m is the absolute limit for copper network

0
Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170 > Castor Posted messages 17881 Registration date   Status Modérateur Last intervention  
 

Forget the previous comment, it's WiFi, I misread.

0
jee pee Posted messages 9400 Registration date   Status Modérateur Last intervention   9 945
 

Hello,

If it's a router that manages the IP by connecting to this router. By changing the address range of the box if the concerned device has a static IP.


0
Phil77
 

I am using a Freebox Révolution as a router. How do I change the address range? When I try to set it to 192.168.1.2 to 192.168.1.200 instead of 192.168.0.2 to 192.168.0.200, I get a message indicating that I cannot do this because it is not compatible with my subnet mask.

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417 > Phil77
 

192.168.1.2 to 192.168.1.200 does not match any subnet mask, it's a DHCP range, my friend Castor has already explained it.

But it's not a good idea to change the numbering of the box.

0
yg_be Posted messages 23437 Registration date   Status Contributeur Last intervention   1 587 > Phil77
 

If your subnet mask is 255.255.255.0, and the box address is 192.168.0.1, then the DHCP range 192.168.1.2 to 192.168.1.200 is out of the local address range.

You should also change the box address to 192.168.1.1.

0
brucine Posted messages 24378 Registration date   Status Membre Last intervention   4 093
 

Hello,

Set the mask to 255.255.0.0 on the devices?

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417
 

Hello,

255.255.254.0 would be enough in this case ;-)

0
Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170 > brupala Posted messages 111930 Registration date   Status Membre Last intervention  
 

And since he can't access the AP, changing the mask on his computer will be useless; he will never receive the responses.

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417 > Castor Posted messages 17881 Registration date   Status Modérateur Last intervention  
 

It's true that when you change the mask on one machine, you have to change it on all the machines in the network, otherwise, hello randomness.

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417
 

Hello,

as the flat-tailed rodent said, if you detect this address, it's because you're accessing it via a router, or you're doing an arp-scan on a range larger than your IP network, 192.168.0.0/22 for example, and this machine is poorly configured.

I don't know this wifiman, we would need to see how it scans, whether it's via ARP or ping, knowing that you can prevent a machine from responding to ping, but not to ARP.

However, ARP only works within the local network, not crossing routers, while ping does cross routers.

Edith:

wifiman is this Ubiquiti app then?

Either you reconfigure this IP address to put it in your network, or you add a router, but then you'll need to add a static route to access 1.20


And there you go, there it is ....

But misery, how annoying the line spacing is !!

0
Phil77
 

Exactly, wifiman is a Ubiquiti app. Since I don't have access to this IP address, I can't modify it to include it in my network, and I'm already using a Freebox Revolution as a router.

0
Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170 > Phil77
 

Okay, so your goal is to connect to your Wi-Fi AP in order to configure it.
So you need to change the IP address of your phone, tablet, or computer to have an IP in 192.168.1.xxx.

Then you will be able to access it. Your Unifi access point and your device also need to be physically on the same network. Generally, the simplest way to do this is to connect the access point directly to the wired network card of a laptop.

0
Phil77
 

Thanks? Unfortunately, the access point is in the attic and my laptop doesn't have an RJ45 port, like most laptops nowadays.

I'm not going to be able to change my computer's IP address to 192.168.1.xx because this address is not within the allowed range.

Should I change the IP address of my Freebox to be able to change the range?

0
Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170
 

If by "allowed beach" you mean the beach defined on your Freebox, we don't care, you can always manually add a new IP on your computer temporarily.

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417
 

The access point of the bridge is not external?

That's surprising.

In factory configuration, doesn't it have a default SSID and a DHCP server?

Otherwise, when we have one (or more) ultraportable computers today, it’s a good idea to also have a USB 3 or USB-C to gigabit or 2.5G RJ45 adapter; it’s always useful, as proven.

With my first ultrabook, that’s the first thing I bought.

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417
 

I don't see why 192.168.1.0/24 wouldn't be an allowed range; you don't set a gateway, not necessary, and no DNS either.

0
Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170 > brupala Posted messages 111930 Registration date   Status Membre Last intervention  
 

No, the Unifi devices are designed to be configured via a network app. It's a pain at first, but given the robustness of the hardware, you can take the time to struggle through it for 15 minutes.

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417 > Castor Posted messages 17881 Registration date   Status Modérateur Last intervention  
 

No, but outdoors, I mean outdoor, it's (much) better for a Wi-Fi bridge.

The UniFi controller can be installed on any PC in principle, there's not necessarily a need for an app.

It seems to still exist despite the apps.

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417
 

Oh, OK, so it's a wifi bridge then?

If you want to reconfigure the upstream AP (the one connected to the box), if I understood correctly, it's the one that reverted to factory settings, you just need to reconfigure a PC with a static IP address in the 192.168.1.0/24 network, for example 192.168.1.200, and you'll be able to reconnect to your AP to reconfigure it in the box's network.

Did you do it like that the first time?

If you're trying to do it from the app, it depends on how it works; either the initial setup is done via Bluetooth, in which case you need to bring your mobile close to the AP to access it via BT, or it's done via WiFi, in which case you need to connect your mobile to the AP's WiFi network, which should have an address assigned by DHCP in the 192.168.1.0/24 network.

Or, as Castor mentioned, reconfigure a static IP on the mobile, like 192.168.1.200.


And there you go, there it is....

But oh dear, those line breaks are such a pain!!

0
Phil77
 

Thank you for all your help. Indeed, I may have needed to do it this way the first time, but that was at least 6 or 7 years ago, I must admit I've forgotten a bit. If I change my computer's IP address to 192.168.1.200, how could I then return to its address of 192.168.0.144 if I’m no longer within the defined range seen by the Freebox?

0
Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170
 

you switch back to DHCP and it will be done automatically

0
Phil77 > Castor Posted messages 17881 Registration date   Status Modérateur Last intervention  
 

I just tried to change my computer's IP address to 192.168.1.200. The response is "the IP does not belong to your local network."

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417 > Phil77
 

There must be something you are doing wrong,

are you properly removing the automatic IP (DHCP)?

0
Phil77 > brupala Posted messages 111930 Registration date   Status Membre Last intervention  
 

Yes, absolutely, I switched to manual IP assignment but I can't assign an IP in 192.168.1.xxx.

0
Phil77 > Phil77
 

I've finally been able to access my address 192.168.1.20. I actually used your method with my computer's new IP address at 192.168.1.144, the subnet prefix length set to 24, and no gateway or DNS. I was then able to modify my Wi-Fi bridge settings, changing it back to 192.168.0.20 so that it would be visible on my network.

Thank you so much for your help!

1
Phil77
 

I just reread your answer. Do I need to disable the DHCP server first?

0
Castor Posted messages 17881 Registration date   Status Modérateur Last intervention   170
 

No, usually not needed. Strange that he refuses for you to change your IP.

0
brupala Posted messages 111930 Registration date   Status Membre Last intervention   14 417
 

From the box?

No, not at all, you won't be connected to it anymore.

0
steph810 Posted messages 1850 Registration date   Status Membre Last intervention   154
 

Hello, install this by taking the setup.exe:

NetworkManager

go to the left to scan ip

and scan this ip.

post some configuration screenshots.

thanks

-1
Phil77
 

I downloaded NetworkManager and then ran Setup.exe, which I forced to execute because Windows protection advised against it. I then received a message asking me to install "install.NET Desktop Runtime" to make the app work. When I accepted, a new message appeared saying "This request is blocked".

0
steph810 Posted messages 1850 Registration date   Status Membre Last intervention   154 > Phil77
 

Weird, try the portable version then:

https://borntoberoot.net/NETworkManager/

0
Phil77 > steph810 Posted messages 1850 Registration date   Status Membre Last intervention  
 

As I was saying to Brupala, I manage my network from a fixed computer. I suppose the portable version doesn't apply here?

0