[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Getting list of IP's on Linux

Posted on 2003-12-08
12
Medium Priority
?
314 Views
Last Modified: 2010-03-18
Please, can anybody tell me how can I get the IP from people that communicate with me even on ICQ any kind of site I visit.
I used to type ARP -A at DOS terminal over Windows. Is there any kind of command that I have to type or is there any kind of program I need to get these IP's?

Thanks

Edward
0
Comment
Question by:EduModesto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9900252
Linux does also support the arp command. It may however not be in your default search path. Try /sbin/arp or /usr/sbin/arp if just typing arp -a does not work.
0
 
LVL 7

Expert Comment

by:glassd
ID: 9902552
Does Linux support the "last" command. On Solaris this shows who has connected to the machine from where.
0
 
LVL 4

Expert Comment

by:Jivko
ID: 9902580
netstat -a
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9903125
glassd,
yes, last is also available on Linux.
0
 

Author Comment

by:EduModesto
ID: 9908521
but how can I see the table of IP's that are communicating with me. For example, i tried arp -a but it only shows me my current ip address and thet physical address of my ethernet board. How can i see all the ips that i am communicating?
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9908973
netstat -a command will tell u how many ips are connected to and what port.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9909004
If your computer is behind a NAT firewall, you will not see any external addresses with both netstat and arp.
0
 
LVL 3

Expert Comment

by:_tack
ID: 9910904
netstat -a (-n for not resolving names) will show all connected IP address,
NAT does not hide external addresses. (at least Linux NAT does not this).
0
 
LVL 5

Expert Comment

by:brabard
ID: 9913192
Just one more thing - for better and shorter output try use :
#netstat -nutap|grep -v *:*
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 9914026
1. arp is completely useless, except the remote ICQ cliens are i the same network segment
2. netstat -an
   as suggested is the answer, you should see an ESTABLISHED for each IP on your ICQ port
3. "NAT does not hide external addresses"
   yes and no, depending on your definition of NAT
   if "NAT" means SNAT or DNAT from iptables (or any equivalent functionality from your router), you don't see remote IPs
   if "NAT" means MASQUERADING (like in iptables), then you see remote IPs
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question