Configure static IP addresses and custom routes for customers to meet advanced networking requirements.
NettPortal supports assigning static IP addresses and custom routing rules to customers. This is useful for:
For PPPoE customers, static IP is set via the remote-address parameter.
192.168.1.100)/ppp secretset [find name="username"] remote-address=192.168.1.100For Hotspot customers, static IP is set via the static-ip parameter.
192.168.1.100)/ip hotspot userset [find name="username"] static-ip=192.168.1.100Custom routes allow you to define specific routing rules for customer connections.
PPPoE supports direct route configuration via the routes parameter.
192.168.1.0/24, 10.0.0.0/8/ppp secretset [find name="username"] routes=192.168.1.0/24,10.0.0.0/8Requirement: Business customer needs static IP 192.168.100.50 for their VPN.
Steps:
192.168.100.50Result: Customer always gets IP 192.168.100.50 when connecting.