折腾笔记
这是一个瞎扯淡的博客

Vultr Private Network Setting

The control panel will assign you an IP address, you should replace ‘10.99.0.200’ in the examples with that IP. Additional examples can be seen on a per-VM basis in the control panel, under the VM’s IPv4 settings.


CentOS / RHEL

Replace /etc/sysconfig/network-scripts/ifcfg-eth1 with the following:

DEVICE=eth1
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=10.99.0.200
NETMASK=255.255.0.0
IPV6INIT=no
    MTU=1450

Debian 7, Debian 8

In /etc/network/interfaces add the following lines:

auto eth1
iface eth1 inet static
    address 10.99.0.200
    netmask 255.255.0.0
            mtu 1450

Debian 9

In /etc/network/interfaces add the following lines:

auto ens7
iface ens7 inet static
    address 10.99.0.200
    netmask 255.255.0.0
    mtu 1450

Then run the command:
ifup ens7

赞(9)
未经允许不得转载:折腾笔记版权所属折腾笔记 » Vultr Private Network Setting
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址