Re: stretch的一个 networking 配置的问题
Shell Xu <[email protected]> Mon, 3 Jul 2017 19:25:07 +0800
| Newsgroups | gmane.linux.debian.user.chinese.gb,gmane.linux.debian.user.chinese.big5 |
|---|---|
| Message-ID | <CADexTbxFg+OU9WjrKVqrMCOwYVWX0BYdnOH_oK5ho7KBsHONHg@mail.gmail.com> |
我不知道。但是我的默认做法是先ifdown,修改地址,再ifup。因为ifdown的时候会按照你的设定去cleanup,但是你这时设定的地址已经是1.1.1.2了吧。。。 2017-07-03 9:10 GMT+08:00 luohua lis <[email protected]>: > 在 /etc/network/interfaceing 下配置IP为1.1.1.1 > > 之后重启服务,成功配置IP > > 再修改 该文件并将地址修改为 1.1.1.2 > > 之后再重启服务,发现 1.1.1.2 变成了 second 地址,原来的 1.1.1.1也并没有消失 > > 这是bug,还是新版本的特性 > > -- 彼節者有間,而刀刃者無厚;以無厚入有間,恢恢乎其於游刃必有餘地矣。 blog: http://shell909090.org/ twitter: @shell909090 <https://twitter.com/shell909090> about.me: http://about.me/shell909090