ONT DHCP Relay

ONT DHCP Relay

ONT DHCP Relay
ONT DHCP Relay
Wednesday
Model: TL-SG2008  
Hardware Version: V4
Firmware Version: 4.20.14

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

  0      
0
#1
Options
2 Reply
Re:ONT DHCP Relay
Thursday

Hi,  @3dat_Peter 

Thank you for posting on our business forum.

We noticed that your current topology for ONT2: ONT2 <-> SG2008 (VLAN 2, Access, PVID 2) <- (Trunk) -> SG2210P (VLAN 2, Access, PVID 2) <-> WAN of OPNsense router (DHCP client) may not conform to the standard classic networking topology (which follows the standard order: ONT > Router > Switch > End Clients). We would like to recommend that you try adjusting your current topology first.

If your goal is simply to assign separate network segments and independent IP addresses to your office area and Homelab respectively, an additional ONT is actually not required. You only need to connect the WAN port of your OPNsense router to an available port on your switch, then confirm that it can obtain a stable WAN IP address, which should meet your need.

To better assist you with your issue, we would also like to confirm the following additional details with you:

1. What is the overall expected objective of your current network deployment?
2. Does your ONT device work as a modem without DHCP functionality? And why did you use two ONT in your topology?
3. Are you currently using a controller to manage your network devices?

 

  0  
0
#2
Options
Re:ONT DHCP Relay
Thursday - last edited Thursday

Hi  @Nathan-TP 

 

thanks for coming back.

 

Will try to answer logically..

 

1) I have two internet access..2 fibre connection and so two ONT .. one for each fibre

2) I have only one network cable from the point where the fibre comes into my house (RACK) to where I need the internet (OFFICE / HOMELAB)

3) When I had only one fibre, things were as easy as ONT1 -> ROUTER1 (RACK) -> network cable -> (OFFICE / HOMELAB) PC

 

Now with the second fibre and ONT as you mention the correct installation would be the same:

ONT2 + ROUTER2 inside the RACK and then with VLAN or Port isolation through the ONLY EXISTING CABLE to my Office / Homelab, but...

 

a) ... In the rack  I dont have space even for a tiny PC as router and ...

b) ... impossible to install a second cable from RACK to OFFICE / HOMELAB

 

My problem is that ONT2 and ROUTER2 are now physically separated and can't have a separate cable to connect them.

My goal is then to find a configurational solution to connect the WAN port of ROUTER2 to the ONT2 using the existing cable which has a Level 3 feature switch on each end

In easy words: I want to "simulate" a second cable.

 

I did this with a simple VLAN from ONT2 to ROUTER2 but this works not very fine. The problem is the DHCP going through the VLAN (I think).

As mentioned my Internet provider assigns the public IP only by simple DHCP, no additional VLAN, no PPPoE, no other dial connection.

 

If you find this strange or impossible to make it work, I will try with a very tiny PC as ROUTER2 inside the rack or try to pass 2 slim cables instead of 1 normal from RACK to OFFICE...

 

Thank you

 

  0  
0
#3
Options