Static IP device(s) but change the router to those ranges... I'm new...

Started by bakereleven, December 05, 2019, 10:28:27 AM

Previous topic - Next topic

bakereleven

Hi to all that might be able to help... my name is Chris and I have a weird project, I know what I want the router to do but I do not know how to get it to do it.  I am not "new" to networking but am new to configuring.  My father is a Network and Security manager but I am not learned by him.... sadly.  Otherwise I wouldn't be posting here but asking him to "help" aka him do it because he isn't good at teaching and is good at yelling..... anyway back to the topic.

I have an IP camera and a controller both with static IPs that need to be changed (New installs so I am not going back to the same site).  The original static IP of the camera and controller is the same but on different subnets, and the new IP's are different but I get them before I go to the jobsite. I want to be able to connect wirelessly to the 2 devices but I can't figure out how to see them on the rotuer. I don't want the router to give out IP addresses but see the ones that are already programmed to the device(s).
192.168.x.y and 172.x.128.y
Depending on which port on the controller I plug into it can be on either the 172 or 192 scheme. But the camera is always on the 192 scheme. Then they get changed to a 10.x.x.x scheme.

I want to configure the router so that I can reach these devices together without having to change the LAN IP of the router because I can do that wirelessly but was hoping I wouldn't have to but that is the easy way.  My coworker said something about creating a bridge and something else... but I have no clue how to get it to work.  I tried creating a new interface with a bridge but after that I am lost.  It is a GLiNet AR750S.

What I normally have to do is connect individually to each device and change my NIC of my laptop to the 192.168.x.y and 172.x.128.y and then to see them again after the change, I have to set to the 10.x.x.x scheme.  I want to eliminate that, where I can plug the devices into the router and be able to change them wirelessly and still be able to connect to them after the static IP's are changed. That way I only have to physically connect them to the router once and don't have to connect physically to my computer twice.

Thanks for any input and if possible put it in more basic terms (I am good at googling but there isn't really anything that made sense to me regarding what I just posted LOL). Thanks again!

deanwebb

Hello and welcome to the forums!

OK, so it looks like that device supports two networks, one each wired and wireless. It looks as though it uses just the 192.168.8.0/24 range, and I don't see in the config guide anywhere to change that, except for specific interfaces on the wired network. Basically, this really isn't the router you're looking for, as it has some really limited features.

I've used an Arris home router with my previous ISP, and those supported up to four SSIDs (SSID = wireless network), 2 each on 2.4Ghz and 5Ghz. While the docs for the product recommended using one 2.4Ghz and one 5Ghz channel per SSID, and to just have two, it was possible to spin up 4 networks, each with its own addressing scheme. That would allow you to have multiple SSIDs to connect to, and when you changed an IP address, you would change the setting for which SSID you connected to.

So, you'd have a 192.168 SSID and a 172.0.0.0/16 SSID, since you want the devices on the 172 network to be able to see each other.

Unless there's a way to create a second SSID that I missed in the online docs, you'll need a different piece of hardware to do the wireless work you want to do.

If these devices are wired-only, then you're still looking at getting something like an old used Cisco 3750 switch that can set up different VLANs, one for each IP range you want to work with. I suggest that model because it's cheap as chips and they're reliable workhorses. The key to that switch model is that it can do "Layer 3" work - routing - in addition to basic access-port switching.

Some of what you were saying was confusing - hard to tell if you were talking about the camera and controller being wired, wireless, or both. If what I'm suggesting doesn't sound right, have a go at explaining your use cases again, and we'll see what we can come up with.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

Dieselboy

Hey OP. BTW I love those GL iNET devices. I have an AR300M running my internet at home  :mrgreen:

From what I understand, everything is plugged in to a network so you cant plug it in to your laptop to change it's IP? And you are moving devices from one site to another and so they are coming already configured with static IPs which are wrong for where they have been installed?

It's no problem really. Usually the modem/router will bridge wifi to lan. So with this understanding, if you have your wired devices connected to the LAN, the GLiNET bridging wifi to the LAN also (which it does by default), then you can:
1. connect to the wifi network
2. configure a static IP on your wifi card on your laptop, in the range of the device you wish to connect to
3. connect to each device and change their IP

You dont need to change any router configuration. The bridging should occur even though the IP addresses are seen as wrong for the router. The alternative is to plug your laptop into the LAN via cat5/6 cable and follow the same steps. Switches dont care about IP addresses, but you will need to be in the same subnet as the device you are trying to reach.

bakereleven

Quote from: Dieselboy on December 05, 2019, 07:37:01 PM
Hey OP. BTW I love those GL iNET devices. I have an AR300M running my internet at home  :mrgreen:

From what I understand, everything is plugged in to a network so you cant plug it in to your laptop to change it's IP? And you are moving devices from one site to another and so they are coming already configured with static IPs which are wrong for where they have been installed?



Thank you guys for replying!! I know I was a bit confusing, I can never get my thoughts out into words very well.

What @Dieselboy said about just changing my wifi IP config sounds like it would be easier and would not have to unplug the devices until I am done configuring. 
Would changing the wifi IP work just like the NIC on my laptop even if the AR750S is giving out IPs? Wouldn't I have to change the static IP of the GLiNet router so that it will give out the 192/172 schemes? I was hoping to not have to do that but it's better then being outside. (Unless I misunderstand you Dieselboy)

To answer the first question, technically yes, but I currently have to directly connect to each device through ethernet connection and what I want to do is connect to them wirelessly.  They have to be config'd by direct connection outside of any network so that both the camera and the controller can be configured to the 10.x scheme of the network that is being installed. 

So we have the camera (192.168) and the controller (192.168 or 172.x [depends on which way I plug in {2 different connections}]) they are pre-configured with those IP addresses.  Then we have a router that has the 10.x scheme and we have to change the camera and controller to the 10.x scheme.

@Deanwebb Thank you for replying as well!! It is all wired and I am trying to connect the devices to a wireless router so I can connect to them wirelessly... (If I didn't say that above) LOL

Does this clarify better? I also keep getting distracted as I type and keep forgetting....  :'( :'(

deanwebb

If changing the static IP on the Router gives you one of the ranges you want, then that's what you have to do. :) I'll let DB handle more of this, since he's more familiar with that line of gear.

Just out of curiosity, is this for home use or for a business?
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

Dieselboy

Quote from: bakereleven on December 07, 2019, 10:16:38 PM

Would changing the wifi IP work just like the NIC on my laptop even if the AR750S is giving out IPs? Wouldn't I have to change the static IP of the GLiNet router so that it will give out the 192/172 schemes? I was hoping to not have to do that but it's better then being outside. (Unless I misunderstand you Dieselboy)

Yes, changing your wifi adaptor IP is the same as changing the wired adaptor IP.

Note: some wifi networks can be configured to block static IPs but the openWRT wont be configured to do this (not sure if it is possible)

Quote from: bakereleven on December 07, 2019, 10:16:38 PM

@Deanwebb Thank you for replying as well!! It is all wired and I am trying to connect the devices to a wireless router so I can connect to them wirelessly... (If I didn't say that above) LOL


If you are able to plug your laptop directly into the wired LAN then you can do the same for your wired LAN IP on your laptop. A LAN is just a layer 2 broadcast domain. It doesnt matter which IP the devices have, they will still get the broadcast packets within that layer 2 broadcast domain (remember, IP is layer 3). So for your laptop to be able to communicate with those devices, you need to configure your laptop with the same IP subnet.

Basically, it doesnt matter if you are wired or wireless for your laptop, as long as you're on the same Layer 2 network then you can "IP hop" just by changing your laptop IP address (ps. the wifi network should be giving out the same subnet as the wired devices...). You can change to the 172.x subnet, and then reconfigure those devices. Then change to the 10.x subnet and do those, etc (however you want). You dont need to reconfigure any router or network equipment to do this (unless you want to or need to change the router to a new IP scheme or something like that).


Hope I explained well enough..