How to get the MAC Address of CLIENTS/USERS in different LANS? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
Scenario: Main Linux Server is Connected to Local Switch Gateway. From Gateway to the network.
Now i can able to get the IP of the Remote Clients/Users who logged into the Server.
Linux Command : *"who -u" (gives me the IP Address of the users IP Address).*
For getting the MAC Address of the same user. I tried the arp -a command, It gave the switch MAC-Address only. I cant able to get the Remote Clients/User MAC Address.
Linux Command : "arp -a" (gives me the MAC Address of the Switch).
How to the MAC Address of the Remote Clients Machines ?
Note : My Client Machines can run on any OS (Windows/Linux/Solaris).

MAC addresses doesn't get routed, so the IP address would have to be of a host on your network. You will have to ping the IP address first and then use arp -a; like
ping <Remote_IP_Address>
arp -a <Remote_IP_Address>
See this related posts here
is-there-a-way-to-find-the-mac-address-of-a-remote-machine-i-have-connected-to-w
how-to-find-the-mac-address-of-a-remote-computer

Related

How can I find my IP address when inside a Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have a Linux server is hosting in a host company. I don't know what is the public IP address of the server. I can only ssh to the server using their Cloud access. I'm wondering if there's any tools that I can use to tell what is the public IP address of the Server I'm inside.
This cyberciti.biz article Expline how to find your public IP address.
To show IP address of server use this command: ifconfig -a.
I found this website service that you can create a link URL then send a request to that URL to reveal your IP Address and header details which is cool.
https://www.requestheader.com/

Permanently configure static IP Address of Bitnami Standalone Linux version [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 4 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
How to permanently configure static IP Address of Bitnami Backendless Standalone Linux version?
The Bitnami VM comes configured to use DHCP.
The Bitnami FAQ says you can change the IP address using the command below:
An alternative approach is to configure the network manually and assign a static IP address to the virtual machine. For example, if your local network uses IP addresses of the form 192.168.1.X and you know that the IP address 192.168.1.234 is unassigned, manually assign this to the virtual machine by executing the command below at the virtual machine console:
sudo ifconfig eth0 192.168.1.234 netmask 255.255.255.0 up
Unfortunately, the IP Address is only assigned until the server is rebooted. After rebooting the VM, the IP address is dynamically allocated using DHCP.
ifconfig changes the IP Address only during the system runtime.
Depending on your Linux distribution, you've got to change the network setting by editing the related files.
Debian/Ubuntu
$ sudo vi /etc/network/interfaces
Fedora/Centos
$ sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0

How can I SSH remotely into my linux VirtualBox? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am trying to remotely access a virtual box remotely. Because this is a virtualbox hosted on a windows machine, it does not have it's own IP address to use for SSH login. I have tried changing the network settings to Bridge Adapter to get an IP, but nothing has worked. Are there some steps I am missing, or what else can I do to SSH into the box? Thanks.
If you were using the NAT mode before and you have no reason to change it other then the SSH, you can do it in that mode. Just expand the advanced settings in the network configuration and create a port forwarding rule for the port 22. Then you will be able to SSH to the VM by using the host's ip address.

PXE Won't boot with new version of Boot agent [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
We are running WDS on server2012 and it's doing fine with older machines. But we bought new stack of HP's with Intel i217-lm NIC, it is using Boot agent GE v.1.5.50.
When we are trying to boot it gets ip via dhcp, but ends with error:
PXE-E55: ProxyDHCP service did not reply to request on port 4011
I tried to change dhcp scope options by MS recommendations:
Option 60= PXEClient
Option 66= WDS server name or IP address
Option 67= Boot file name
Any suggestions
To see if the DHCP process is where the problem lies, one test to try is running Wireshark on the DHCP server to see if the packet was received by the server, and if the server sent the packet back to the i217 adapter.
If the packet reached the DHCP server but didn't get sent back maybe it is a firewall issue. I would also check the IP address leases and make sure everything looks error-free (ie no duplicate IPs, bad addresses).
Also if you want to verify that there are not known PXE issues with the i217 adapters, or if there any quirks, you can ask the Wired Ethernet blog at communities.intel.com about the issue you're seeing. They usually have someone who can help from Intel on there.
Workaround was booting from network in UEFI mode. There is limitations regarding new Intel's boot agent

How to configure 2 ip address on the same interface [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I want to configure my lan interface of the router with 2 IP address.
My router has OpenWRT as firmware
How to edit my openwrt config file inorder to have 2 ip address on the same lan interface?
ifconfig is a quite deprecated tool.
Today we have iproute2 suite which, for many reasons, is much better than ifconfig&co.
For example with iproute2 you don't have to use the "trick" of a virtual interface to have more the one ip address on the same physical interface:
ip addr add IP dev eth0
As you have tagged "linux" in your question, I guess OpenWRT is Linux based.
On Linux, you can do aliases to your eth0 interface. For example, to add an IP to an existing eth0 interface which has already one configured IP, you can do something like:
# ifconfig eth0:1 newIP ... rest of parameters ... (from root)
It would help if you add a sample of your configuration file to the question.

Resources