How to enter wan subnet for my PPP/PPPoE connections?



  • PPP/PPPoE can potentially have a WAN subnet just like any other kind of gateway, I'm curious why the interfaces dialog prevents them being entered.

    I'm guessing but maybe PPP/PPPoE technically don't have a wan subnet (but they can have public static IP blocks??), or maybe it's usually assumed if there is an externally allocated wan subnet pfsense has got to be using a non-PPP/PPPoE connection.

    Connectivity here need PPPoE (to handle CHAP) and also need the interface to 'know' its subnet. If I set "DHCP" or "Static" I get a subnet but not the ability to authenticate, if I set "PPPoE" I can authenticate but can't define a subnet. I suppose I could manually create rules/aliases but it feels like it shouldn't be necessary….

    Am I doing something wrong?



  • PPP will "normally" allocate an IP address with a subnet mask of 255.255.255.255.

    PPP is Point to Point Protocol - the interfaces don't belong to a "subnet" in the sense that LAN interfaces do. PPP is not a broadcast protocol.

    Static IP on PPP "normally" means the PPP server always allocates the same IP address.

    Here's what the pppoe interface on one of my pfSense systems:

    $ ifconfig pppoe0
    pppoe0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492
    inet 203.144.23.199 –> 121.50.212.9 netmask 0xffffffff
    inet6 fe80::219:e0ff:fe68:314b%pppoe0 prefixlen 64 scopeid 0xa
    nd6 options=3 <performnud,accept_rtadv>$</performnud,accept_rtadv></up,pointopoint,running,noarp,simplex,multicast>

    @stilez:

    Connectivity here need PPPoE (to handle CHAP) and also need the interface to 'know' its subnet.

    Why does the interface need to know its subnet?


Log in to reply