Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
单网卡双IP
Experiences and Insight
348
views ·
0
replies ·
To
floor
Go
兴安
deepin
2019-10-14 04:51
Author
本帖最后由 sllkff 于 2019-10-13 20:53 编辑
前2天处理局域网故障,需要ping2个IP段地址,上网查了下如何设置双IP
方法一:双IP同时存在
ifconfig #查看网卡设备名称为eno1
sudo ifconfig eno1:1 10.0.13.127 netmask 255.255.255.0 up #填加虚拟网卡eno1:1
sudo ifconfig eno1:1 10.0.13.127 netmask 255.255.255.0 down #取消虚拟网卡eno1:1
还可以填加虚拟网卡2/3.....
方法二:在控制中心里"有限网络"里选择"添加设置"再填加一个IP,设置列表就有2个名称了.需要那个IP段,自己选择就可以了.见图
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
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
What is the purpose of UOS AI?
Cannot upgrade "Deepin 25.0.10"
chrome browser
Feature Request: Adding an option for a "Floating Dock" mode in DDE
[Feature Request] Drop-down grid panel for window snap layouts
Popular Events
More
前2天处理局域网故障,需要ping2个IP段地址,上网查了下如何设置双IP
方法一:双IP同时存在
ifconfig #查看网卡设备名称为eno1
sudo ifconfig eno1:1 10.0.13.127 netmask 255.255.255.0 up #填加虚拟网卡eno1:1
sudo ifconfig eno1:1 10.0.13.127 netmask 255.255.255.0 down #取消虚拟网卡eno1:1
还可以填加虚拟网卡2/3.....
方法二:在控制中心里"有限网络"里选择"添加设置"再填加一个IP,设置列表就有2个名称了.需要那个IP段,自己选择就可以了.见图