Sponsored Content
Full Discussion: NIC address
Top Forums Shell Programming and Scripting NIC address Post 302113616 by ghostdog74 on Saturday 7th of April 2007 10:32:08 PM
Old 04-07-2007
on my machine its done like this.
Code:
ifconfig -a |grep -i HWaddr | awk '{print $1,$5}'

 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Changing MAC address of a NIC

All, I have a need to software change the MAC address of a NIC in a Sparc Ultra 10 - I believe there is a command that allows to do this at boot up? Is it a missing (to me) part of ifconfig ? If so, what is the syntax? All replies gratefully received ! Thanks Andrew (3 Replies)
Discussion started by: wretch
3 Replies

2. IP Networking

Can i put 2 ip address in one nic?

I have a SCO OpenServer 5.0.5 and my cuestion is can i have 2 ip address in one nic?, how?. Thanks. (1 Reply)
Discussion started by: dvl
1 Replies

3. IP Networking

Binding Virtual IP address to NIC

Hi, I bound a virtual IP to a network card on my E450 server and I am getting this error when I reboot the server, saying, " retrying host, RPC time out. I had to break this sequence and allow other services to load. Of course they didn't load properly. Please how can I sort this out? I do need... (8 Replies)
Discussion started by: Ronny
8 Replies

4. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

5. IP Networking

squid proxy: one NIC for inbound & one NIC for outbound?

I am new in squid proxy. My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

6. Windows & DOS: Issues & Discussions

Windows 7: nic lost mac address

Anyone ever see the NIC get a mac of 00-00-00-00-00-00? Changing it in driver advanced tab didn't stick. Used macshift and gave it a random one. Best guess I had is it lost its eprom. It was an issues on my dads pc I stopped by after work so I wasn't able to boot a proper OS to further diagnose. ... (0 Replies)
Discussion started by: neutronscott
0 Replies

7. Red Hat

I want to tune NIC's rps, rfs and xps value. which NIC device should I modify.

Dear All I want tune my NIC's rps, rfs and xps value. In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1). Here is the question? Which device should I modify ? eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0) Any advice is welcome.... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

8. Linux

Add two different subnet public IPs to single NIC or two different NIC on same box

Hello Admins, My ask is how can I add two different subnet IPs to same box with two different gateways? The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware. How can I get connected... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
chxge(7D)							      Devices								 chxge(7D)

NAME
chxge - Chelsio Ethernet network interface controllers SYNOPSIS
/dev/chxge DESCRIPTION
The chxge Ethernet driver is a multi-threaded, loadable, clonable, STREAMS hardware driver supporting the connectionless Data Link Provider Interface, dlpi(7P), over Chelsio NIC controllers. Multiple (and mixed) NIC controllers installed within the system are sup- ported by the driver. The chxge driver provides basic support for the NIC hardware. Functions include chip initialization, frame transmit and receive, and error recovery and reporting. APPLICATION PROGRAMMING INTERFACE
The cloning, character-special device /dev/chxge is used to access NIC devices installed within the system. CHXGE AND DLPI
The chxge driver is dependent on /kernel/misc/gld, a loadable kernel module that provides the chxge driver with the DLPI and STREAMS functionality required of a LAN driver. See gld(7D) for more details on the primitives supported by the driver. The values returned by the driver in the DL_INFO_ACK primitive in response to the DL_INFO_REQ are: o Default Maximum SDU is 1500 (ETHERMTU). o dlsap address length is 8. o MAC type is DL_ETHER. o The sap length value is -2, meaning the physical address component is followed immediately by a 2-byte sap component within the DLSAP address. o Broadcast address value is Ethernet/IEEE broadcast address (FF:FF:FF:FF:FF:FF). FILES
/dev/chxge Character special device. /kernel/drv/sparcv9/chxge SPARC chxge driver binary. /kernel/drv/chxge x86 platform kernel module. (32-bit). /kernel/drv/amd64/chxge x86 platform kernel module. (64-bit). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |SPARC, x86 | +-----------------------------+-----------------------------+ SEE ALSO
netstat(1M), attributes(5), gld(7D), dlpi(7P), gld(9F), gld_mac_info(9S) SunOS 5.11 17 Jan 2005 chxge(7D)
All times are GMT -4. The time now is 01:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy