[Beowulf] How to judge whether an ip address is local or not
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Gerry Creager gerry.creager at tamu.eduMon Aug 15 13:26:23 PDT 2005
- Previous message: [Beowulf] How to judge whether an ip address is local or not
- Next message: [Beowulf] Can't the switch sense the death of the machine in Trunking?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mark Hahn wrote: >>> I need to judge whether an ip address is local in kernel state. >>> Can anyone help me? >>> Great appreciation to any apply. >> >>What do you mean by "local"? There are all sorts of ways to learn all >>sorts of pieces of information about ip addresses and network > > > I thought the query was really "how can I tell if an IP is local, > xor if it requires going through a router". I have no idea what > the reference to "kernel state" means - obviously the kernel uses > the same sequence of increasingly specific routes to determine how > to handle a packet. the routes are not privileged (/sbin/ip route show > works fine as a normal user) I hope this doesn't add to the confusion already here; I, too, don't understand the reference to 'local in kernel state'. Are you specifically referring to 127.0.0.0/8? Otherwise, if the bridging table resolves the MAC address and doesn't resort to sending a responding packet to the routing table for resolution, it's local. Gerry -- Gerry Creager -- gerry.creager at tamu.edu Texas Mesonet -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Pager: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843
- Previous message: [Beowulf] How to judge whether an ip address is local or not
- Next message: [Beowulf] Can't the switch sense the death of the machine in Trunking?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
