[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RE: Re: [cobalt-users] Network Usage by ip
- Subject: RE: RE: Re: [cobalt-users] Network Usage by ip
- From: "Rick Ewart" <cobalt@xxxxxxxxx>
- Date: Sun Jul 6 18:01:03 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> So this means it would not actually be bandwidth leaving the
> computer/network? Sorry to beat a dead horse, but I have to
> be sure. My provider is saying i used huge amounts of
> bandwidth, but most of it is on the localhost ip. Is there
> anyway I can prove/verify that this is the case?
Well Travis,
Ips are bound to an interface. 127.0.0.1 binds to the interface called
lo, as opposed to a public IP which is generally bound on eth0 or eth1.
Thus, traffic going to to 127.0.0.1 goes to the loopback interface, NOT
to an ethernet interface (or other interface such as serial one or
whatever).
You can verify your 127.0.0.1 is bound to the local interface (loopback
interface) by issuing the ifconfig command at a command prompt. You
should see an eth0, eth1 (if you have 2 ethernet jacks on your box) and
an lo. If you have multiple Ips on your box, you will probably see
eth0:0, eth0:1, eth0:2, etc. for each IP that is bound to it.
So long as 127.0.0.1 is actually bound to the lo interface (not sure its
even possible to be otherwise), you can disregard that traffic. Just
like one ethernet jack would not see the traffic going in/out a second
jack on the same box, the eth jacks don't see traffic on lo. Similarly,
your provider does not see this traffic either.
So, if you have a discrepancy between what they say and what you say,
you must consider all the angles. For example, does your "meter" sit
behind the firewall (i.e. ipchains) and not see anything that is
blocked, or not see broadcast traffic? Both of these would be traffic on
your port that your machine would not necessarily process.
Good luck.
Rick