全球主机交流论坛

标题: colocrossing杜甫怎么绑定多ip [打印本页]

作者: 333    时间: 2023-12-12 10:26
标题: colocrossing杜甫怎么绑定多ip
debian 11系统

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
auto eno1
auto eno1:1
allow-hotplug eno1:1
auto eno1:2
allow-hotplug eno1:2

iface lo inet loopback

# The primary network interface
allow-hotplug eno1
iface eno1 inet static
        address 192.88.88.88/30
        gateway 192.88.88.87
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 8.8.8.8
        dns-search colocrossing.com


iface eno1:1 inet static
        address 172.88.88.88/29
        dns-nameservers 8.8.8.8

iface eno1:2 inet static
        address 172.88.88.88/29
        dns-nameservers 8.8.8.8

作者: 892093452    时间: 2023-12-12 10:30
你加ip了?
作者: 不知道    时间: 2023-12-12 10:31
请检查配置是否正确。
作者: jessegold    时间: 2023-12-12 10:32
之前我买独服让机房的人给我配置收了我20刀。
结果后面发现,他就是一个C段的ip,弄了253条硬加上去的。一条一条手工加。我也是醉了。还以为会有什么高明的策略配置了
作者: 闻风听雨    时间: 2023-12-12 10:35
GPT的答案,往后加就是了
  1. # This file describes the network interfaces available on your system
  2. # and how to activate them. For more information, see interfaces(5).

  3. source /etc/network/interfaces.d/*

  4. # The loopback network interface
  5. auto lo
  6. auto eno1
  7. auto eno1:1
  8. allow-hotplug eno1:1
  9. auto eno1:2
  10. allow-hotplug eno1:2

  11. iface lo inet loopback

  12. # The primary network interface
  13. allow-hotplug eno1
  14. iface eno1 inet static
  15.         address 192.88.88.88/30
  16.         gateway 192.88.88.87
  17.         # dns-* options are implemented by the resolvconf package, if installed
  18.         dns-nameservers 8.8.8.8
  19.         dns-search colocrossing.com

  20. iface eno1:1 inet static
  21.         address 172.88.88.88/29
  22.         dns-nameservers 8.8.8.8

  23. iface eno1:2 inet static
  24.         address 192.88.88.89/30
  25.         dns-nameservers 8.8.8.8

  26. iface eno1:3 inet static
  27.         address 192.88.88.90/30
  28.         dns-nameservers 8.8.8.8
复制代码

作者: 333    时间: 2023-12-12 10:35
jessegold 发表于 2023-12-12 10:32
之前我买独服让机房的人给我配置收了我20刀。
结果后面发现,他就是一个C段的ip,弄了253条硬加上去的。一 ...


作者: llyy    时间: 2023-12-12 10:35
只有1个可用ip呢
作者: 闻风听雨    时间: 2023-12-12 10:36
jessegold 发表于 2023-12-12 10:32
之前我买独服让机房的人给我配置收了我20刀。
结果后面发现,他就是一个C段的ip,弄了253条硬加上去的。一 ...

一个C段写脚本就好了真手动要么s b要么摸鱼
作者: cicvc    时间: 2023-12-12 10:37
centos比较方便,可以写
ADDRESS=
ADDRESS1=
ADDRESS2=
作者: 333    时间: 2023-12-12 10:37
892093452 发表于 2023-12-12 10:30
你加ip了?

加了,但是这样配置不生效
作者: charm    时间: 2023-12-12 10:43
加ip多少钱
作者: fzaas    时间: 2023-12-12 10:46
mark虽然没了。
作者: hxc    时间: 2023-12-12 10:53
怎么添加的,不会这个
作者: 333    时间: 2023-12-12 11:22
/29的最后一个ip不能用
作者: 333    时间: 2023-12-12 11:25
/32 这样8个ip都可用用了
作者: 333    时间: 2023-12-12 11:27
charm 发表于 2023-12-12 10:43
加ip多少钱

不到1刀
作者: 零维    时间: 2023-12-12 18:12
333 发表于 2023-12-12 11:27
不到1刀

不到1刀一年每个ip吗?还是每个月?
作者: yin007007    时间: 2023-12-12 18:54
20刀是一次收费? 我之前问是1ip/1刀/月
作者: a141420    时间: 2023-12-12 19:25
回答一下我,是20刀人工费,然后1个ip1刀每月是吗




欢迎光临 全球主机交流论坛 (https://loc.442266.xyz/) Powered by Discuz! X3.4