Public networks and subnets of a dedicated server
A public (Internet) network is a network for server access to the Internet using public IP addresses.
The server is automatically included in the shard VLAN for the public network, and it is allocated one IPv4 public address from the shared subnet.
Network parameters (IP address, subnet mask, default gateway) can be viewed in the Control panel: from the top menu, click Products → Dedicated Servers → Network → Subnet tab → subnet page.
To receive additional IP addresses, order a dedicated subnet and configure it. When ordering a dedicated subnet, IP addresses are allocated to the account as a separate VLAN. Only one dedicated VLAN for the public network can be allocated to one account in one pool.
IP addresses from a dedicated subnet can be used on account servers located in the same pool (IP addresses work only within a single pool). When ordering a dedicated subnet, you can use either an address from the shared subnet or one from the dedicated subnet. You cannot use both IP addresses simultaneously.
You can view the VLAN assigned to a port in the control panel: in the top menu, click Products → Dedicated Servers → Servers → server page → tab Ports.
The network interface on the server will be configured automatically only during auto-installation of the OS. When installing the OS from your own image, you must configure the network interface on the server manually.
When setting up the network, we recommend using Selectel recursive DNS servers, but you can specify any public DNS servers.
All traffic (incoming, outgoing) that passes through the Internet port is summarized and charged in accordance with the traffic consumption model.
Network limits are set on ports:
- on the number of MAC addresses — 25 MAC addresses per switch port;
- on broadcast traffic — 10 MB/sec per port for each individual traffic type.
Dedicated servers are protected by Selectel DDoS protection by default. For a public dedicated VLAN, you can enable a basic firewall.
A server of arbitrary configuration can be disconnected from the public network; to do this, create a ticket. After disconnection from the public network, auto-installing an OS on the server will not be possible.
Public shared IP addresses
Public shared IP addresses are located in the shared subnet and have a fixed prefix /24 (mask 255.255.255.0). Other clients' servers are also located in the shared subnet, and servers within a single account may end up in different shared subnets. For security reasons, the shared subnet uses IP anti-spoofing protection.
A public shared IP address does not support:
- connecting DDoS protection;
- configuring static or dynamic routing;
- unblock certain blocked ports and Internet resources;
- configuring a BGP connection and BGP + anycast subnet;
- simultaneously using a public dedicated IP address;
- reassign the address to another server (including using VRRP, CARP, Keepalived, Corosync, etc. for server redundancy).
To change the IP address on your server, connect additional public IP addresses.
Public dedicated IP addresses
Public dedicated IP addresses are located in a dedicated subnet and have any prefix (mask). IP addresses from a dedicated subnet can be used on account servers that are in the same pool. To receive a public dedicated IP address, connect additional public IP addresses.
Connect additional public IP addresses
After ordering a dedicated subnet, you cannot use the public shared IPv4 address that was automatically allocated when the server was ordered.
- Order a dedicated subnet.
- Add the IP address to the accounting system.
- Change the network settings on the server.
- Switch the VLAN on the server port.
1. Order a dedicated subnet
- In the Control panel, from the top menu, click Products and select Dedicated Servers.
- Go to the Network section.
- Click Order public subnet.
- Select a subnet.
- Select the service the subnet will be used for.
- Select a region and pool in which the subnet will be created. The subnet will only be available to resources in that pool. You cannot move a subnet to a different pool.
- Select a VLAN.
- Specify the purpose of use.
- Select a billing cycle.
- Click Pay. When the service is ready for use, you will receive a notification in the ticket.
2. Add the public IP address to the accounting system
In the accounting system, you can record which IP address is configured on your server. Changing this does not change the network settings on the server; they must be changed manually.
- In the Control panel, from the top menu, click Products and select Dedicated Servers.
- In the Servers section, open the server page → tab Network.
- In the Public block, click Add IP address.
- Select a subnet.
- Select an IP address.
- Click .
3. Change the network settings on the server
When connecting an additional IP address in the server OS, change the network settings:
- IP address;
- subnet mask;
- gateway.
Parameter values can be viewed in the control panel: in the top menu, click Products → Dedicated Servers → Network → tab Public subnets → dedicated subnet card.
Apply the network settings. Server availability will be lost until the VLAN is changed on the port.
4. Switch the VLAN on the server port
- In the Control panel, from the top menu, click Products and select Dedicated Servers.
- In the Servers section, open the server page → tab Ports.
- In the Internet row in the VLAN column, click .
- In the VLAN field, select the ID of the dedicated VLAN in which you ordered a dedicated subnet in step 7.
- Click Configure. Server access will be restored with the new IPv4.
Return to the shared public IP address
- In the Control panel, from the top menu, click Products and select Dedicated Servers.
- In the Servers section, open the server page → tab Ports.
- In the Internet row in the VLAN column, click .
- In the VLAN field, select Shared.
- Click Configure.
- In the server OS, change the network interface parameter values for the public network. See the Configure the network interface on the server tutorial for details. Parameter values for working with a public IP address from the shared subnet (
/32) can be viewed in the control panel: in the top menu, click Products → Dedicated Servers → Network → tab Subnet → dedicated subnet card.