Good morning, I would need to understand why this happens to me.
I have a router(1) HEX poe that connects with ether1 to the internet with pppoe.
I have created vlans in HEX poe which then go out with a trunk from ether5.
The ether5 connects to a router(2) hap ac lite on ether1 and receives the vlans.
Trying the various contacts I end up with vlan addresses 10, 20, 30 and everything works. I am surfing regularly.
The problem lies in the fact that from a pc connected to the router(2) from winbox I can’t get into the router(2) but only see the router(1).
Is it possible ?
How do I manage it ?
Help please
Thanks
You have VLANs and 2 routers that seem to be in a cascade using LAN-WAN on two subnets - so probably a configuration issue and maybe double NAT as well. Are you using 2 DHCP servers ?
From a blank config, add the new subnet ip address and DHCP server on that range, bridge the ports, set the radio, enter the gateway address (whatever router 1 is on) and then reboot. This works for me.
LAN-LAN is a lot simpler and will avoid this issue since both routers will be on the same subnet.
No, I don’t have two dhcp servers, the dhcp server is only on the router(1) and it assigns the network to the various vlans. Ether1 on router(1) is the pppoe internet connection, Ether5 on router(1) carries the trunk
of the vlans to the ether1 port on the router(2).
How do I assign an ip in the same subnet to the routers ?
Basic setup that insures connectivity, assuming that the main router is connected to the internet…
Main router ip: 192.168.88.1
DHCP server range: 192.168.88.10-192.168.88.254
NAT enabled
Gateway: set by ISP
In LAN-WAN:
Second router: 192.168.89.1
DHCP server range: 192.168.89.10-192.168.89.254
NAT disabled
Gateway: 192.168.88.1
In this case, each router has its own LAN subnet and DHCP server to provide connectivity, but the main provides NAT.
In LAN-LAN:
Second router: 192.168.88.2
DHCP server is disabled
Here, the main router provides both DHCP and NAT to the whole network, since everything is on the same LAN subnet. Obviously, having VLANs adds another level of complexity. Planning with a diagram might be very useful. I might have forgotten something, but that’s essentially the difference between the two.