LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-15-2005, 12:31 PM   #1
theneb
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
Loopback Interface in a router


I'm an intermediate admin running some game servers at my Uni for our computer society, it's been noted by the halls of residence network admin that we've got unecessary traffic clogging up our uplink and that an introduction of a correctly configured loopback interface would solve the problem.
The router for our machines is running on SmoothWall 2.0.
Here's the current settings:
(where eth0 is the local interface & eth1 is the external interface)

#ifconfig
eth0 Link encap:Ethernet HWaddr 00:50A:83A:86
inet addr:160.5.200.65 Bcast:160.5.200.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28292343 errors:0 dropped:0 overruns:43 frame:0
TX packets:25559995 errors:0 dropped:0 overruns:0 carrier:42
collisions:0 txqueuelen:1000
RX bytes:4232957961 (4036.8 Mb) TX bytes:2140604582 (2041.4 Mb)
Interrupt:11 Base address:0x1000

eth1 Link encap:Ethernet HWaddr 00:50A:838:B4
inet addr:160.5.200.30 Bcast:160.5.200.63 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27452278 errors:0 dropped:0 overruns:0 frame:0
TX packets:28245901 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2272395705 (2167.1 Mb) TX bytes:4232003988 (4035.9 Mb)
Interrupt:10 Base address:0x1080

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3378 errors:0 dropped:0 overruns:0 frame:0
TX packets:3378 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:432298 (422.1 Kb) TX bytes:432298 (422.1 Kb)


# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
160.5.200.64 * 255.255.255.192 U 0 0 0 eth0
160.5.200.0 * 255.255.255.192 U 0 0 0 eth1
default rix2-vlan732.ne 0.0.0.0 UG 0 0 0 eth1


I know how to add a loopback interface, my question is to what interface am I to add it and any other settings?

Cheers
 
Old 01-16-2005, 02:03 AM   #2
BinaryBob
Member
 
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
lo, is the loop back interface, and you wouldn't apply it another one, becasue it itself is a virtual interface... Maybe explain the functionality you are attempting to achieve?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Truecrypt problem. No available loopback interface white scorpion Linux - Security 4 11-28-2005 07:33 AM
Using loopback interface... ozymandias Linux - Newbie 2 10-28-2005 01:37 PM
Localhost - loopback interface mask change the_reen Linux - Networking 1 07-21-2004 09:42 AM
error on boot up: Bringing up loopback interface glorygirl Linux - Networking 2 01-18-2004 10:11 PM
Bringing up loopback interface pollycat Linux - Networking 49 09-07-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:50 AM.

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