可以有多个IP。

问一下,你应该重启networking 服务了吧?
ifconfig -a 显示什么?

2010/9/27 Upsuper <[email protected]>:
> 本来一个网卡同时就只能有一个IP吧......难道我out了?
>
> 2010/9/27 jack.feng.冯国瑞 <[email protected]>
>
>> 先把/etc/NetworkManager/nm-system-settings.conf的managed改为true
>>
>> 之后写/etc/network/interfaces
>>
>> auto lo
>> iface lo inet loopback
>>
>>
>> auto eth0
>> iface eth0 inet static
>> address 192.168.0.200
>> netmask 255.255.255.0
>> #network 192.168.0.0
>> #broadcast 192.168.0.255
>> gateway 192.168.0.254
>>
>>
>> auto eth0:0
>> iface eth0:0 inet static
>> address 192.168.0.201
>> netmask 255.255.255.0
>> #network 192.168.0.0
>> #broadcast 192.168.0.255
>> #gateway 192.168.0.254
>>
>>
>> auto eth0:1
>> iface eth0:1 inet static
>> address 192.168.0.202
>> netmask 255.255.255.0
>> #network 192.168.0.0
>> #broadcast 192.168.0.255
>> #gateway 192.168.0.254
>>
>>
>> auto eth0:3
>> iface eth0:3 inet static
>> address 192.168.0.203
>> netmask 255.255.255.0
>> #network 192.168.0.0
>> #broadcast 192.168.0.255
>> #gateway 192.168.0.254
>>
>>
>> auto eth0:4
>> iface eth0:4 inet static
>> address 192.168.0.204
>> netmask 255.255.255.0
>> #network 192.168.0.0
>> #broadcast 192.168.0.255
>> #gateway 192.168.0.254
>>
>> 怎么改都是只有最后一个IP有效
>> $ ifconfig
>> eth0      Link encap:以太网  硬件地址 00:16:e6:57:dd:98
>>          inet 地址:192.168.0.204  广播:192.168.0.255  掩码:255.255.255.0
>>          inet6 地址: fe80::216:e6ff:fe57:dd98/64 Scope:Link
>>          UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1
>>          接收数据包:724 错误:0 丢弃:0 过载:0 帧数:0
>>          发送数据包:484 错误:0 丢弃:0 过载:0 载波:0
>>          碰撞:0 发送队列长度:1000
>>          接收字节:83738 (83.7 KB)  发送字节:64684 (64.6 KB)
>>          中断:21
>>
>> lo        Link encap:本地环回
>>          inet 地址:127.0.0.1  掩码:255.0.0.0
>>          inet6 地址: ::1/128 Scope:Host
>>          UP LOOPBACK RUNNING  MTU:16436  跃点数:1
>>          接收数据包:552 错误:0 丢弃:0 过载:0 帧数:0
>>          发送数据包:552 错误:0 丢弃:0 过载:0 载波:0
>>          碰撞:0 发送队列长度:0
>>          接收字节:43892 (43.8 KB)  发送字节:43892 (43.8 KB)
>>
>> 大家帮忙看看哪里有问题,谢谢
>>
>>
>>
>> 2010/9/26 Upsuper <[email protected]>
>>
>> > 但是google group没法和现在的论坛结合啊......
>> >
>> > 2010/9/26 jiahui zhang <[email protected]>
>> >
>> > > google group 就是这样的
>> > >
>> > > 在 2010年9月25日 下午11:07,连高欣 <[email protected]>写道:
>> > >
>> > > > 同意
>> > > >
>> > > > 在 2010年9月25日 下午10:59,Upsuper <[email protected]>写道:
>> > > >
>> > > > >
>> > >
>> 话说我有个建议,能不能设置一个机制将论坛上的某个帖子和邮件列表上的某个主题关联起来,然后论坛有回复自动进入邮件列表,邮件列表有回复自动进入论坛?
>> > > > > 这样可以很好的整合各个交流平台,更方便~
>> > > > >
>> > > > > 2010/9/25 Ray Wang <[email protected]>
>> > > > >
>> > > > > > 看来好多人都想安排在周日,Eleanor 看看能不能协调一下到周日?
>> > > > > >
>> > > > > > 2010/9/25 tong hui <[email protected]>:
>> > > > > > > 上次release party不是在俄罗斯餐厅举行的么,这次还在那吧,感觉不错
>> > > > > > > 有吃有喝
>> > > > > > >
>> > > > > > > --------------------------------------------------------------
>> > > > > > > |    佟辉 Tong Hui     Linus Tong                |
>> > > > > > > |                                                             |
>> > > > > > > |              自由开放的大胖子情圣              |
>> > > > > > > |            http://tonghuix.cublog.cn             |
>> > > > > > > |__________________________________ |
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > > 在 2010年9月25日 下午10:23,柳东原 <[email protected]>写道:
>> > > > > > >
>> > > > > > >> 不得不吼一声...强烈希望改成周日...
>> > > > > > >>
>> > > > > > >> 因为我们周六要上课= = 于是四个人都去不了~虽然这不太可能改吧,但还是说一声,因为还是很想去的。
>> > > > > > >>
>> > > > > > >> 谢谢。
>> > > > > > >>
>> > > > > > >> 在 2010年9月22日 下午11:54,Eleanor Chen <[email protected]>写道:
>> > > > > > >>
>> > > > > > >> > 大家好!
>> > > > > > >> >
>> > > > > > >> > 由于时差的问题,Ubuntu 10.10 Release Party 初步定于10月16日举行。
>> > > > > > >> > 大家讨论一下本次聚会中的一些问题吧:
>> > > > > > >> >
>> > > > > > >> > 最重要的:场地选在哪里? 要求是有电,有wifi,有投影仪。
>> > > > > > >> >
>> > > > > > >> > 还有:
>> > > > > > >> >
>> > > > > > >> > 1. 搞些什么活动?
>> > > > > > >> > 2. 需要什么奖品?
>> > > > > > >> >
>> > > > > > >> > 希望大家能够积极参与讨论。
>> > > > > > >> > 谢谢!
>> > > > > > >> >
>> > > > > > >> > Regards,
>> > > > > > >> > Eleanor Chen
>> > > > > > >> > -------------- 涓�涓���ㄥ�� --------------
>> > > > > > >> > 一个HTML附件被移除...
>> > > > > > >> > URL:
>> > > > > > >> >
>> > > > > > >>
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100922/990c9978/attachment.htm
>> > > > > > >> >
>> > > > > > >> > --
>> > > > > > >> > ubuntu-zh mailing list
>> > > > > > >> > [email protected]
>> > > > > > >> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> -------------- 下一部分 --------------
>> > > > > > >> 一个HTML附件被移除...
>> > > > > > >> URL:
>> > > > > > >>
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100925/6f9d4e5f/attachment.htm
>> > > > > > >> --
>> > > > > > >> ubuntu-zh mailing list
>> > > > > > >> [email protected]
>> > > > > > >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > > > > >>
>> > > > > > > -------------- 下一部分 --------------
>> > > > > > > 一个HTML附件被移除...
>> > > > > > > URL:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100925/34ca7d0e/attachment.htm
>> > > > > > > --
>> > > > > > > ubuntu-zh mailing list
>> > > > > > > [email protected]
>> > > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > > Ray Wang
>> > > > > >  - Follow your dreams
>> > > > > >
>> > > > > > --
>> > > > > > ubuntu-zh mailing list
>> > > > > > [email protected]
>> > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > > > >
>> > > > > >
>> > > > > -------------- 下一部分 --------------
>> > > > > 一个HTML附件被移除...
>> > > > > URL:
>> > > > >
>> > > >
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100925/36ec5adf/attachment.htm
>> > > > > --
>> > > > > ubuntu-zh mailing list
>> > > > > [email protected]
>> > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > > >
>> > > > -------------- 涓�涓���ㄥ�� --------------
>> > > > 一个HTML附件被移除...
>> > > > URL:
>> > > >
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100925/bba79567/attachment.htm
>> > > >
>> > > > --
>> > > > ubuntu-zh mailing list
>> > > > [email protected]
>> > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > >
>> > > >
>> > > -------------- 涓�涓���ㄥ�� --------------
>> > > 一个HTML附件被移除...
>> > > URL:
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100926/b8d3b2e5/attachment.htm
>> > >
>> > > --
>> > > ubuntu-zh mailing list
>> > > [email protected]
>> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > >
>> > >
>> > -------------- 下一部分 --------------
>> > 一个HTML附件被移除...
>> > URL:
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100926/8c7e609e/attachment.htm
>> > --
>> > ubuntu-zh mailing list
>> > [email protected]
>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> >
>> -------------- 涓�涓���ㄥ�� --------------
>> 一个HTML附件被移除...
>> URL:
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100927/04367fd0/attachment.htm
>>
>> --
>> ubuntu-zh mailing list
>> [email protected]
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
>>
> -------------- 下一部分 --------------
> 一个HTML附件被移除...
> URL: 
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100927/b16fc363/attachment.htm
> --
> ubuntu-zh mailing list
> [email protected]
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>



-- 
Ray Wang
  - Follow your dreams

-- 
ubuntu-zh mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

回复