How would I get a list of all ip addresses that are on a network using python.
QwertyFish
0
Newbie Poster
Recommended Answers
Jump to PostYou can implement ping in python. Example.
Ask your user for an ip range, ping all of the addresses and see which one's respond.
Jump to PostThat way seems pretty simple to me. "ping all addresses and check which ones respond". In fact, I beleive the is the only practical way.
Another way might be to set it up as a packet sniffer, and see which hosts are actively sending and recieving traffic.
Unless you're talking …
All 6 Replies
Hiroshe
499
Posting Whiz in Training
QwertyFish
0
Newbie Poster
Hiroshe
499
Posting Whiz in Training
QwertyFish
0
Newbie Poster
Hiroshe
499
Posting Whiz in Training
QwertyFish
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.