DHCP+PPPoE on WAN interface



  • Hello

    it is possible to add in pfsense "DHCP+PPPoE on WAN interface"  ?
    like this patch http://code.google.com/p/m0n0wall-mod/

    dhcp+PPPoe very popular in Russia  ;D



  • How does it works ?

    RFC1483 bridged to get DHCP working on ethernet, then PPP over this ethernet ?

    It is interesting to see that you have RFC1483 bridged available in Russia. In France, nobody wants to implement this. We still have PPPoE or PPPoa for ADSL. RFC1483 is only available on SDSL links. Or we have RFC1483 routed (IPoA) by "Free" provider.

    We are still waiting for multi VC ADSL as well; big providers slow down this to keep the Ip telephony market for them (they do have  triple play offers but do not want to resell multi VC to small VISP, or very expensive).



  • when you start receiving DHCP IP or setup Static IP) (ISP network)
    then dial to pppoe (internet IP)

    [eth0]WAN (DHCP 10.10.x.x) + (PPPoe 87.236.x.x)
    |
    [PFsense]
    |
    [eth1]LAN (192.168.1.1)
    |
    HomePC(192.168.1.199)

    –-
    impossible to configure pfsense to work with
    multicast ipTV over 10.10.х.х network

    see how this is done on d-link
    Dual-access
    Dynamic PPPoE +Dynamic IP
    http://www.dlink.ru/ru/faq/68/277.html

    Enable Multicast
    http://www.dlink.ru/ru/faq/69/880.html



  • Perhaps you could do multicasting inside a small level 3 switch ?



  • @olivier1010:

    Perhaps you could do multicasting inside a small level 3 switch ?

    use cisco and throw pfsense?  ;D



  • Can you tell me which gateway you use by default, the one you get from dhcp or the one from pppoe?
    Or at least which is required by the provider so i can think up of something to handle this.



  • Interfaces:
    vr0 = Wan
    vr1 = Lan

    by default i'am use pppoe gateway
    but iptv server worked through gateway from DHCP (10.12.127.1)

    pfsense reboot,
    execute
    netstat -rn

    Internet:
    Destination        Gateway            Flags    Refs      Use  Netif Expire
    default            87.236.40.69       UGS         0  4270493 pppoe0
    87.236.40.69       87.236.41.207      UH          3    46009 pppoe0
    87.236.40.248      87.236.40.69       UGHS        0      393 pppoe0
    87.236.40.249      87.236.40.69       UGHS        0       17 pppoe0
    127.0.0.1          127.0.0.1          UH          0        0    lo0
    192.168.5.0/24     link#2             UC          0        0    vr1
    192.168.5.199      00:1d:60:66:19:2a  UHLW        1  2452728    vr1   1100
    


    executing
    dhclient -vr0
    netstat -rn

    Internet:
    Destination        Gateway            Flags    Refs      Use  Netif Expire
    default            87.236.40.69       UGS         0  4273176 pppoe0
    10.12.127.0/24     link#1             UC          0        0    vr0
    87.236.40.69       87.236.41.207      UH          3    46106 pppoe0
    87.236.40.248      87.236.40.69       UGHS        0      399 pppoe0
    87.236.40.249      87.236.40.69       UGHS        0       17 pppoe0
    127.0.0.1          127.0.0.1          UH          0        0    lo0
    192.168.5.0/24     link#2             UC          0        0    vr1
    192.168.5.199      00:1d:60:66:19:2a  UHLW        1  2454912    vr1   1001
    
    

    Log System:

    Apr 23 23:56:28 dhclient: netstat
    Apr 23 23:56:28 dhclient: PREINIT
    Apr 23 23:56:28 dhclient: netstat
    Apr 23 23:56:28 dhclient: EXPIRE
    Apr 23 23:56:28 dhclient: Deleting old routes
    Apr 23 23:56:28 dhclient: netstat
    Apr 23 23:56:28 dhclient: PREINIT
    Apr 23 23:56:28 dhclient[44225]: DHCPDISCOVER on vr0 to 255.255.255.255 port 67 interval 7
    Apr 23 23:56:28 dhclient[44225]: DHCPOFFER from 10.12.127.1
    Apr 23 23:56:28 dhclient: netstat
    Apr 23 23:56:28 dhclient: ARPSEND
    Apr 23 23:56:30 dhclient: netstat
    Apr 23 23:56:30 dhclient: ARPCHECK
    Apr 23 23:56:28 dhclient[44225]: DHCPOFFER from 10.12.127.1
    Apr 23 23:56:30 dhclient[44225]: DHCPREQUEST on vr0 to 255.255.255.255 port 67
    Apr 23 23:56:30 dhclient[44225]: DHCPACK from 10.12.127.1
    Apr 23 23:56:30 dhclient: netstat
    Apr 23 23:56:30 dhclient: BOUND
    Apr 23 23:56:30 dhclient: Starting add_new_address()
    Apr 23 23:56:30 dhclient: ifconfig vr0 inet 10.12.127.14 netmask 255.255.255.0 broadcast 10.12.127.255
    Apr 23 23:56:30 dhclient: New IP Address (vr0): 10.12.127.14
    Apr 23 23:56:30 dhclient: New Subnet Mask (vr0): 255.255.255.0
    Apr 23 23:56:30 dhclient: New Broadcast Address (vr0): 10.12.127.255
    Apr 23 23:56:30 dhclient: New Routers (vr0): 10.12.127.1
    Apr 23 23:56:30 dhclient: Adding new routes
    Apr 23 23:56:31 dhclient: Creating resolv.conf
    Apr 23 23:56:31 dhclient[44225]: bound to 10.12.127.14 – renewal in 1800 seconds.
    Apr 23 23:56:34 check_reload_status: rc.newwanip starting
    Apr 23 23:56:35 php: : Informational: rc.newwanip is starting vr0.
    Apr 23 23:56:35 php: : rc.newwanip working with (IP address: 10.12.127.14) (interface: wan) (interface real: vr0).
    Apr 23 23:56:42 php: : Informational: DHClient spawned /etc/rc.newwanip and the new ip is wan - 10.12.127.14.
    Apr 23 23:56:42 php: : Creating rrd update script
    Apr 23 23:56:43 check_reload_status: reloading filter
    Apr 23 23:56:46 apinger: alarm canceled: wan(87.236.40.69) *** delay ***
    Apr 23 23:56:47 check_reload_status: updating dyndns
    Apr 23 23:56:54 check_reload_status: reloading filter
    Apr 23 23:57:01 check_reload_status: reloading filter
    Apr 23 23:57:59 apinger: ALARM: wan(87.236.40.69) *** delay ***
    Apr 23 23:58:13 check_reload_status: reloading filter
    Apr 23 23:59:11 apinger: alarm canceled: wan(87.236.40.69) *** delay ***
    Apr 23 23:59:25 check_reload_status: reloading filter
    Apr 24 00:05:30 apinger: ALARM: wan(87.236.40.69) *** delay ***


Log in to reply