Openstack 之 网络设置静态IP地址
发布日期:2025-04-29 05:31:23
浏览次数:15
分类:精选文章
本文共 985 字,大约阅读时间需要 3 分钟。
Openstack Ocata?????????
?????Openstack Ocata????IP???????????????????????????????????
1. ??????
?Ocata???????????????????????????????????
ip addr show eth0
?????
3: eth0:mtu 1500 qdisc 0:0 qr 1000 at 0:0 link/ether xx:xx:xx:xx:xx:xx brd xx:xx:xx:xx:xx:xx inet 192.168.1.101/24 brd 192.168.1.255 scope global eth0 inet6 ... ::1 scope host inet6 ... ::254 scope global eth0
2. ??????
?????????
nano /etc/network/interfaces
???????
interface eth0 address 192.168.1.101/24 netmask 255.255.255.0 up
3. IP????
??ping?????????
ping 192.168.1.101
????
192.168.1.101 is alive
???????????ssh???
ssh cirros@192.168.1.101
4. ??????
?????????????????????????????
# ????IPopenstack port set --name cirros-1 --no-fixed-ip --fixed-ip ip-address=192.168.170.181 subnet=19b1397a-1150-495f-a423-fe0b104602d8 7e475b34-7ae8-41dd-be10-7079f973926c
5. ????
- ????IP?????????????????
- ???????????????
- ????IP????????IP??????????
??????????????Openstack Ocata?????????????????????
发表评论
最新留言
第一次来,支持一个
[***.219.124.196]2026年06月22日 01时30分24秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
php知识点记录
2023-03-01
PHP第三方登录—OAuth2.0协议
2023-03-01
php筛选js,php如何多条件筛选js代码
2023-03-01
R730服务器做了raid的硬盘,插在R720上面可以用吗?
2023-03-01
PHP类数组式访问(ArrayAccess接口)
2023-03-01
PHP系列:浅谈PHP中isset()和empty() 函数的区别
2023-03-01
PHP索引数组unset的坑-array_values解决方案
2023-03-01
PHP索引数组排序方法整理(冒泡、选择、插入、快速)
2023-03-01
PHP线程安全和非线程安全
2023-03-01
R3LIVE开源项目常见问题解决方案
2023-03-01
php缃戠珯,www.wfzwz.com
2023-03-01
php缓存查询函数
2023-03-01
php编写TCP服务端和客户端程序
2023-03-01
php编码规范
2023-03-01
PHP编码规范-PSR1、psr2 /psr3 psr4
2023-03-01
PHP编程效率的20个要点
2023-03-01
PHP网页缓存技术优点及代码
2023-03-01
PHP自动化测试(一)make test 和 phpt
2023-03-01
php自定义函数: 文件大小转换成智能形式
2023-03-01