Hello guys, I configured and sync my node under my home network 192.168.1.X, after a few days I moved the PI to the office where I have a 10.0.0.X LAN. If I connect the monitor I see that the PI takes the address 10.0.0.X but it is not possible to login either via web or via ssh. If I reconnect the PI to my home LAN 192.168.1.X everything returns to work correctly, any idea?
Update, seems the problem is a manged switch with vlan tag or only vlan tag
If i connect the Pi to a different lan w/o vlan everything works.
this is the trouble situation:
Managed switc that assigns tags “2” on ports 1-2-3-4 with the following connected devices:
Port 1 - Router DHCP 10.0.0.1
Port 2 - Pc1 10.0.0.2
Port 3 - Pi4 10.0.0.3
Port 4 - Pc2 10.0.0.4
I can ping pc1 to pc2 and vice versa, both pc ping router, unable to ping Pi4 or login via ssh.
Please verify the switch port connecting to the Rasberry Pi is up/up and there should a Mac Address of the Rassberry Pi binding on the switch control plane. You can try rebooting or bypassing the switch or last resort; change your switch tagging to the default VLAN1.
Hope this helps…
the port works correctly and the Pi4 correctly takes the address from the dhcp, today I will try to test another switch.
No way, same problem with L3 Switch, seems a problem about vlan tag. Anyone using Umbrel with Vlan?
I have configured an interface on the Pi for the vlan, now I can ping the Pi, connect with ssh and log in…BUT, I can only login on port 80 with the IP
http://IP, umbrel.local does not work and
httpS://IP does not works. any tips?
This is the Vlan install/config: By https://techviewleo.com/how-to-configure-vlan-interface-on-debian/
sudo apt update
sudo apt install vlan
echo “500 firsttable” | sudo tee -a /etc/iproute2/rt_tables
echo “501 echo “500 firsttable” | sudo tee -a /etc/iproute2/rt_tables” | sudo tee -a /etc/iproute2/rt_tables
sudo modprobe 8021q
sudo nano /etc/network/interfaces
# Source custom network configuration files source /etc/network/interfaces.d/ # The loopback network interface auto lo iface lo inet loopback # The first VLAN interface auto eth0.2 iface eth0.2 inet dhcp dns-nameservers 22.214.171.124 126.96.36.199
sudo ifup eth0.2
Why don’t you just follow up this guide about how to setup a static IP to your node.
Enter SSH into your node, follow the instructions from the guide how to set a static IP, from your new location range and done.
Ty for your reply.
this is not what i’m looking for, without vlan tag other devices on that vlan can not communicate vith umbrel node. i’m not trying set static ip, im’ trying run node on a separate vlan.
or maybe I did not understand and are you telling me to set a static ip keeping the vlan tag?
tried, same problem, i cannot access with httpS , only http
So? What’s the problem with that?
This is standard thing:
- accessing from LAN through http://IP:port
- accessing from outside, ONLY Tor onion address, no need for any port.
That’s all. I don’t see where is the problem.