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:50
A:83
A: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:50
A:83
8: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