Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
RESOLVED: netstat lists interface that is not present
Hi LQers,
I have been working with a RHEL5 box that some one else installed. They did not know what they were doing and so used the "kitchen sink install method", as I like to call it (i.e. if it can be installed, it was installed). Stuff like the xen kernel was installed (which I have no real experience with).
Now I am trying to troubleshoot why a network service we are developing isn't working correctly. netstat is displaying a connection which neither endpoint is part of the box. Any ideas why I might be seeing this? And how to fix it / make it go away?
The issue was apparently related to the network service. Grrrr.
Last edited by Hewson; 07-25-2008 at 12:06 PM.
Reason: problem was resovled
XEN installs about 10 VIFs and a bridge or two, but shouldn't affect networking for dom0 unless you customized it (e.g. turned on vlan tags or changed the interface of dom0). You can always just disable XEN and delete the VIFs/bridges.
It wasn't XEN related. After further investigation I found out that netstat trims long IP addresses so that column layout stays intact. '-T' turns this off. It was a simple PEBKAC problem.
Instead of displaying the whole IP address it was displaying only 2 of the 3 digits of the last octet. A glance at this output from netstat and I started thinking that I had a phantom interface. I then saw the same issue on other machines (which also had the same first 3 IPV4 octets, as well as, the same first 2 digits of the last octect for their IPs). At this point I started thinking that the developers bound their service to some fictitious address so that different processes of the same service could communicate (which, of course, isn't a very good idea...). Finally I realized netstat was trimming the columns so they would look pretty and by co-incidence the other machine's addresses where close enough to mine that I only further confused myself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.