Sponsored Content
Full Discussion: Get Mac Address
Top Forums Programming Get Mac Address Post 19684 by ss_hpov on Monday 15th of April 2002 02:25:01 PM
Old 04-15-2002
Get Mac Address

Smilie
Hi
I am trying to get Mac address of of my Sun server from my C program running on the host machine.
Any suggestions .
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mac address

Hi Can some one help me How do find out Mac address in Tru64 Unix Thank you (1 Reply)
Discussion started by: Syed_45
1 Replies

2. IP Networking

How to Achive IP address through MAC(Ethernet) address

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. IP Networking

changing MAC address

hi, i wanted to know how to change the MAC id of the machine i`m using.. I know the MAC is permanent n on the ROM, but i wanted to know if there was any way to change it during tht particular session.. also.. if it was possible.. could it be kept changed for sometime...? (8 Replies)
Discussion started by: caltiger
8 Replies

4. Solaris

Host ID vs MAC Address

Hi, I've got a Sun Solaris machine with host ID (840f8e57) and MAC address (0:14:4f:f:8e:57), how do I: 1. Write the MAC address in standard (IEEE 802) format, i.e. xx-xx-xx-xx-xx-xx? Do I need to add 0's before or after the 'f', i.e. 00-14-4f-0f-8e-57 or 00-14-4f-f0-8e-57? 2. What is... (4 Replies)
Discussion started by: TheBlueSky
4 Replies

5. Programming

SCO get MAC Address

Does anyone know how to get the mac address of a SCO box using c. (11 Replies)
Discussion started by: jcarter2333
11 Replies

6. Solaris

Get ip address from mac address

I have following message in my messages file on solaris 10 WARNING: e1000g3712000:3 has duplicate address 010.022.196.011 (in use by 00:50:56:85:25:ef); disabled Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Discussion started by: fugitive
6 Replies

7. SCO

MAC address

hi every one please help i want to change mac address in sco unix 5.0.6 how can i do this (3 Replies)
Discussion started by: kaydream
3 Replies

8. IP Networking

Tracing a MAC address to IP address: Solaris

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

9. Red Hat

No Mac address present,

I have installed RHEL 6 in my new system. My sytem is physically also connected with network, but after successfully installing it is not detecting the network. I checked, there is no /etc/sysconfig/network file present in my system. I manually created /etc/sysconfig/network file. The problem I... (5 Replies)
Discussion started by: Ankur Goyal
5 Replies

10. IP Networking

MAC Address - Four Interfaces with the same MAC Address

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
scconf_quorum_dev_quorum_server(1M)			  System Administration Commands		       scconf_quorum_dev_quorum_server(1M)

NAME
scconf_quorum_dev_quorum_server - add, remove, and configure a quorum server type of quorum device. SYNOPSIS
scconf [-q quorum-options] DESCRIPTION
Note - Beginning with the Sun Cluster 3.2 release, Sun Cluster software includes an object-oriented command set. Although Sun Cluster software still supports the original command set, Sun Cluster procedural documentation uses only the object-oriented command set. For more infor- mation about the object-oriented command set, see the Intro(1CL) man page. Sun Cluster provides the option of configuring a quorum server as a quorum device. This configuration information consists of a device name that must be unique across quorum devices, the address of the host machine on which the quorum server is running, and the port number on which the quorum server is listening for requests. If your cluster requires multiple quorum devices, configure multiple quorum servers or use storage devices for the additional quorum devices. A quorum server can act as only one quorum device for a cluster. To configure the cluster to use a quorum server, the quorum server software must be installed, configured, and running on a machine that is accessible to all cluster nodes. The quorum server itself must be configured and running when this command is run on a cluster node. See clquorumserver(1M) for information about configuring the quorum server. OPTIONS
The following parameters are required for configuring a quorum server type of quorum device. See scconf(1M) for the list of supported generic options. Use the add and remove forms of the command to add shared quorum devices to and remove shared quorum devices from the configuration file. Use the change form of the command to change various cluster quorum configuration properties or states. The following quorum server spe- cific options can be used to change the cluster quorum configuration: Add a Quorum Server Type of Quorum Device Before adding a quorum device: o The quorum server must be running on the quorum server host machine. o You must enter the quorum server host name in the /etc/inet/hosts file. o You must set the netmask for the quorum server host. For information about the hosts file and netmask requirements, see the procedure on adding quorum server quorum devices in the Sun Cluster System Administration Guide. Once the quorum device is added, none of the parameters can be changed. # scconf -q -a name=devicename,type=quorum_server,qshost=qhost,port=portnumber name=devicename The name of a quorum server. This name must be unique among all quorum devices in the system. type=quorum_server Indicates the type of disk device group to create. For a quorum server type of quorum device, the value of this parameter must be quo- rum_server. qhost=qhost The hostname of the machine on the network that can be reached by all cluster nodes and that is running the quorum server. Depending on the IPv4 or IPv6 configuration of the host, this hostname must have an entry in the /etc/hosts file, the /etc/inet/ipnodes file, or both. port=portnumber The port on which the quorum server listens for requests. Note - If you need to change the port number of a quorum server while maintaining the same host name, remove the quorum device first, make your changes, then add the quorum device back. Change the Configuration Parameters of a Quorum Server Type Quorum Device # scconf -c -q name=devicename,maintstate | reset If other parameters such as qshost or port must be changed, add a new quorum device with the new parameters and remove the existing quorum device. Remove a Quorum Server Type of Quorum Device # scconf -q name=devicename When the scconf command is interrupted or fails while performing quorum-related operations, quorum configuration information can become inconsistent in the cluster configuration database. If this occurs, either run the same scconf command again or run the scconf command with the reset option to reset the quorum information. EXAMPLES
Example 1 Adding a Quorum Server Type of Quorum Device The following scconf command adds a quorum server quorum device with its port number configured as 9000. # scconf -q -a name=qd1,type=quorum_server,qshost=scclient1,port=9000 Example 2 Removing a Quorum Server Type of Quorum Device The following scconf command removes the quorum server quorum device named qd1. # scconf -r -q name=qd1 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsczu | +-----------------------------+-----------------------------+ |Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
Intro(1CL), clquorum(1CL), clquorumserver(1CL), cluster(1CL), scconf(1M), gateways(4), hosts(4) Sun Cluster 3.2 18 Jul 2006 scconf_quorum_dev_quorum_server(1M)
All times are GMT -4. The time now is 09:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy