English Forums > Tutorials and FAQs

[HowTo] - PPPoE, VLAN & RFC4638

(1/10) > >>

netnut:
PPPoE, VLAN & RFC4638

Most modern Internet Broadband connections (VDSL, Fiber) are based on ethernet instead of ATM, but still using PPP for connectivity and subscriber management. Many ISP's also offering extra services (besides IPv4 & IPv6 Internet) like IPTV and VOIP, most of the time provided via different VLAN's.

A PPP header is 8 bytes, so when you're using PPP over Ethernet your (usable) MTU size will be slightly lowered from it's default (1500) to 1492. I'm not going to explain here why this might be problematic or at least suboptimal in a standard Ethernet network, DuckDuckGo is your friend ;-). Try: "MTU and Fragmentation" if you like to learn more about this topic.

Now the good news is that configuring PPPoE with VLAN's is extremly simple using OPNSense. Even better, if your ISP supports RFC4638 (Baby Jumbo's) on it's PPPoE connection, things get really awesome.....


“To Whom It May Concern”:

The instructions below are for OPNSense configurations that are DIRECTLY connected to an ISP infrastrucure and terminate the PPPoE connection at the OPNSense box itself or using a CPE (modem) that provides PPPoE passthrough functionality.

MAC Spoofing:

If you need to use a custom MAC Address, configure it on the physical interface (01:01:01:01:01:01 in this example). When you don't know if you need a custom MAC, you probably don't need one, just leave this item blank.

MTU Size:

If your ISP supports RFC4638, configure the MTU size on the Physical NIC (1512) and the PPPoE VLAN (1508), otherwise leave these two settings blank. If your ISP supports RFC4638, but it doesn't work, first configure everything WITHOUT custom MTU settings, this should work anyway. Double check if your physical NIC supports custom MTU (>1500) sizes.

netnut:
1 - Configure your WAN interface
    - Unnumbered
    - Custom MAC Address (if needed)
    - Custom MTU Size (if supported by NIC & ISP)


Login to view screenshot:

netnut:
2 - Add Service VLAN (IPTV)
    - Use WAN Interface as parent
    - My ISP is using VLAN4 for IPTV
    - Check YOUR ISP instructions for the right VLAN id

Login to view screenshot:

netnut:
3 - Add Service VLAN (IP)
    - Use WAN Interface as parent
    - My ISP is using VLAN6 for regular IPv4 & IPv6 Internet
    - Check YOUR ISP instructions for the right VLAN id

Login to view screenshot:

netnut:
4 - Both Service VLAN's configured

Login to view screenshot:

Navigation

[0] Message Index

[#] Next page

Go to full version