I have an AP Unifi AP AC lite. It has only one ethernet port and I am trying to use alias so that I can use a static IP to login to the the AP connected to my PC. I am trying to use
eth0 for static as well as DHCP IP address. When the AP is connected to modem then I can login to it via SSH using the IP assigned by DHCP. But when it connect it to my PC with ethernet cable I am not able to login through SSH using he static IP. Below is the
network file configuration:
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fdcb:9bde:4f7c::/48' config interface 'lan' option ifname 'eth0' option force_link '1' option type 'bridge' option proto 'dhcp' config interface 'lan2' option ifname 'br-lan' option proto 'static' option ipaddr '192.168.254.1' option netmask '255.255.255.0' config interface 'wan' option ifname 'eth1' option proto 'dhcp'
Luci looks like this:
Got this error every time:
ssh: connect to host 192.168.254.1 port 22: No route to host
How to make it work?