Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP + PPPOE on a single WAN interface

Hey all,

Is is possible (and if it is, then how?) to use both DHCP (for intranet address) and pppoe (for internet access) over a single WAN interface. I know it is generally possible in Linux (and Windows for that matter) but does Astaro support such feature?

Basically my setup would be like this:

LAN Interface (192.168.x.0/24)
WAN Interface (10.0.0.0/24, for intranet outside my local LAN) and 83.x.x.x/something for Internet access via PPPOE.


Thanks for your help already in advance!


This thread was automatically locked due to age.
Parents
  • Dont bind your route network and route gateway definitions to the external interface!
    They will bind to the PPP interface, but not to the eth1 interface.
  • Just add a static route saying 10.0.0.0/8 via default gateway 10.x.x.x

    Do you have to Masquerade the connections to 10.0.0.0/8? If yes, you
    have to create an additional SNAT rule, translating 192.168.x.0/24 to your IP address of your additional address (because you can't use masquerading for that, it would only match ppp internet traffic).

    That should be all. Just ensure that the normal packet filter rules are also installed to allow traffic.


    Dont bind your route network and route gateway definitions to the external interface!
    They will bind to the PPP interface, but not to the eth1 interface.


    That's what i feared. However only options to where i could bind the route network and route gateway are internal and external (there's no option for anything else - unfortunately). Either I'm doing something wrong (most likely [:)])) or Astaro can't achieve what i'm planning to do.

    EDIT:
    Edited a bit the part what i wan't to achieve.  Da_Merlin, Do you know if what i want to achieve is possible using webui or should i use CLI since I tested it to be working using the commands I posted above. However if i use CLI I have to type the commands everyr time I reboot my router.
Reply
  • Just add a static route saying 10.0.0.0/8 via default gateway 10.x.x.x

    Do you have to Masquerade the connections to 10.0.0.0/8? If yes, you
    have to create an additional SNAT rule, translating 192.168.x.0/24 to your IP address of your additional address (because you can't use masquerading for that, it would only match ppp internet traffic).

    That should be all. Just ensure that the normal packet filter rules are also installed to allow traffic.


    Dont bind your route network and route gateway definitions to the external interface!
    They will bind to the PPP interface, but not to the eth1 interface.


    That's what i feared. However only options to where i could bind the route network and route gateway are internal and external (there's no option for anything else - unfortunately). Either I'm doing something wrong (most likely [:)])) or Astaro can't achieve what i'm planning to do.

    EDIT:
    Edited a bit the part what i wan't to achieve.  Da_Merlin, Do you know if what i want to achieve is possible using webui or should i use CLI since I tested it to be working using the commands I posted above. However if i use CLI I have to type the commands everyr time I reboot my router.
Children
No Data