PPPoE and DNS



  • Hello again. Not sure this is the right category, but hope so. Here is the situation: Dual WAN - PPPoE and DHCP, when PPPoE goes online after DHCP it gets his gateways and DNS - and when both connection are online, everything is running fine. But when one connection is down, dual balancing and failover gets messed up because of the static routes "behind the scenes". I thought the easiest solution is to put gateway and dns in the config.xml, but when tried the config doesn't validate - popping some error about double ip addr, which is the problem with the pppoe. So my question is how to tell the router: do queries to that DNS from this WAN, and to the other DNS use OPT1. Well maybe I don't need that if I can setup gateways and dns for the pppoe connection..



  • Please try a recent snapshot.



  • In fact I'm using snapshot from the latest 2-3 days.

    I will try now with that http://ftp.nhlue.edu.tw/pfsense//downloads/pfSense-1.0.1-LiveCD-Installer.iso.gz
    Its latest, right?





  • Oh, after upgrading I saw absolutely new webgui interface on the load balancing tab. I can't manage to get balance working and I'm completely lost in those different versions. So what - oldest versions work better with Dual WAN and their webgui is simplier ?

    Is there a one and only tutorial for setting up Load Balancing (with current snapshots of the webGUI)?

    I got this
    Warning: stristr(): Empty delimiter. in /etc/inc/pfsense-utils.inc on line 1275 Warning: stristr(): Empty delimiter. in /etc/inc/pfsense-utils.inc on line 1275
    when trying to refresh Load Balancing rules and as I see its a minor web form error.

    My other question still stands - After registering pppoe connection in the logs appear the ISP DNS's, but in the Status -> INterfaces, the PPPoE connection gets the DNS from the dhcp (OPT1). This happends even checking /unchecking
    Allow DNS server list to be overridden by DHCP/PPP on WAN in the General Settings tab.





  • Hello,

    I'm writing this after reading the dual wan tutorials and the solution you mention in this thread. But I still have some questions.

    Please view the image from the attachment. The first private IP is my OPT1 modem, which acts as DNS server. I made static route but still things dosn't run properly. Can you explain me is this right.

    On interface WAN I enter the destination network of WAN DNS's(217.79.71.0/24), right? And then the gateway which I saw from Status->interfaces->Wan?
    On interface OPT1 I enter the destination network of OPT1 DNS's (192.168.1.0/24).. and then the gateway which I saw from Status->INterfaces->OPT1

    OR

    On interface LAN I enter both OPT1 AND WAN destination networks with the corresponding DNS and Gateways?

    I'm a little bit messed up! Please see the image.



Log in to reply