简体   繁体   English

静态IP地址自动更改为CC机(桉树云)的169.254.169.254

[英]static ip address changes automatically to 169.254.169.254 of cc machine (eucalyptus cloud)

I am using MANAGED-NOVLAN. 我正在使用MANAGED-NOVLAN。 I am using eucalyptus private cloud on centos 6.6 with one machine as CC and one machine as NC. 我在centos 6.6上使用桉树私有云,其中一台计算机作为CC,一台计算机作为NC。 instance start fine, public/private ip addresses are assigned correctly,but my cc machines ip automatically change to 169.254.169.254 after starting eucalyptus cloud services(cc, cloud and nc). 实例启动正常,公共/专用ip地址已正确分配,但是我的cc机器ip在启动桉树云服务(cc,cloud和nc)后自动更改为169.254.169.254。

configuration file for p4p1(on cc)- p4p1(cc上)的配置文件

ifcfg-p4p1:
DEVICE=p4p1
TYPE=Ethernet
UUID=93a6bed5-6597-4e83-bcb5-0125e3b4dc6a
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=192.168.1.121
PREFIX=24
GATEWAY=192.168.1.1
DNS1=192.168.1.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=p4p1
HWADDR=10:78:D2:54:8D:CE

The ip has not changed, but there are additional ip addresses. IP尚未更改,但是还有其他IP地址。

You can list all the ip addresses for the device using: 您可以使用以下命令列出设备的所有IP地址:

# ip addr list dev p4p1

which would show that there are multiple ip addresses for that device and that these change when launching/terminating instances in your cloud. 这将表明该设备有多个IP地址,并且在您的云中启动/终止实例时这些地址会更改。

找到多个IP地址后,您可以使用以下命令删除一个-

ip addr del 169.254.169.254/32 dev p4p1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM