Forums

Resolved
0 votes
I Have 2 WAN connections on my box, both are PPPoE with additional IP blocks, wan2 ISP requires the first IP of the block to be used as static IP in the connection, using DHCP with user/pass gets the default IP which is not part of the block.

If i choose "static ip" in the web interface the option for user/pass is removed, how can I configure the connection to use static IP + user/pass?

Thanks
Monday, October 08 2018, 05:50 PM
Share this post:
Responses (2)
  • Accepted Answer

    Tuesday, October 09 2018, 11:17 AM - #Permalink
    Resolved
    0 votes
    Do I add it at the end of the file or do I need to insert it between some other config lines?
    Will try it later this afternoon.
    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 09 2018, 11:12 AM - #Permalink
    Resolved
    0 votes
    You could try adding to /etc/sysconfig/network-scripts/ifcfg-ppp0:
    IPADDR="your_IP_address"
    NETMASK="255.255.255.0"
    But I don't think it will work. You will also lose the settings every time you configure the interface through the webconfig.
    The reply is currently minimized Show
Your Reply