LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2017, 12:38 AM   #1
TheOnwWhoknocks
LQ Newbie
 
Registered: Nov 2017
Posts: 1

Rep: Reputation: 0
Smile Problem with ip addresses


Hello there,

I would like to know a bit about how to find ip addresses around us ...like any ip address that is present around us well may or may not be connected to the common router as i am ..A basic idea.... and which ip addresses to use if we are targeting anyone ublic or private? I would love brief info.

Thanks.
 
Old 11-26-2017, 12:06 PM   #2
Superspeed500
Member
 
Registered: Oct 2017
Distribution: Fedora, Ubuntu, Cent OS
Posts: 41

Rep: Reputation: Disabled
Post

You can use dig followed by a domain name to find one of the IP's that is linked to a certain name. You can also use nslookup. Use man dig or man nslookup for more information about the commands.

A tool like wireshark can help you find out what IPs your computer is communicating with.
 
1 members found this post helpful.
Old 11-26-2017, 06:35 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,860

Rep: Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596
Other options:
Use ifconfig to find your ip addr & mask, then use an ip calculator eg http://www.jodies.de/ipcalc to see what addresses are in your range.
You could then use ping in a loop or even nmap to check, BUT unless you are the network admin or know him well, be aware that scanning a net looks like an attack.. YHBW...
 
Old 11-26-2017, 06:46 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Why do you want to do this?
 
Old 11-28-2017, 07:03 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,314
Blog Entries: 13

Rep: Reputation: 4371Reputation: 4371Reputation: 4371Reputation: 4371Reputation: 4371Reputation: 4371Reputation: 4371Reputation: 4371Reputation: 4371Reputation: 4371Reputation: 4371
Quote:
Originally Posted by TheOnwWhoknocks View Post
Hello there,

I would like to know a bit about how to find ip addresses around us ...like any ip address that is present around us well may or may not be connected to the common router as i am ..A basic idea.... and which ip addresses to use if we are targeting anyone ublic or private? I would love brief info.

Thanks.
The title of this thread is Problem with ip addresses and you are not asking a question about a specific IP address problem. Your statements implying that you are targeting anyone public or private seem unclear as to their meaning.

I do appreciate the correct and helpful answers from Superspeed500 and chrism01. Meanwhile, I have to agree with AwesomeMachine and therefore reiterate their question:
Quote:
Originally Posted by AwesomeMachine View Post
Why do you want to do this?
What is your ultimate goal here? Noting also that there are some clear guidelines in the LQ Rules about certain content within thread discussions.
 
Old 11-29-2017, 01:36 AM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,852

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Cool

Quote:
Originally Posted by AwesomeMachine View Post
Why do you want to do this?
OP just expand & define "foot printing".

Is it allowed here in LQ? LOL.

For this reason, I'm out. (Shark Tank)

Last edited by JJJCR; 11-29-2017 at 04:00 AM. Reason: edit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use iptables to limit bandwidth to certain IP addresses and MAC addresses baronobeefdip Linux - Networking 2 01-07-2014 07:36 PM
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 13 02-24-2008 08:16 PM
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 1 02-09-2008 07:17 AM
mechanics of mapping process memory addresses to physical addresses on amd64 Tischbein Linux - Kernel 2 02-01-2007 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration