Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-22-2003, 11:12 AM   #1
Registered: Aug 2001
Location: GD, GZ, China
Posts: 240

Rep: Reputation: 30
help in obtaining all ips in LAN

Hi all,
Is there a system file containing all the ip of a LAN? If not, how can I obtain all ips in a LAN with a shell script?

Thanks in advance.
Old 07-22-2003, 12:25 PM   #2
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
If you know the subnet there on. Try a port scan.
Old 07-22-2003, 01:13 PM   #3
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
easy if you are using DHCP.


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
Stable IP&Viewing IPs&Spying in LAN mohtasham1983 Linux - Newbie 7 06-15-2005 04:16 PM
Obtaining IP LAN gateway in C under Linux executive Programming 2 04-13-2005 12:21 PM
how to define a specific range of IPs and/or multiple IPs in an iptables rule?... TheHellsMaster Linux - Security 9 09-20-2004 11:06 AM
Reasons to change fixed IPs in our Lan to DHCP? mfeoli Linux - Networking 1 02-03-2004 12:34 AM
finding out the ips of computers on my lan sanjeevan Linux - Networking 3 07-10-2003 10:35 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:23 AM.

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