View Full Version : Doubt in IP Address..
tamilnandhu
07-23-2008, 06:47 AM
Hi,
am having a doubt in subnetting section..
When we want to configure an IP addres we need the following.
1) Ip address (192.168.10.10)
2) Subnet mask (255.255.255.0)
3) Default g/w (192.168.10.254)
for a class C IP address, we have network number as 192.168.10.0 and broadcast address as 192.168.10.255. Here my doubt is, in which part of TCP/IP configuration we are using these two values..? Or these two values are only for theoretical purpose ..?
please help me in this regard..
Thanks,
Nandhu.
rosen
07-23-2008, 09:48 AM
first of all to configure ip address jus the IP and mask is enough ..
a combination of both tells u what is ur ip is.
like IP 10.0.0.1 mask 255.0.0.0
that means u have a normal ip ( without subnetting) and as the first octet of mask is all one's (255) hence only the first octet of IP 10.0.0.0 represents the network part rest all is the host part.
now when u arae communicating in ur own network ie 10.0.0.0 network there is no need to add the gateway.
gateway configuration is only required when u need to access a network diffrent from the one in which u currently are eg. u need to access 20.0.0.0 or 30.0.0.0 n/w in that case u will require a gateway ( single access point to all other networks)
hope that clears out a bit of the stuff.
tamilnandhu
07-24-2008, 12:11 AM
OK thanks for the reply..
i understood that the IP and mask is enough. but where we use those broadcast(192.168.10.255) and network(192.168.10.0) addresses..?
is it only for theoretical purpose..?
rosen
07-24-2008, 02:06 AM
------------------------------------------------------------------------
well the broadcast address is when u wanna communicate to all the hosts in ur network. so in case u wanna do that jus plug in the destination address in the packet as 192.168.10.255/24 and all nodes will receive the packet.
try it out in case u r using packet tracer !!!!!!!!!!
on the other hand the when we have a look at the contents of the router RIB(routing information base) or routing tables as they are generally called we never store individual ip in them ??
this is coz jus image how much memory u need to store all 2^32 combinations(of ips) alomg with next hop and outgoing interface.
so we store data in form of n/w adress and not in form of individual ips.
----------------------------------------------------------------------
:cool:
tamilnandhu
07-24-2008, 05:22 AM
so in case u wanna do that jus plug in the destination address in the packet as 192.168.10.255/24 and all nodes will receive the packet.
try it out in case u r using packet tracer !!!!!!!!!!
This is the thing i want to know...
Thanks buddy:).. thank u very much:D..
will try it..
Thanks,
Nandhu.
rosen
07-24-2008, 05:50 AM
any time :cool:
ngoc_pbn
06-25-2009, 09:55 PM
Hi all
When you have networkaddress 192.168.10.0 and broadcastaddress 192.168.10.255, you have to look for the mask to divide subnet.
Depending on difference mask you'll have difference subneting method to subnetwork.
192.168.10.0 is one of subnet address and 192.168.10.255 is one of broadcast address ( depending on mask ).
For example : if mask /24 we have only one network that 192.168.10.0 is networkaddress and 192.168.10.255 is broadcastaddress.
rdgs
ngoc_pbn
bhavanisgreat
05-01-2010, 04:43 AM
Hi,
am having a doubt in subnetting section..
When we want to configure an IP addres we need the following.
1) Ip address (192.168.10.10)
2) Subnet mask (255.255.255.0)
3) Default g/w (192.168.10.254)
for a class C IP address, we have network number as 192.168.10.0 and broadcast address as 192.168.10.255. Here my doubt is, in which part of TCP/IP configuration we are using these two values..? Or these two values are only for theoretical purpose ..?
please help me in this regard..
Thanks,
Nandhu.
Dear Nandhu,
Before replying I would like to give u a short review of the purpose and use of these entities which u might already know.
Subnet Mask determines the Network Park and Host Part from a valid IP Address and Network Number determines which subnet a IP Address of a Host Belongs to.. And Default Gateway is configured to tell the computer where to forward the data in case it doesn't find the host.. In Other words if any data is intended to be sent to any host / device which is not residing on a local subnet.
So, these two entities are not on theoritical basis.
IP Address is used at Network Layer of OSI Reference Model.
Thanks.
I hope he's found the answer by now, two years later ;)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.