小编Lev*_*han的帖子

How to add a loopback interface?

I want to add two more loopback interfaces.

I used the following command:

ifconfig lo: 127.0.0.2 netmask 255.0.0.0 up
Run Code Online (Sandbox Code Playgroud)

and type in ifconfig, i can see the loopback address was added.

But if i want to add one more interface... (for example 127.0.0.3) the previous interface (127.0.0.2) was overwritten.

Also when i look in /etc/network/interfaces i see no entry.

How can i add multiple loopback interfaces permanently?

networking 12.04

28
推荐指数
3
解决办法
11万
查看次数

标签 统计

12.04 ×1

networking ×1