LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2018, 08:31 AM   #1
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
tool to display range of ipv6 addresses


Can you recommend any tools that simply displays a range of IPv6? Something like:
Code:
ipcalc 192.168.1.0 192.168.1.254 -r
I haven't been able to find any tools that does that. Neither subnetcalc, nor ipv6calc.

Any ideas? Thanks
 
Old 05-14-2018, 03:11 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
A lot of Website provide this, such as http://www.gestioip.net/cgi-bin/subnet_calculator.cgi
 
Old 05-14-2018, 03:13 PM   #3
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Original Poster
Rep: Reputation: 103Reputation: 103
No, I'm interesting in a linux tool that I can use afterwards in a script.
 
Old 05-14-2018, 05:47 PM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
More versions for ipcalc exist. I think you referred to the Debian version, which I have on my system as well. It provides the -r option.

I found at least 2 other versions, both supporting ipv6. But one does not support the -r option.

This one does not have the -r option, but it seems it can give subnet ranges.
https://www.mankier.com/1/ipcalc

jlinkels
 
Old 05-15-2018, 03:56 AM   #5
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Original Poster
Rep: Reputation: 103Reputation: 103
I'm not interested in simply displaying the start and the end of the ip range. I'm interested in a program that displays the entire range, all the ips in that range, so that I can create a list, which I can work with later in a script. The link you're pointing to seems to be the exact same version of ipcalc that exists on Centos. The funny thing is that with ipv6 only two options work (can't remember which ones, but they're quite useless), and -r doesn't exist either for ipv4 or for ipv6. So that doesn't really help
 
Old 05-15-2018, 04:12 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://github.com/nmav/ipcalc
 
Old 05-16-2018, 08:22 AM   #7
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Original Poster
Rep: Reputation: 103Reputation: 103
I'm having trouble installing the tool. There's no configure file and I'm not really sure where I'm supposed to use make or make install or whether I'm supposed to use it.
There are the files from the zip source code:
Quote:
COPYING ipcalc.1 ipcalc.c ipcalc-geoip.c ipcalc.h ipcalc-reverse.c ipcalc-tests Makefile netsplit.c NEWS README.md tests
(tests is a dir)

The only executable file is ipcalc-tests.
 
Old 05-16-2018, 11:48 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Have a look at the obvious "README.md"
 
Old 05-16-2018, 11:50 AM   #9
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Original Poster
Rep: Reputation: 103Reputation: 103
And I obviously did. They don't explain anything regarding the installation. They're just offering examples on how to use it. It's silly. Anyway, I'm extremely sceptical. I'm really convinced that this isn't going to bring anything new to the versions that centos or debian come with
 
  


Reply



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
Deleting global unicast ipv6 addresses on an interfaces does not remove neigbors/direct connect ipv6 hosts from kernel nd_tbl haldermi Linux - Networking 1 06-07-2016 02:28 PM
LXer: Another IPv6 Crash Course For Linux: Real IPv6 Addresses, Routing, Name Services LXer Syndicated Linux News 0 04-21-2011 07:40 AM
Using NMAP on a range of IP addresses OMD.115 Linux - Networking 1 12-21-2010 08:46 PM
[SOLVED] how to express range of ip addresses slac-in-the-box Linux - Networking 2 09-24-2010 12:08 PM
range of addresses in squid meetpsm Linux - Newbie 1 01-27-2009 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:03 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