02-03-2007
As I said, I'm working with old hardware. The algorithm has probably changed. It seems from you example that Sun is still using the last three octets of the MAC address but that the first two digits are generated differently.
The easiest way to get a server's hostID is to use the command hostid. Sometimes simple is better.
:-)
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
GEM(4) BSD Kernel Interfaces Manual GEM(4)
NAME
gem -- ERI/GEM/GMAC Ethernet device driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device miibus
device gem
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_gem_load="YES"
DESCRIPTION
The gem driver provides support for the GMAC Ethernet hardware found mostly in the last Apple PowerBooks G3s and most G4-based Apple hard-
ware, as well as Sun UltraSPARC machines.
All controllers supported by the gem driver have TCP checksum offload capability for both receive and transmit, support for the reception and
transmission of extended frames for vlan(4) and a 512-bit multicast hash filter.
HARDWARE
Chips supported by the gem driver include:
o Apple GMAC
o Sun ERI 10/100 Mbps Ethernet
o Sun GEM Gigabit Ethernet
The following add-on cards are known to work with the gem driver at this time:
o Sun Gigabit Ethernet PCI 2.0/3.0 (GBE/P) (part no. 501-4373)
o Sun Gigabit Ethernet SBus 2.0/3.0 (GBE/S) (part no. 501-4375)
NOTES
On sparc64 the gem driver respects the local-mac-address? system configuration variable which can be set in the Open Firmware boot monitor
using the setenv command or by eeprom(8). If set to ``false'' (the default), the gem driver will use the system's default MAC address for
all of its devices. If set to ``true'', the unique MAC address of each interface is used if present rather than the system's default MAC
address.
Supported interfaces having their own MAC address include the on-board Sun ERI 10/100 Mbps on boards equipped with more than one Ethernet
interface and the Sun Gigabit Ethernet 2.0/3.0 GBE add-on cards.
SEE ALSO
altq(4), miibus(4), netintro(4), vlan(4), eeprom(8), ifconfig(8)
HISTORY
The gem device driver appeared in NetBSD 1.6. The first FreeBSD version to include it was FreeBSD 5.0.
AUTHORS
The gem driver was written for NetBSD by Eduardo Horvath <eeh@NetBSD.org>. It was ported to FreeBSD by Thomas Moestl <tmm@FreeBSD.org> and
later on improved by Marius Strobl <marius@FreeBSD.org>. The man page was written by Thomas Klausner <wiz@NetBSD.org>.
BSD December 25, 2009 BSD