Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jankowskid on June 18, 2008, 09:33:09 PM

Title: PPPoE + static IP...need to supply both configs
Post by: jankowskid on June 18, 2008, 09:33:09 PM
I am using an SME Server 7.3 configured in Server and Gateway Mode.  The internet is using PPPoE from the SME Box, and the Modem (SpeedStream 5100) is in bridge mode.  I am running on an SBC (AT&T) account.  The account in question has just purchased a block of Static IPs.  The problem is that PPPoE needs to remain active AND I have to supply the Static IP address in addition. 

Most of the posts suggest that the ISP will do the setup on their end, however this isn't the case here.  I have to supply both the PPPoE user/password and tell it which IP/gateway/netmask to use.

I have searched for an answer on this, but have not found exactly how to make this work, but have come up empty
I was able to force the static config post-boot by doing the following:

Code: [Select]
db configuration setprop ExternalInterface IPAddress <ip>
db configuration setprop ExternalInterface Gateway <gatewayip>
db configuration setprop ExternalInterface Netmask <netmaskip>
db configuration setprop ExternalInterface Network <networkip>
db configuration setprop ExternalInterface Broadcast <broadcastip>
config set ExternalIP <ip>
signal-event ip-change

All is honky-dory at this point...

Code: [Select]
db configuration show ExternalInterface
db configuration show ExternalIP

They both show my set variables, and they are working...

That being said, any kind of signal-event post-upgrade; signal-event reboot or reconfigure from the server-manager interface (like after an update) and the settings get killed and I am back to a DHCP assigned address from the ISP.

My other thought is to configure (through the CLI admin console) the WAN interface as a static ip, and then change the pppoe db configuration back to enabled...

Any thoughts on this would be appreciated.

- Dan

{EDIT}  I just connected to another site via PPTP from the site in question here.  I checked the logs and the static IP assigned above is not what is being shown as the connector.  The address that was present before I ran my db config commands is what is showing up.  So, the static settings are never even used/enabled even after my reconfig....*sigh*
Title: Re: PPPoE + static IP...need to supply both configs
Post by: naushad on June 26, 2011, 02:23:42 AM
jankowskid, Please try to modify your pppd options, as ppp is negotiating to get IP address
Title: Re: PPPoE + static IP...need to supply both configs
Post by: CharlieBrady on June 26, 2011, 04:20:12 PM
The account in question has just purchased a block of Static IPs.

SME server has no support for such a configuration.
Title: Re: PPPoE + static IP...need to supply both configs
Post by: Boris on June 28, 2011, 06:40:36 AM
I have a few clients with the same configuration. ATT DSL is providing the DSL modem/roter/firewall and requre PPoE even for static addresses. I configure that router with PPPoE and enable bridge mode on it. Then assign the static IP to the SME in server-gateway mode behind it. Works for many years.