Then your connections are on localhost only, usually 127.0.0.1. Were it a remote session, netstatwould supply e.g.
which is two LAN smb sessions and one remote ssh session.
Hiya all,
How do I get the IP address of my local unix box???
IPconfig - don't exist
nslookup - only for other boxes....
I have my Fedora Server now on the office network. Can ping others, can get onto internet via web proxy....
Also:
How do I create a Drive Share, so our windows... (9 Replies)
I needed to get a machine's local IP address when not root (so no ifconfig).
Eventually, I arrived at this convoluted solution that grabs the unique local IP info from netstat...
netstat -n -t | awk '{print $4}' | grep -o "*\.*\.*\.*" |\
grep -v "127.0.0.1" | sort -u
...however I... (5 Replies)
HI !!!
I'm working under Windows-XP and Reflexion-X against a Unix HP-UX host.
From a shellscript I need to open a new terminal window, I need the IP-ADDRESS for that.
It is asked the user.
It want to be able to obtain it automatically.
WHO CAN I GET IT?
THANKS. (2 Replies)
Hi all,
I am new in Unix world. I usually need to trace who connect to which terminal by IP address. So, could you please show me HOW TO RECOGNIZE which IP address connected to terminal? I use netstat by no luck.
Thank you, (9 Replies)
We have requirement to get the local system IP address of whoever logined the DataBase(sqlplus) or any process in application server.
Actually I connected to application server thru putty and then conencted to Database using sqlplus command.
we have tried below commands :
who -u|grep... (4 Replies)
i wanted to execute some terminal commands on local linux, parse their output and display it to the user, i checked netcat source code but i couldnt understance it since im new to c (and linux at the same time).
so i was wondering if there is away to run an instance of terminal hidden, read and... (15 Replies)
Hi,
Am using FreeBSD7.4/i386
During IPv6 configuration, I added the following in rc.conf as
Restarted IPv6 network using /etc/rc.d/network_ipv6 restart..
My problem is I need to set link local IPv6 address auto-configured..
Is my proceeding right??
I feel something missing to make... (0 Replies)
I have a new Ethernet device that has a default IP address on a different subnet and need to change it. I have a Debian 6.0 host connected to the device with a crossover cable and have changed the host /etc/hosts and /etc/networks files to the same subnet as the new device and rebooted. Ping... (2 Replies)
Hi all,
I am working with SIP protocol and am using SIPp to generate SIP traffic.
But the call is not going through since I get the error;
2015-02-24 14:09:39:330 1424804979.330517: Can't get local IP address in getaddrinfo, local_host='NODE-01', local_ip=''.
My ifconfig output is;
... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
LEARN ABOUT DEBIAN
arpsend
arpsend(8) Containers arpsend(8)NAME
arpsend - send ARP requests
SYNOPSIS
arpsend -D -e target_ip [ -e target_ip ...] [-c count] [-w timeout] interface
arpsend -U -i source_ip [-c count] [-w timeout] interface
DESCRIPTION
Utility arpsend sends ARP packets on device interface to detect or update neighbours' ARP caches with a given IP.
COMMANDS
Run utility with one of the following commands:
-D Send broadcast ARP request to detect neighbours with target_ip. You have to specify target_ip (-e option).
-U Send broadcast ARP request to update neighbours' ARP caches with source_ip. You have to specify source_ip (-i option).
OPTIONS -c count
Number of packets to send. Default is infinity.
-w interval
Interval between packets, in seconds. Default is 1 second.
-i source_ip_address
Set source IP address field in ARP packet.
-e target_ip_address
Set target IP address field in ARP packet. Note that you can specify -e option multiple times to detect many IP addresses in one
utility call.
EXIT STATUS
arpsend returns 0 upon successful execution. If something goes wrong, it returns an appropriate error code.
1 EXC_USAGE
Usage error
2 EXC_SYSTEM
System error
3 EXC_RECV
ARP reply was received
EXAMPLES
To send request on interface eth0 to detect any neighbour computers with IP 192.168.10.200:
arpsend -D -e 192.168.10.200 eth0
To send request on interface eth0 to update neighbours' ARP caches with IP 192.168.10.200:
arpsend -U -i 192.168.10.200 eth0
NOTES
Interface you use have to be arpable and not be loopback (i.e. /sbin/ip link show interface should show neither NOARP nor LOOPBACK flags
in interface parameters).
SEE ALSO vzctl(8).
LICENSE
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.
OpenVZ 28 Jun 2011 arpsend(8)