Geeks Talk

Prepare for your Next Interview




IP address and MAC address

This is a discussion on IP address and MAC address within the Networking forums, part of the category; Why do we need IP address when we already have MAC address Question asked by visitor Muhammmed Hussain...


Go Back   Geeks Talk > Networking

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-03-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 164 Times in 138 Posts
Geek_Guest is on a distinguished roadGeek_Guest is on a distinguished road
IP address and MAC address

Why do we need IP address when we already have MAC address

Question asked by visitor Muhammmed Hussain
Reply With Quote
The Following 2 Users Say Thank You to Geek_Guest For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 05-03-2007
Junior Member
 
Join Date: Mar 2007
Location: tamilnadu
Posts: 10
Thanks: 0
Thanked 3 Times in 2 Posts
saranyamahendran is on a distinguished road
Re: IP address and MAC address

hai
IP address is given to every system connected to the network.it is used to identify the system when connected to internet when msg has to be send.

whereas MAC is the hardware number given to the system by the company which deveops it .it is a standard format followed by all company.
this is also used to identify the system in network.

both IP and MAC are unique for each system.

if any change pls do inform me
Reply With Quote
  #3 (permalink)  
Old 05-03-2007
Contributing Member
 
Join Date: Apr 2007
Location: India
Posts: 61
Thanks: 2
Thanked 13 Times in 9 Posts
Haitalk is on a distinguished road
Re: IP address and MAC address

MAC address is used at Datalink layer of OSI model which is typically assigned to devices by manufactures. IP address is the logical address assigned at Network layer of OSI model. In Ethernet LAN the MAC address is used to deliver the data to the device at the lower level even though we use IP address at higher level. If we type \\192.168.0.5\Files on a system having IP 192.168.0.10, the communication at lower level uses the MAC address of both systems ie 192.168.0.10 & 192.168.0.5. The whole process goes like this if both systems are in same Local Segment ie. not separated by router.
Suppose a user types \\192.168.0.10\Files on system A (192.168.0.5) to access Files Share on System B (192.168.0.10)
The system A will use the protocol ARP to find out the MAC address of system B. From the receiving first frame, the system A knows the MAC of system B. Then the communication between A & B will be going on using MAC address of both at lower level ie. Datalink.
__________________
Regards,
Anoop :)
If its useful, dont forget to [COLOR="Red"]THANK[/COLOR] me :cool:
Reply With Quote
The Following User Says Thank You to Haitalk For This Useful Post:
  #4 (permalink)  
Old 06-09-2007
Junior Member
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
batman is on a distinguished road
Re: IP address and MAC address

Ip addresses are hiearchical while mac addresses are flat addresses and neworking application uses both the combination of these addresses if we use only mac addresses which is physical we have to create a huge database while ip addresses are logical it gives us the network addresses in which the computer is present then its subnet address thus router can easily locate the computer efficiently as it doesnot need to know all addresses and then find the mac addresses of the computer to have commincation on physical level
Reply With Quote
  #5 (permalink)  
Old 06-12-2007
Contributing Member
 
Join Date: Oct 2006
Location: India, TamilNadu, Chennai
Posts: 79
Thanks: 9
Thanked 7 Times in 7 Posts
anushya is on a distinguished road
Re: IP address and MAC address

Basic:
ipaddress is logical address - identification of ur system, 32 bit address, unique inside the network, where mac address is physical address - hardware identification of ur interface (nic), 48 bit / 6 hexadecimal, unique all over. Technical:
if any packet comes out from the system, then the first packet should be the arp packet, which will identify the hardware address of the destination ipaddress (ur target ipaddress) and has the table to map both ipaddress and mac address. Then only the other communication between two computers will happen. Hardware address works in datalink layer - ipaddress works in network layer (verify osi layer model). So, when the packet from the source reaches the destination, it will reach the datalink layer first, confirms the mac address then move on to network layer, map with the ipaddress and then move to reach the user step by step. Ipaddress can be changed where mac address couldnot be. Just for simplicity, consider like this
for a student:
student name - student roll number - student public exam number
using the student roll number, u can identify the student name and student exam number. For a host:
hostname - host ipaddress - host mac address
using the host ipaddress, u can identify the hostname and mac address.
(dont compare deeply )
__________________
**********
with Thanks and Regards,
[B][I][COLOR="DarkRed"]Anushya.G[/COLOR][/I][/B]:)
**********
Reply With Quote
The Following User Says Thank You to anushya For This Useful Post:
  #6 (permalink)  
Old 07-19-2007
Junior Member
 
Join Date: Jul 2007
Location: Chennai
Posts: 7
Thanks: 0
Thanked 3 Times in 3 Posts
kdeivasi is on a distinguished road
Re: IP address and MAC address

The Mac address is not a hierarchy one, but the IP address is.
This hierarchy is used to group the computers( in technical terms
network , sub-net , super-net). So that it is easy to deliver the data
to the particular network, from there it use L2 address to deliver to the
particulatr host( I mean with in the network).

Usually Routers are used to route the packets bet ween the networks.
Reply With Quote
Reply

  Geeks Talk > Networking


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
IP address timmy PHP 4 09-13-2008 08:06 AM
JavaScript form address field validations ashaflint JavaScript 7 10-25-2007 09:44 AM
website address validation needed psuresh1982 JavaScript 1 08-13-2007 10:13 AM
TCP/IP host address for installing Informatica Geek_Guest Data Warehousing 1 08-10-2007 10:37 AM
how is the address alignment achieved? prakash.kudrekar C and C++ 0 04-29-2007 04:06 PM


All times are GMT -4. The time now is 01:51 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved