Gateway required, fixed IP adress

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12

Gateway required, fixed IP adress

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
19 Reply
Re:Gateway required, fixed IP adress
2022-02-20 15:37:44

  @btx 

 

On my Computer and on the raspberrys the gateway is the R605 192.168.10.1

 

I think the problem is that i can fix the ip's on devices connectec via wifi but i cant change the ip's on devices connected via LAN. I was able to change the IP on my iphone without any problems but on the Lan devices not

 

 

 

  0  
  0  
#12
Options
Re:Gateway required, fixed IP adress
2022-02-20 15:50:56

@Tabsi thanks for the screenshot, if you check which dhcp server gives you IP address, then you know from who you get the ip.

 

in this example, lan address is 192.168.0.7 which is re650's ip, example output of: 

sudo dhclient -d -nw enp7s0

 

Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp7s0/eX:xX:Xx:xX:Xx:XX
Sending on   LPF/enp7s0/eX:xX:Xx:xX:Xx:XX
Sending on   Socket/fallback
DHCPDISCOVER on enp7s0 to 255.255.255.255 port 67 interval 3 (xid=0x49943726)
DHCPOFFER of 192.168.0.4 from 192.168.0.7
DHCPREQUEST for 192.168.0.4 on enp7s0 to 255.255.255.255 port 67 (xid=0x26379449)
DHCPACK of 192.168.0.4 from 192.168.0.7 (xid=0x49943726)
Timeout too large reducing to: 2147483646 (TIME_MAX - 1)

 

If you run above command, do you get offer from 192.168.10.1 or from 192.168.10.15?

 

As you can see, I clearly do get dhcp offer from 192.168.0.7 which is correct and I can confirm that my dhcp is working.

 

Also, in your screenshot you have set ip address of your re650 to 192.168.10.1, but in DHCP settings you have completly differnent IP, which is 192.168.10.15 . This is not correct unless you do know why it should be correct, it should be 192.168.10.1 and not 192.168.10.15

 

Also, dhcp range should actually not start with 192.168.10.1, as it is your routers IP, I think per default it is from 2-254.

 

Also, if you click on extended dhcp options, there you can set also option 138.

 

As last, you do not write if your er605 gets public IP or some local ip, however, most important for now is to know where your dhcp server as it would explain a lot.

 

As we talk about dhcp options, maybe it is offtopic, but I would wish omada gives user ability to set own dhcp options in advanced settings, not just those those 3 available.

  0  
  0  
#13
Options
Re:Gateway required, fixed IP adress
2022-02-20 15:54:54

  @Tabsi sorry for the few typos above, I mean of course er605, not re650 which would be also another tp-link product (wireless repeater), sadly I cant edit posts.

  0  
  0  
#14
Options
Re:Gateway required, fixed IP adress
2022-02-20 16:00:50
Im sorry but i forgot tot tell you that i run the Omada controller as a docker container but i dont think that this is the problem. I sais in the cmd line DHCPREQUEST for 192.168.10.15 on eth0 to 255.255.255.255 port 67 DHCPACK of 192.168.10.15 from 192.168.10.1
  0  
  0  
#15
Options
Re:Gateway required, fixed IP adress
2022-02-20 16:19:25

  @Tabsi well, it seems you have found your error source.

 

If it says you get dhcp offer from 192.168.10.15, then you have dhcp enabled on 192.168.10.15. Your solution is to disable dhcp server on 192.168.10.15 (or bridge or whatever it is), of course only if you want to manage dhcp with omada which I understood. At the same time you can add reservation to 192.168.10.15's dhcp, but as far as I understand you want to manage it with omada and it seems you were even not aware that you have 2 dhcp servers running at the same time which do disturb/override each other.

 

I do not know if your docker usage works properly or not, I myself would not run it in a docker, especially not if you can run it directly. For that just install 64bit linux, if you use ubuntu:

 

# 1. Install basic network tools

sudo apt install -y net-tools;

 

# 2. install openjdk and jsvc

sudo apt install -y openjdk-8-jre-headless;

sudo apt install -y jsvc;

 

# 3. install mongodb, you can also add their apt to get latest mongodb, but current included works just fine too

sudo apt install -y mongodb

 

# 4. Install omada, download latest: https://www.tp-link.com/de/support/download/omada-software-controller/v5/

