admin管理员组

文章数量:1530884

腾讯云的规定是一个账号一个地区只能有20个公网IP:

1)点击实例名

2)添加辅助网卡

3)绑定弹性公网ip

4)为辅助网卡绑定安全组

5)修改网卡配置文件

 
  1. ### 复制eth0的网卡文件 ###

  2. [root@VM_1_62_centos ~]# cp /etc/sysconfig/network-scripts/ifcfg-eth{0,1}

  3. ### 修改eth1文件 ###

  4. [root@VM_1_62_centos ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth1

  5. # Created by cloud-init on instance boot automatically, do not edit.

  6. #

  7. #第一张网卡信息

  8. # Created by cloud-init on instance boot automatically, do not edit.

  9. #

  10. BOOTPROTO=static

  11. DEVICE=eth0

  12. HWADDR=52:54:00:88:ed:94

  13. # 配置主ip

  14. IPADDR=172.18.1.10

  15. # # # # 配置辅助ip1

  16. IPADDR1=172.18.1.11

  17. # # # 配置辅助iP2

  18. IPADDR2=172.18.1.12

  19. IPADDR3=172.18.1.13

  20. IPADDR4=172.18.1.14

  21. IPADDR5=172.18.1.15

  22. IPADDR6=172.18.1.16

  23. IPADDR7=172.18.1.17

  24. IPADDR8=172.18.1.18

  25. IPADDR9=172.18.1.19

  26. # # # 配置子网掩码

  27. NETMASK=255.255.255.0

  28. # #

  29. # #

  30. # # # # 配置网关

  31. GATEWAY=172.18.1.1

  32. NM_CONTROLLED=no

本文标签: 腾讯代理服务器过程详细