LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


LinkBack Search this Thread
Old 12-29-2012, 08:24 AM   #1
LQ Newbie
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
loop back in a system with two network cards

We have a system which has two network cards, we set two ip addresses on these cards, and we want to set a loop back ip address on these network cards, we want to know if it is possible to do this? and if it is possible how can we do it?we use the following command but it seems that it doesn't work.

ip -4 addr add loopback_address/32 scope host dev lo

Old 12-29-2012, 09:02 AM   #2
Senior Member
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 3,985

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
as far as I know the loopback device looks like an interface, with the ip So in your case you will have 3 devices. The loopback device is used to make local connections, and there will be no real network traffic (on any real interfaces).
So you cannot set loopback address on a real network cards I think. Why do you need it? What do you want to achieve at all?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No wifi or ethernet - Back Box 2.5 dist, w/ Atheros & Realtek network cards WyattEarp1 Linux - Newbie 34 10-06-2012 11:04 AM
I cannot detect RealTek network cards in Acer Power Series System Redhat Linux EV 4.0 R. R. Siva Kiran Linux - Hardware 1 10-16-2007 11:34 PM
What is a loop back device? kd7edh Linux - General 1 01-17-2006 07:19 PM
System is hanging at :BRinging up loop back interface" svyshna Linux - General 1 09-21-2003 06:54 PM
Loop back Interface siddiqu Linux - Networking 2 11-17-2001 08:34 PM

All times are GMT -5. The time now is 05:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration