ONT DHCP Relay
Good afternoon community.
I am not sure if what I want to do is possible but let's try
I have a little RACK with 2 fibre ONTs with direct DHCP WAN IP, no VLAN, no PPPoE
The RACK is connected by only one Etherent cable to my OFFICE / HOMELAB.
On each endpoint (RACK + OFFICE/HOMELAB) I have one TP-LINK switch
RACK = SG2008 4.20
OFFICE/ HOMELAB = SG2210P 5.20
First installation was easy with only one ONT
ONT <-> Router Fritzbox <-> SG2008 <-> SG2210P <-> Office PC
All nice, no problem.
Now I want to use 1ST ONT for OFFICE and the 2ND ONT for Homelab.
First try with VLANs
ONT1 <-> Router Fritzbox <-> SG2008 (VLAN 1 ACCESS PVID 1) <- (TRUNK) -> SG2210 (VLAN 1 ACCESS PVID 1 ) <-> OFFICE PC
ONT2 <-> SG2008 (VLAN 2 ACCESS PVID 2) <- (TRUNK) -> SG2210 (VLAN 2 ACCESS PVID 2) <-> WAN of OPNsense router (DHCP client)
(Remember both ONTs are like DHCP servers for WAN IP)
ONT1 circuit works without any problem
ONT2 circuit works...sometimes. Its not really stable and does not work every time on the first try.
Is there any way for the ONT2 circuit to be more like a "cable"?
I thought about 2 things:
1) DHCP Interface relay through the two switches. I don't know if this is even possible...DHCP Interface Relay with Routed port?
2) DHCP VLAN relay through the two switches...
Any other idea will be very welcome.
If none of this is possible I will first use a simple cable thrown over the stairs :) nad later try to built the OPNsense router in a very tiny PC and put it near to the ONT2 in the rack
Many thanks for your help.
Peter
