User Tools

Site Tools


networking

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Networking ====== In most cases, your virtual servers networking will automatically be configured by means of either DHCP on KVM based services, or by VZCTL in the case of OpenVZ. If you want to make use of our IP Failover or Anycast IP addresses, though, you'll have to manually configure your networking for both platforms. While on the 'Networking' tab of your virtual server, you can click the cog next to any of your IP addresses & select ''Network Settings'' to see that specific IP addresses netmask/bitmask, gateway, resolvers, etc. ===== IPv4 (Public) ===== We've done our best to keep our configurations mirrored between all locations. * Netmask: 255.255.255.0 * Gateway: x.x.x.1 (x.x.x being the first 3 parts of your main IP.) * Las Vegas Resolver #1: 205.185.112.68 * Las Vegas Resolver #2: 205.185.112.69 * New Jersey Resolver #1: 199.195.255.68 * New Jersey Resolver #2: 199.195.255.69 * Luxembourg Resolver #1: 107.189.0.68 * Luxembourg Resolver #2: 107.189.0.69 == Example configuration for Debian in Las Vegas == auto eth0 iface eth0 inet static address 205.185.113.2 netmask 255.255.255.0 gateway 205.185.113.1 ===== IPv4 (Private) ===== * Netmask: 255.255.0.0 * Gateway: **Do not set a gateway** == Example configuration for Debian == auto eth1 iface eth1 inet static address YOUR_PRIVATE_IP_HERE netmask 255.255.0.0 ===== IPv6 ===== === Las Vegas === * Gateway: 2605:6400:2:fed5::1 * Netmask: /48 == Example configuration for Debian in Las Vegas == iface eth0 inet6 static address YOUR_IPV6_ADDRESS_HERE/48 netmask 48 gateway 2605:6400:2:fed5::1 === New Jersey === * Gateway: 2605:6400:1:fed5::1 * Netmask: /48 == Example configuration for Debian in New Jersey == iface eth0 inet6 static address YOUR_IPV6_ADDRESS_HERE/48 netmask 48 gateway 2605:6400:1:fed5::1 === Luxembourg === * Gateway: 2605:6400:3:fed5::1 * Netmask: /48 == Example configuration for Debian in Luxembourg == iface eth0 inet6 static address YOUR_IPV6_ADDRESS_HERE/48 netmask 48 gateway 2605:6400:3:fed5::1 ===== Poor Network Performance On Linux ===== If your virtual server has < 512MB RAM you'll likely suffer poor network performance due to strict default buffer sizes. To get around this please add the follow to your /etc/sysctl.conf <code> net.core.rmem_max=16777216 net.core.wmem_max=16777216 net.ipv4.tcp_rmem=4096 87380 16777216 net.ipv4.tcp_wmem=4096 65536 16777216 </code> Once you're done this be sure to ''sysctl -p'' to apply it. These settings will automatically apply during restarts so you shouldn't need to cron/script anything else.

networking.1418469065.txt.gz · Last modified: 2014/12/13 03:11 by Francisco Dias