[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Subnet address
From: |
Barbarian Mama |
Subject: |
Subnet address |
Date: |
Fri, 20 Jul 2007 00:25:24 -0700 (PDT) |
Hi All,
how can know subnet address of the machine using bash scripting .. if i use
ifconfig it only displays ipaddress and subnet mask. I you have to calculate
subnet address then you have to do binary AND operation on ipaddress AND
subnet mask to know subnet address . Can any one help me to know subnet
address of the machine in bash script.
Thanks
Barbarian
--
View this message in context:
http://www.nabble.com/Subnet-address-tf4115487.html#a11703401
Sent from the Gnu - Bash mailing list archive at Nabble.com.
- Subnet address,
Barbarian Mama <=