Loopback Interface

General support questions
thanhmy
Posts: 1
Joined: 2017/10/15 18:54:14
Contact:

Loopback Interface

Postby thanhmy » 2017/10/15 18:56:04

Hi all,

Can I create a new loopback interface (lo1, lo2, lo3....etc) in CentOS6. NOT a sub-interface (lo:0, lo:1...etc). I want to assign difference IP for each loopback interface. Sometime I need to shutdown one special IP (interface). I don't want to effect another loopback interface.

Please advise.
Myca
Dich vu giup viec nha uy tin - giúp việc nhà quận 11

User avatar
jlehtone
Posts: 1879
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Loopback Interface

Postby jlehtone » 2017/10/16 05:01:36

Loopback is special. Loopback must always be there. There is exactly one lo.

If you want to stop a regular interface manually, for example eth1:

Code: Select all

ifdown eth1