Sponsored Content
Top Forums Shell Programming and Scripting Need help with IP and MAC addresses Post 302282359 by ce9888 on Friday 30th of January 2009 04:52:02 PM
Old 01-30-2009
User with root privileges:

ifconfig -a

Should give you ip address and mac address for all interfaces in your system.
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mac addresses of NICs (why are they the same)

I am training to be support on our solaris based network and was wondering why solaris seems to assign the same mac address to all NICs placed in the machine regardless of how many NICs are in there, when i do a ifconfig -a all nics have same MAC. Presumably this is a feature and there is... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

2. UNIX for Dummies Questions & Answers

Help extracting MAC addresses from List

Hello all. I have a large number of text files outputted from various Netstumbler Wireless Scans; from which I need to extract the MAC addresses of the various Access Points. The Text files look like this: # $Creator: Network Stumbler Version 0.4.0 # $Format: wi-scan summary with... (9 Replies)
Discussion started by: dhs23
9 Replies

3. UNIX for Dummies Questions & Answers

Difference between Mac and IP addresses

If a web search is done on this topic there are many links but no information included in the documents. So my questions are; Why does a NIC card have it's own permanent ID. Why can't it share the host name? An ID is an ID. Why does a computer need two ways to ID it. If the network... (3 Replies)
Discussion started by: theKbStockpiler
3 Replies

4. Shell Programming and Scripting

Don't see my mac addresses of my devices

I have a problem with a script , i want to see my devices there are up in my network. I want as output the ip addresses of the devices and also the mac address but I only had the ip addresses #!/bin/bash while ] do -mac) Extension=5 shift mac=$1 shift ;; esac... (1 Reply)
Discussion started by: Roggy
1 Replies

5. Shell Programming and Scripting

Script getting IP's and MAC addresses

Hy over there, Lets make it simple :) Using a bash script, how to grep only the ip address and the mac address and put them in a file:. for example from the dhcp.conf file we got such things: The script will end up with two columns IP's and MAC adresses as it is showed below: ... (9 Replies)
Discussion started by: hermouche
9 Replies
MACTELNET(1)						      General Commands Manual						      MACTELNET(1)

NAME
mactelnet - A tool for telneting via MAC addresses SYNOPSIS
mactelnet [options] <MAC-Address|hostname> DESCRIPTION
This tool enables you to telnet other RouterOS or MAC-Telnetd enabled devices. You can connect to either a hostname or a MAC address. If specified, the hostname (identity) will be looked up via MNDP discovery. OPTIONS
These programs follow the usual GNU command line syntax. A summary of options is included below. -n Do not use broadcast packets. A tad less insecure but requires root privileges. This means that ethernet packets will have the specified mac-address as the packet destination, instead of using the ethernet broadcast address. -t Amount of seconds to wait for a response on each interface. If you have several network interfaces, this is the timeout value per interface. -u Specify username. Without this option, you will need to enter the username in a interactive prompt. -p Specify password. Without this option, you will need to enter the password in a interactive prompt. -h Show summary of options. -v Show version of program. SEE ALSO
mndp(1), mactelnetd(1), macping(1). AUTHOR
mactelnet was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>. This manual page was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>, for the Debian project (and may be used by others). February 27, 2011 MACTELNET(1)
All times are GMT -4. The time now is 01:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy