01-26-2007
The hostid uniquely identifies a given server. It is often used for software licensing.
Traditionally, a Sun server hostid was based on the MAC address of the primary on-board network interface. All network interfaces have a unique MAC address and Sun Microsystem's all begin with 08:00:20:xx:xx:xx. By truncating leading zeros your would get 8:0:20:xx:xx:xx displayed by ifconfig(1M).
The hostid starts with "80" -- the first two octets of the MAC address -- followed by six hexadecimal characters representing the last three octets. Thus, a server with a MAC address of 08:00:20:0a:1b:2c would have a hostid of 800a1b2c.
I believe with the newer servers, this is all being done away with and is supported by a "system configuration card" allowing you to take all of this information from one server to another in the event of a major hardware failure.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am using Tru64UX 5.1a on alphaserver 4100.
Users access the application through Telnet sessions to this server.
My requirement is to limit the users login through their PCs only.
Is there any way I can accomplish this on the unix box ?
I want to include a script in the .profile ( or... (1 Reply)
Discussion started by: shauche
1 Replies
2. IP Networking
Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...
Thanks & regards
Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies
3. Programming
There's a piece in a C program I'm writing (Linux) that simply needs to take a host name and return an IP address (e.g., take 'mail.gnu.org' and return 199.232.76.166). I've gotten a successful status from getaddrinfo, but don't see any of the fields in the result structure that has what I'm... (7 Replies)
Discussion started by: cleopard
7 Replies
4. Solaris
Hi
How to get the IP address / Host name of a particular user connected to Unix Server.
For example: If used 'DevUser1' is connected to Unix server. I need to find out from which PC this connection has been made.
How can this be achieved?
Thanks (6 Replies)
Discussion started by: MVL
6 Replies
5. Solaris
Hi All,
In Ultra 10 at time system is not displaying value for Ethernet address and Host ID.
Also, when i am trying to change the value of environment variables i am getting below message and value is not changing
Thanks (4 Replies)
Discussion started by: kumarmani
4 Replies
6. Programming
I'm trying to write a function to get the host name of any given IP address.
I'm trying to follow this manual but I'm stuck. I'm using gcc and Linux. Any ideas?
getnameinfo()
#include <stdio.h>
#include <netdb.h>
#include <sys/socket.h>
#include <arpa/inet.h>
char... (6 Replies)
Discussion started by: limmer
6 Replies
7. IP Networking
Hi there
I lost connectivity to one of our remote systems and when I checked the messages log I found the following:
Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s
Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1
Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies
8. Red Hat
Hello,
Greetings!!
I have a server with 3 TB of disk space and 12 GB RAM and a i7 processor.
What I did thus far is to install Oracle Enterprise Linux (OEL 5.7)as the host system and install Oracle Virtual box and created 3 VM's. Installed OEL 5.7 on one of the VM, working on installing... (1 Reply)
Discussion started by: rparavastu
1 Replies
9. IP Networking
hi,
i want to get the hostname for the specified IP address.
# host www.google.com
www.google.com has address 173.194.69.104
www.google.com has address 173.194.69.105
www.google.com has address 173.194.69.106
www.google.com has address 173.194.69.147
www.google.com has address... (3 Replies)
Discussion started by: kavitha rao
3 Replies
10. IP Networking
four interfaces with ifconfig
all interfaces have the same mac. If is not set for unique.
but it still works.
what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
LEARN ABOUT SUSE
arpwatch
ARPWATCH(8) System Manager's Manual ARPWATCH(8)
NAME
arpwatch - keep track of ethernet/ip address pairings
SYNOPSIS
arpwatch [ -dN ] [ -f datafile ] [ -i interface ]
[ -n net[/width ]] [ -r file ] [ -u username ] [ -e username ] [ -s username ]
DESCRIPTION
Arpwatch keeps track for MAC/IP address pairings. It syslogs activity and reports certain changes via email. Arpwatch uses pcap(3) to lis-
ten for arp packets on a local ethernet/tokenring/fddi interface.
The -d flag is used enable debugging. This also inhibits forking into the background and emailing the reports. Instead, they are sent to
stderr.
The -f flag is used to set the MAC/IP address database filename. The default is arp.dat.
The -i flag is used to override the default interface.
The -n flag specifies additional local networks. This can be useful to avoid "bogon" warnings when there is more than one network running
on the same wire. If the optional width is not specified, the default netmask for the network's class is used.
The -N flag disables reporting any bogons.
The -r flag is used to specify a savefile (perhaps created by tcpdump(1) or pcapture(1)) to read from instead of reading from the network.
In this case, arpwatch does not fork.
If -u flag is used, arpwatch drops root privileges and changes user ID to username and group ID to that of the primary group of username.
This is recommended for security reasons.
If the -e flag is used, arpwatch sends e-mail messages to username rather than the default (root). If a single `-' character is given for
the username, sending of e-mail is suppressed, but logging via syslog is still done as usual. (This can be useful during initial runs, to
collect data without being flooded with messages about new stations.)
If the -s flag is used, arpwatch sends e-mail messages with username as the return address, rather than the default (root).
Note that an empty arp.dat file must be created before the first time you run arpwatch. Also, the default directory (where arp.dat is
stored) must be owned by username if -u flag is used.
REPORT MESSAGES
Here's a quick list of the report messages generated by arpwatch(1) (and arpsnmp(1)):
new activity
This MAC/IP address pair has been used for the first time six months or more.
new station
The MAC address has not been seen before.
flip flop
The MAC address has changed from the most recently seen address to the second most recently seen address. (If either the old or new
MAC address is a DECnet address and it is less than 24 hours, the email version of the report is suppressed.)
changed MAC address
The host switched to a new MAC address.
SYSLOG MESSAGES
Here are some of the syslog messages; note that messages that are reported are also sysloged.
MAC broadcast
The MAC address of the host is a broadcast address.
ip broadcast
The ip address of the host is a broadcast address.
bogon The source ip address is not local to the local subnet.
MAC broadcast
The source MAC address was all ones or all zeros.
MAC mismatch
The source MAC address didn't match the address inside the arp packet.
reused old MAC address
The MAC address has changed from the most recently seen address to the third (or greater) least recently seen address. (This is
similar to a flip flop.)
suppressed DECnet flip flop
A "flip flop" report was suppressed because one of the two addresses was a DECnet address.
FILES
/usr/operator/arpwatch - default directory
arp.dat - MAC/IP address database
ethercodes.dat - vendor ethernet block list
SEE ALSO
arpsnmp(8), arp(8), bpf(4), tcpdump(1), pcapture(1), pcap(3)
AUTHORS
Craig Leres of the Lawrence Berkeley National Laboratory Network Research Group, University of California, Berkeley, CA.
The current version is available via anonymous ftp:
ftp://ftp.ee.lbl.gov/arpwatch.tar.gz
BUGS
Please send bug reports to arpwatch@ee.lbl.gov.
Attempts are made to suppress DECnet flip flops but they aren't always successful.
Most error messages are posted using syslog.
4th Berkeley Distribution 8 October 2000 ARPWATCH(8)