ip
My IP
Submitted by sandip on Thu, 01/10/2013 - 15:36IP Address: 18.117.107.78
»
- sandip's blog
- Login or register to post comments
- Read more
Get public IP Address
Submitted by sandip on Mon, 08/27/2012 - 21:01Get current public IP via command line curl and wget.
With curl:
curl icanhazip.com
curl ifconfig.me
With wget:
wget -qO- icanhazip.com
wget -qO- ifconfig.me/ip
»
- sandip's blog
- Login or register to post comments
- Read more
Converting Shared to Exclusive IP for Plesk Domain
Submitted by sandip on Wed, 04/06/2011 - 08:35First go into "Clients", select the corresponding client IP Addresses and assign the additional IP address.
Then go into "Domains", select the domain that should be converted to exclusive IP and modify the "Web Host Settings" and assign it the new IP.
»
- sandip's blog
- Login or register to post comments
- Read more
IP range to CIDR conversion
Submitted by sandip on Thu, 05/15/2008 - 10:19I've often had to convert IP range with netmask to a CIDR notation. Below is a quick perl script to help with the conversion:
#!/usr/bin/perl -w
# range2cidr.pl
use Net::CIDR;
use Net::CIDR ':all';
if (@ARGV == 0) {
die "Usage Example: $0 192.168.0.0-192.168.255.255 \n";
}
print join("\n", Net::CIDR::range2cidr("$ARGV[0]")) . "\n";