PDA

View Full Version : questions about the TCP/IP and PING...



ltev2006
April 17th, 2007, 07:24 AM
I hope someone will help me out... the questions are easy, but I have no idea anything about the TCP/IP and PING... so dont know the answers. and I need to get the answers till the morning of thursday. So:
1. What are the similarities between the pc's (that are in the same local network) IP, subnet and gateway addresses? If I'm not mistaken the subnet is the same, and the gateway is the same? And the difference in the IP addresses are in the last segment, for example: 198.168.1.* ???
2. It is necessary, that all / not all servers and simple, casual pc's (that are in the same local network) have to use the same segment of the network address (I mean in the IP address)?
3. When you do a ping into the DNS and / or DHCP of the servers IP addresses, and if that ping is succeded to the any server that is not in the local network... what does it mean?

Thats it ;)

zaphodiv
April 19th, 2007, 07:17 AM
This is clearly homework. Read a book about networking.


1. What are the similarities between the pc's (that are in the same local network) IP, subnet and gateway addresses? If I'm not mistaken the subnet is the same, and the gateway is the same? And the difference in the IP addresses are in the last segment, for example: 198.168.1.* ???

The answer to this is "it depends". In a typical simple network the subnet and the gateway are the same however the network administrator may have good reason for a setup where they are different. For example in a company LAN it may make sense to split the computers into seperate subnets, when you have a few hundred windows machines set to use workgroups the amount of broadcast traffic starts to become a pain. You might want to have two different internet connections, for example one for general web surfing and one for an email server so you might have different gateway addresses.



2. It is necessary, that all / not all servers and simple, casual pc's (that are in the same local network) have to use the same segment of the network address (I mean in the IP address)?

Depends on what applications and protocols the network is being used for. You can make web access and windows drive sharing work with computers on the same LAN in different subnets.


When you do a ping into the DNS and / or DHCP of the servers IP addresses, and if that ping is succeded to the any server that is not in the local network... what does it mean?

It means that the server has a working gateway address and that packet routing is working on the gateway device and any other routers between the server and the destination of the ping.