gianry
March 8, 2024, 8:35pm
1
I’ve an ONT device on WAN port and I need to connect by Telnet to its IP address (192.168.2.1).
I 've a PPPoE protocol on WAN1 .
My local DHCP ln is 192.168.1.1
I think I need to create a second lan on the wan port and route the the telnet access from a local network IP (computer 192.168.1.x) to 192.168.2.1 .
Please could you help me to do that ?
thanks
admon
March 8, 2024, 8:54pm
2
Does your ONT have multiple ports or just the one that is connected to your Flint 2?
gianry
March 8, 2024, 8:54pm
3
only one ethernet connected to Flint2 wan1
slesar
March 9, 2024, 10:16am
5
Second router use lan1 port and will auto dhcp from first router.
gianry
March 9, 2024, 12:04pm
6
no, this is not my physical configuration. I’ve only the WAN occupied by ONT .
I think you can try an alias on this interface (static IP). Additional a static route to the ONT IP via the alias interface i guess.
https://openwrt.org/docs/guide-user/network/network_interface_alias
It should be configurable via Luci.
I did the same with my RPi4 so that i was able to use the single LAN Port also as a WAN port.
gianry
March 9, 2024, 3:05pm
9
I’ve simply made a new interface on Eth01 with static address 192.168.2.2 and firewall rule enabled