wget https://static.tp-link.com/upload/software/2022/202201/20220120/Omada_SDN_Controller_v5.0.30_linux_x64.deb

sudo apt install -y ./Omada_SDN_Controller_v5.0.30_linux_x64.deb;

 

 

You can also install all prerequirements with one command:

sudo apt install -y net-tools openjdk-8-jre-headless jsvc mongodb;

 

and as last open all required ports:

# http

sudo ufw allow 8088/tcp

# https

sudo ufw allow 8043/tcp

# cloud controller ports

sudo ufw allow 29811/tcp

sudo ufw allow 29812/tcp

sudo ufw allow 29813/tcp

sudo ufw allow 29814/tcp

sudo ufw allow 29810/udp

 

thats it, even no reboot is required.

 

I hope you have additional sd card which you can flash with latest ubuntu/debian 64 bit (above steps are valid for ubuntu). This way you do not need to delete/destroy your current one, but I would discourage from using omada in docker when you can use it directly, especially as it is more prone to errors and mistakes. Keep it simple, or at least try, because in networking it gets always complicated if you need to look for failures, where you say you doubt it has to do with docker, I believe it is unrequired complication to run it in a docker and would be probably the first place to look for me.

  0  
  0  
#16
Options
Re:Gateway required, fixed IP adress
2022-02-20 16:28:02
i tried it and this i waht came out Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: omadac : Depends: mongodb-server (>= 3.0.0) but it is not installable or mongodb-10gen (>= 3.0.0) but it is not installable or mongodb-org-server (>= 3.0.0) but it is not installable Depends: mongodb-server (< 1:4.5.0) but it is not installable or mongodb-10gen (< 4.5.0) but it is not installable or mongodb-org-server (< 4.5.0) but it is not installable E: Unable to correct problems, you have held broken packages. pi@raspberrypi:~ $
  0  
  0  
#17
Options
Re:Gateway required, fixed IP adress
2022-02-20 16:45:57

  @Tabsi as far as I can guess, you used original raspiOs or some other 32bit system, that can be the only reason why you tried docker. Trust me, no issues with any packages ;), try it if you do not believe me, its quite simple:

 

1. Flash ubuntu to your sd card, get ubuntu 20.04.3 for rpi3: https://ubuntu.com/download/raspberry-pi/thank-you?version=20.04.3&architecture=server-arm64+raspi

    If you want to read more about it, visit official download page :https://ubuntu.com/download/raspberry-pi

2. ssh to your rpi3 with: ssh IPAddressOfRaspberry -l ubuntu

3. run sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && reboot now;

4. install omada controler prerequirements and omada debian package like I explained in my previous post.

 

Depending on how long it upgrades on first boot, the rest takes just few minutes.

 

But like I said, run any 64bit linux and you will be able to run cloud controller, on ubuntu all packages are available from repository which you require for cloud controller, I think in debian too, depending on debian version, there could be mongodb v2 which is not compatibel and one would require mongodb's repo or simply downloading mongodb deb package.

 

@Fae illegal links to ubuntu, radxa, .... which links are legal :) ?

  0  
  0  
#18
Options
Re:Gateway required, fixed IP adress
2022-02-21 03:55:46

Dear @btx,

 

btx wrote

@Fae illegal links to ubuntu, radxa, .... which links are legal :) ?

 

To prevent spam, only the domain name in the white list is allowed. Sorry for the inconvenience caused.

>> Omada EAP Firmware Trial Available Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#19
Options
Re:Gateway required, fixed IP adress
2022-02-21 13:43:09

  @Fae according to those spam post appearing daily, seems it is not really tackling the problem ;)

 

As you mention spam, what disturbs me on this forum is the fact that your users have no 2fa, which is indeed a problem especially after one can see bots posting daily spam. What bothers me here is, that many/most users of this forum could have same credentials for forum as well as omada cloud and maybe tapo cloud. Only omada cloud offers for now 2fa, at least one getting credentials from as example forum could in theory get full access to network and security cams and exactly this makes this forum interesting for that specific task. Please enable everywhere 2fa, if you enforce it as must, that would probably terrify few users, just make sure everybody knows how quickly random 12-20 signs can be cracked, then people will set quickly their 2,3,4,X factor authentifications.

  0  
  0  
#20
Options