> On Jul 22, 2020, at 6:31 AM, Michael Knill > <michael.kn...@ipcsolutions.com.au> wrote: > > Hi Group > > I have moved to a carrier that only provides a dynamic PPPoE address and if > you want a static address they add a /30 routed range. > Just wondering how I configure this in Astlinux? Do I use EXTIP_ALIAS? How do > I use this address for outgoing Source NAT?
Hi Michael, For all these years, I have not heard of such a PPPoE configuration. Are you sure you need a static IP :-) The EXTIP_ALIAS would not apply since that is for physical interfaces, not PPPoE. Questions: 1) Is the /30 route completely different from the assigned dynamic /32 IPv4 ? 2) Does the PPPoE connection, via the underlying PPP connection, automatically add the /30 as a route and associated with the ppp0 interface ? OR, is this a static route and address that needs to be manually added to ppp0 after the PPPoE connectioin is up ? -- ip addr show dev ppp0 ip route show dev ppp0 -- (sanitize any public IPs) AstLinux has a firewall Outbound SNAT plugin that will SNAT outbound traffic from select internal IPs/CIDRs, this may work for you. The added problem here is since PPPoE can destroy and create the ppp0 interface, any associated static routes and firewall rules will be lost on a PPPoE restart, so that needs to be kept in mind. Lonnie _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.