If your BYO IP range is advertised to your VPS, you can assign addresses from that range directly on the server. This guide covers how to configure BYO IP addresses on both Linux and Windows.
Prerequisites:
- A BYO IP range advertised to your BinaryLane account
For an overview of BYO IP and BGP at BinaryLane, refer to: Does BinaryLane support BYO IP or BGP?
- Root or administrator access to the server
- Your BYO range details (network address, gateway, usable host range)
TABLE OF CONTENTS
- Usable IPs in a /24
- Linux (manual configuration)
- Windows (manual configuration)
- Removing the BinaryLane-assigned Public IP
- Troubleshooting
Important
You won't be able to add these IPs from your BYO range to VPS using mPanel. They must be added manually on the server.
Usable IPs in a /24
For a /24, x.x.x.1 is used as the gateway; you can assign host addresses from x.x.x.2 through x.x.x.254 on your server.
- Example range: 103.227.125.0/24
- Example host IP: 103.227.125.96/24
- Example default gateway: 103.227.125.1
Linux (manual configuration)
Add an IP address:
ip addr add 103.227.125.96/24 dev eth0
Set default gateway (if required):
ip route replace default via 103.227.125.1
Verify:
ip addr show ip route
Windows (manual configuration)
GUI: Network Adapter Settings → IPv4 → add your BYO IP, subnet mask, and gateway.
PowerShell example:
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress 103.227.125.96 -PrefixLength 24 -DefaultGateway 103.227.125.1
Verify:
Get-NetIPAddress route print
Removing the BinaryLane-assigned Public IP
You can remove the Public IP address from your server via the Change Plan page; scroll down and select the checkbox next to Remove Existing: where your IP address is displayed, agree to the terms of service and refund policy, then click Change Plan.
Troubleshooting
- Confirm the interface name (for example eth0 vs ens3).
- Confirm subnet and gateway are correct for your advertised block.
- Check for conflicting default routes.
If you require assistance, feel free to submit a support ticket at our helpdesk here: Submit a ticket | BinaryLane
