search for: octet3

Displaying 2 results from an estimated 2 matches for "octet3".

Did you mean: octets
2006 Mar 30
2
Functional test confusion
...post :create_network_segment, :network_segment => { :subnet => { :octet1 => ''129'', :octet2 => ''83'', :octet3 => ''10'', :octet4 => ''0'' }, :netmask => { :octet1 => ''255'', :octet2 => ''...
2012 Feb 06
3
Script to automatically update externip. Useful for a host with dynamic public IP
...checkip.dyndns.com to find the server's external IP address. Updates asterisk's externip value and does a sip reload if necessary. # Last modified 06/02/2012 is_ip(){ input=$1 octet1=$(echo $input | cut -d "." -f1) octet2=$(echo $input | cut -d "." -f2) octet3=$(echo $input | cut -d "." -f3) octet4=$(echo $input | cut -d "." -f4) stat=1 if [[ $input =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]] && [ $octet1 -le 255 ] && [ $octet2 -le 255 ] && [ $octet3 -le 255 ] && [ $octet4 -le 255 ];...