Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
无线网卡多IP设置
Experiences and Insight
1035
views ·
2
replies ·
To
floor
Go
xiaolizipier
deepin
2015-04-02 01:26
Author
使用360wifi2代网卡,在控制中心的网卡设置里只能手动设置1个ip。我的需求是,在无线网卡下设置192.168.20.1/24和192.168.1.1/24两个ip。问了谷老师,都是说修改/etc/sysconfig/network-scripts/ifcfg-ethx,deepin linux 2014下没有。
Reply
Like 0
Favorite
View the author
All Replies
oaker
deepin
2015-04-02 01:34
#1
你直接给 fasheng 发短信吧。他是负责网络这块的,只有他才可能解答。
Reply
Like 0
View the author
Feng Yu
deepin
2015-04-03 01:38
#2
绑定多ip这个是网卡本身就有的功能。linux是通过子接口实现的。你找的资料是RH系的操作系统(RHEL,CentOS,Fedora...)的网卡配置文件(实际是NetworkManager这个服务的配置脚本)。如果要google,应该增加关键字"ubuntu"进行搜索
比如:http://askubuntu.com/questions/313877/how-do-i-add-an-additional-ip-address-to-etc-network-interfaces
原理都是一样的,都是增加一个eth0:0这样的子接口(类似的技术在cisco路由器/交换机已经很早就实现了),像普通网卡一样绑定一个ip即可
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
the Network section no longer appears
Error during system installation
Deepin IDE?
Music player with sample rate and bit depth
Popular Events
More