Operating System - HP-UX
1849280 Members
6829 Online
104042 Solutions
New Discussion

Re: Package ip addressing

 
AIMC
Frequent Advisor

Package ip addressing

Hi,

Can anybody explain package ip addressing simply? In a package control script there are pairs of addresses... the IP & SUBNET, if i have an ip address for a package of say

192.168.10.55

is the SUBNET part of the pair always the same address with the last octet replaced by 0? ie

192.168.10.0

Appologies if this is very straight forward, i'm fairly new to service guard!

Thanks in advance,

Aidan
11 REPLIES 11
A. Clay Stephenson
Acclaimed Contributor

Re: Package ip addressing

There is nothing different about subnetting within MC/SG; it's the same whether or not MC/SG is in play. It's not true that the entire low-order octet need be zero because
much smaller subnets are possible.

If it ain't broke, I can fix that.
AIMC
Frequent Advisor

Re: Package ip addressing

Hi A. Clay,

Thanks for the reply, i'm not too familiar with subnetting either! Are there any online sunet calculators for specific ip addresses? or can there be more than one subnet for an ip address?

Thanks,

Aidan
A. Clay Stephenson
Acclaimed Contributor

Re: Package ip addressing

Here is a nice little free subnetting tutorial. You have to pass a simple prerequisites tests first (I scored 100% the 1st time) and after that you get to the tutorial. It's rather good.

http://www.semsim.com/ccna/tutorial/subnetting/subnetting.html
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Package ip addressing

By the way, understanding subnetting and broadcast maps is much easier (and far clearer) if you do everything in binary. That's one of the reasons the tutorial I listed has a prerequisite section. It takes you through binary arithmatic.
If it ain't broke, I can fix that.
AIMC
Frequent Advisor

Re: Package ip addressing

Thanks again A. Clay,

I'll give it a go, the part i need to get my head around is what the package control script is defining a SUBNET as, i'm used to a subnet mask which has always looked like

255.255.255.0 .... etc, not

192.168.10.0

Aidan
Sivakumar TS
Honored Contributor

Re: Package ip addressing


Dear Aidan,

It is as simple as, you specify the "network address" in the SUBNET filed in the package configuration.

ie, for the IP - 192.168.10.55
mask 255.255.255.0

the network address in 192.168.10.0

(for example,if the mask is 255.255.0.0
then network address is 192.168.0.0 )

With Regards,

Siva.
Nothing is Impossible !
Arunvijai_4
Honored Contributor

Re: Package ip addressing

Hi Aidan,

Here are links of subnet calculators available online,

http://www.subnetmask.info/
http://jodies.de/ipcalc

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Package ip addressing

Subnet is used to mask the ip-address and to provide the ip-address range.

192.168.10.55 is ip-address and 192.168.10.0 can be a network address. i.e) Your network ip-address is in the range of 192.168.10.xxx.

To get subnet mask you have to use 255.255.255.0 to get all ip-address in 192.168.10.xxx.

i.e) last byte of xxx integers are changeable to assign ip-address.

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Package ip addressing

Online calculators,

http://www.t1shopper.com/tools/calculate/ip-subnet/
http://www.subnetmask.info/

You can do it with that.

If you did not post it again.

--
Muthu
Easy to suggest when don't know about the problem!
melvyn burnard
Honored Contributor

Re: Package ip addressing

Quite simply, the pair you supply is the relocatable or floating IP address for your package, and the subnet that this IP address must be added to. The subnet does not necessarily have a .0 at the end, it depends on how the subnet mask is set up.
To see your subnet(s) do:
netstat -in
and look at the Network field.



My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
AIMC
Frequent Advisor

Re: Package ip addressing

Hi All,

Thanks for all of the replies, i'm sure i understand this now... with a little help from the online calculators!!

Aidan