Displaying 19 results from an estimated 19 matches for "ipcalc".
2003 Jul 07
1
Shorewall 1.4.6 Beta 2
...when they appeared in the DEST column of a rule.
New Features:
1. The limit of 256 addresses for an address range has been removed.
Shorewall now decomposes the range into an optimal set of
network/host addresses (see also the ''iprange'' command below).
2. An ''ipcalc'' command has been added to /sbin/shorewall.
ipcalc [ <address> <netmask> | <address>/<vlsm> ]
Examples:
[root@wookie root]# shorewall ipcalc 192.168.1.0/24
CIDR=192.168.1.0/24
NETMASK=255.255.255.0
NETWORK=192.168.1.0...
2009 Dec 25
3
ip range cidr calculator
I found a command-line program that did this once before, used it for a
while and then forgot about it until right now and I'll be damned if I
can find it again.
A command line IP calculator that takes an address range and give it
back in cidr format.
I found an online one that does this here:
http://www.ipaddresslocation.org/subnet-mask-calculator.php
But I would prefer to have the
2003 Jul 21
0
Shorewall 1.4.6
...d to check that the original destination address was the
same as specified (or defaulted to) in the DNAT rule.
7) The shell used to interpret the firewall script
(/usr/share/shorewall/firewall) may now be specified using the
SHOREWALL_SHELL parameter in shorewall.conf.
8) An ''ipcalc'' command has been added to /sbin/shorewall.
ipcalc [ <address> <netmask> | <address>/<vlsm> ]
Examples:
[root@wookie root]# shorewall ipcalc 192.168.1.0/24
CIDR=192.168.1.0/24
NETMASK=255.255.255.0
NETWORK=192.168.1.0...
2007 Apr 17
7
Still having factsync trouble ...
...[/var/lib/puppet/facts/home.rb]/ensure:
setting file (currently absent)
debug: Calling fileserver.retrieve
notice: /fact_collector/File[/var/lib/puppet/facts/home.rb]/ensure:
created
debug: Calling fileserver.list
debug:
/fact_collector/File[/var/lib/puppet/facts/network-ipcalc.rb]: File
does not exist
debug: Calling fileserver.describe
debug:
/fact_collector/File[/var/lib/puppet/facts/network-ipcalc.rb]:
Changing ensure
debug:
/fact_collector/File[/var/lib/puppet/facts/network-ipcalc.rb]: 1
change(s)
debug:
/fact_collector/File[/va...
2005 Jun 20
18
Address range not being blocked
Ihave the following line in the rules list:
.
2004 Aug 26
13
Load Balance simply doesn´t work...
i´ve been searching for a load balance solution since a month
ago... what i can say is that it simply doesn´t work. I was
unable to find one guy that did it with sucess. When "load
balance" is the subject of the message on the list, the
message is simply ignored.
So... if it doesn´t work... why LARTC don´t delete it from the
HOW TO and answer us with some "it simply doesn´t
2010 Jul 29
3
ip address from range script
TEST-A.txt: list of ip address ranges [AS/isp's in a country]
TEST-B.txt: list of ip addresses
I just need to know, if an ip in the TEST-B.txt is in a range of
TEST-A.txt
cat "TEST-A.txt"
63.31.63.0/24;9007;44536
64.65.0.0/19;9000;8263
62.64.14.0/21;9001;6852
cat "TEST-B.txt"
63.31.63.2
64.66.5.4
63.31.63.66
62.64.14.231
output:
63.31.63.0/24;9007;44536
63.31.63.2
2000 Aug 21
0
Rewritten script /etc/init.d/tinc
...$IFM | grep -x -E '([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}')" ]; then
VPN="$ADR/$(mask_to_prefix $IFM)"
MSK="$IFM"
else
MSG="badly formed interface netmask (VPNMask=$IFM)!"
return 1
fi
# Network & broadcast addresses
BRD=$(ipcalc --broadcast $ADR $MSK | cut -d"=" -f2)
NET=$(ipcalc --network $ADR $MSK | cut -d"=" -f2)
# MAC address
MAC=$(printf "fe:fd:%0.2x:%0.2x:%0.2x:%0.2x" $(echo $ADR | { IFS=. ; read a b c d; echo "$a $b $c $d"; }))
KERNELVER=$(uname -r)
# de...
2020 Mar 21
0
Fwd: KVM hook
...ed from the KVM.
Here is snippet of my script
#!/bin/bash
network_name=`xml_grep --text_only hookData/network/name
/etc/libvirt/hooks/net_details`
network=`xmllint --xpath hookData/network/ip/@address
/etc/libvirt/hooks/net_details|cut -d "=" -f2|tr -d '"'`
network_mask=`ipcalc $network |awk '/Network/{print$2}'`
if [[ $2=="begin" ]] || [[ $2=="start" ]] || [[ $2=="started" ]]; then
curl -k -u admin:infoblox -H "content-type: application/json" -X
POST "
https://10.196.200.63/wapi/v2.10/network?_return_fields%2...
2006 Oct 13
0
Live CD Build Error
...f gunzip mktemp rvi traceroute6
ash dmesg gzip more rview true
ash.static dnsdomainname hostname mount sed umount
awk doexec igawk mt setfont uname
basename domainname ipcalc mv setserial
unicode_start
bash dumpkeys kbd_mode netstat sh unicode_stop
bsh echo kill nice sleep unlink
cat ed ksh nisdomainname sort usleep
chgrp egrep link...
2011 Jul 26
2
Subnet expansion
Hi all,
Can pls share your experience on this?
Currently I have this network:
10.1.16.0/22.
10.1.16.0-10.16.17.254 are DHCP managed
10.1.18.0-10.1.19.254 are statically assigned
If I need to expand it to:
10.1.16.0/20
1. What is the best way to do it with minimal network disruption?
2. If I keep some machine with 22 subnet mask, will it still be able
to talk to the other machines in it's
2004 Apr 30
1
T100P & Integrated (D&V) T1 -> Public IP Range
Hello,
I have a T100P card on a Red Hat 8 machine with Asterisk installed on it and I'm trying to get the data routing properly through it.
I purchased an Integrated Data/Voice T1 Line with channels 1-6 voice and 13-24 data. The line is plugged directly into the Asterisk machine's T100P card.
Previous to the asterisk set up we had an Adtran router that connected everything to what the
2013 Jul 31
2
nmbd is not running
Hi
I have samba domain controller in my network. and recently I have changed
the netmask of the network. Then nmbd is not working
could you please help me to solve this issue
----------------------------------------------------------------
nmbd -i
nmbd version 3.5.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
Unknown parameter encountered: "wide symlinks"
2012 Aug 02
5
IP range
Hi all
Can someone explain me this:
ifcfg-eth0-range1:
ONBOOT="yes"
IPADDR_START="192.168.1.48"
IPADDR_END="192.168.1.55"
CLONENUM_START="1"
Why Bcast is 192.168.1.51 and why Mask is 255.255.255.252 ?
OS: Centos 6.3/64bit
Thanks
Levi
# ifconfig
eth0:1 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
inet addr:192.168.1.48
2011 Jul 08
3
Win7 unable to join domain if PDC has a static IP address
I've seen this asked before in various forums and even on here, but never answered; here is a list of the symptoms and what I have done, hopefully someone here will have a solution.
I have an Ubuntu10.04 server running samba3.4.7 and I have a (fleet of) Lenovo Thinkpad Edge's running win7Pro64
If the Samba server has been assigned a static IP address then the Lenovo will not join the
2017 Jul 07
2
[PATCH v2] v2v: docs: VDSM location of virt-v2v log file.
See this bug for background information:
https://bugzilla.redhat.com/show_bug.cgi?id=1350465
Thanks: Tomáš Golembiovský
---
v2v/virt-v2v.pod | 38 ++++++++++++++++++++++++++------------
1 file changed, 26 insertions(+), 12 deletions(-)
diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
index e68d75cf8..0943bf305 100644
--- a/v2v/virt-v2v.pod
+++ b/v2v/virt-v2v.pod
@@ -1909,18 +1909,32 @@ that
2017 Jul 07
3
[PATCH] v2v: docs: VDSM location of virt-v2v log file.
See this bug for background information:
https://bugzilla.redhat.com/show_bug.cgi?id=1350465
---
v2v/virt-v2v.pod | 39 +++++++++++++++++++++++++++------------
1 file changed, 27 insertions(+), 12 deletions(-)
diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
index e68d75cf8..93d1a9ecd 100644
--- a/v2v/virt-v2v.pod
+++ b/v2v/virt-v2v.pod
@@ -1909,18 +1909,33 @@ that guest through the RHV-M UI,
2017 Jun 27
3
[PATCH] libvirt: disallow non-local connections (RHBZ#1347830)
If the connection is not local, paths of disks will refer to the remote
host, which were mistakenly handled as local paths (in the best case
failing to open a non-existing disk, and in the worst case opening a
different disk!).
In case the disks are remote resources like ssh or ceph, nothing
guarantees that the hostname can be reached from the local machine, or
even that it is actually the same on
2017 Jul 07
4
[PATCH v6 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
Hopefully this time ...