GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Networking
Go To First  |  Previous Question  |  Next Question 
 Networking  |  Question 34 of 84    Print  
difference b/w subnetmask and default gateway

  
Total Answers and Comments: 5 Last Update: February 12, 2008     Asked by: raghu 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Vishal Garg
 
HiSubnet Mask:- the mask is used to detrmine that which part of IP belonged to network or which part belong to host. E.g. if u have a IP 172.16.25.32 and its subnet mask is 255.255.0.0. then the 172.16 is network part , and 25.16 is host part. If subneting is enable then we can use some bit of host part in network .Subnet mask mainly use in subneting. for above example subnet mask is 255.255.255.0 the nwk address become 172.16.25. and the host part is 32.Default gateway:- For a simple LAN there is no use of default gateway, It is used when network communicate with other network. it is just like a Main gate of home when a person wanna go to outside from home or come inside he can only do the same by main gate. Same Concept used here. In network if the packet have address of same address then switch direct forward the packet to its desired destination. And if packet have another network address it should be come out from Default gate way. Basically it reduces the collision.Vishal Garg

Above answer was rated as good by the following members:
diljith074
January 24, 2007 02:31:46   #1  
asif        

RE: difference b/w subnetmask and default gateway
Subnetmask is nothing but a playning of network and Default gateway is comunicate to one network to another network given to router all pc in the network communicate to that particular default ip addreess.
 
Is this answer useful? Yes | No
January 25, 2007 09:10:57   #2  
Vishal Garg        

RE: difference b/w subnetmask and default gateway
HiSubnet Mask:- the mask is used to detrmine that which part of IP belonged to network or which part belong to host. E.g. if u have a IP 172.16.25.32 and its subnet mask is 255.255.0.0. then the 172.16 is network part and 25.16 is host part. If subneting is enable then we can use some bit of host part in network .Subnet mask mainly use in subneting. for above example subnet mask is 255.255.255.0 the nwk address become 172.16.25. and the host part is 32.Default gateway:- For a simple LAN there is no use of default gateway It is used when network communicate with other network. it is just like a Main gate of home when a person wanna go to outside from home or come inside he can only do the same by main gate. Same Concept used here. In network if the packet have address of same address then switch direct forward the packet to its desired destination. And if packet have another network address it should be come out from Default gate way. Basically it reduces the collision.Vishal Garg
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
February 22, 2007 05:38:58   #3  
sunilbaglur Member Since: April 2006   Contribution: 6    

RE: difference b/w subnetmask and default gateway
subnetmask is just used to identify the class of ip address and its is used for subnetting of ip address for eg:-

ipaddress -192.168.1.2
subnetmask- 255.255.255.0
we can find N/W part that is 192.168.1 and Host part that is 2
the class of ip is C

where as default gateway is a ip address given to a router or ASDL modem which is used to communuicate with other N/Ws or internet

 
Is this answer useful? Yes | No
March 15, 2007 08:29:46   #4  
Mohammed Younus        

RE: difference b/w subnetmask and default gateway

looking toward the Subnetmask only we can Identify to which Class does this Ip belongs and using subnet mask we can divide Large N/W into smaller N/W.

Gateway is the Particular unique IP Assigned on router for other network to communicate which acts as a Gateway to local N/W.


 
Is this answer useful? Yes | No
February 12, 2008 01:02:12   #5  
singhathakur Member Since: February 2008   Contribution: 8    

RE: difference b/w subnetmask and default gateway
Computers understands thes are in a same network with the help of netmask while in case of lan server ip work the gateway for clients.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape