Gateway required, fixed IP adress
Gateway required, fixed IP adress
Hey, i have a problem with setting fixed ip adresses. It says that a gateway is required.... how can i solve the problem? Isn't my R605 my gateway?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
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
- Copy Link
- Report Inappropriate Content
@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.
- Copy Link
- Report Inappropriate Content
@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.
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
@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.
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
@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 :) ?
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
@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.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 2780
Replies: 19
Voters 0
No one has voted for it yet.