Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Networking (https://www.cableforum.uk/board/forumdisplay.php?f=87)
-   -   MAC address (https://www.cableforum.uk/board/showthread.php?t=33637687)

rkruz 19-08-2008 04:27

MAC address
 
Does the source MAC address stay in the datagram throughout its passing though the internet? Or is that replaced with each hop with the new hop source?

tavon 19-08-2008 07:07

Re: MAC address
 
The source and destination MAC address changes as it goes through networks only the source and destination IP address stays the same.

Dai 19-08-2008 08:44

Re: MAC address
 
Interesting. This is an area where my understanding is a bit vague.

As a packet goes through a series of routing devices does each one substitute it's own MAC address for the source?

That being the case presumably the destination each time is the next 'hop' along the route?

tavon 19-08-2008 16:12

Re: MAC address
 
yes that's right

rkruz 19-08-2008 16:34

Re: MAC address
 
very good. thank you

Dai 19-08-2008 19:46

Re: MAC address
 
Brief but to the point.

Cheers.

:)

rkruz 19-08-2008 20:42

Re: MAC address
 
I know all MACs are supposed to be unique.....but....what happens on a LAN if two adapters have identical addresses?

Jon T 19-08-2008 20:50

Re: MAC address
 
it plays havoc with ARP requests

http://en.wikipedia.org/wiki/Address...ution_Protocol

tavon 19-08-2008 21:09

Re: MAC address
 
Quote:

Originally Posted by rkruz (Post 34624406)
I know all MACs are supposed to be unique.....but....what happens on a LAN if two adapters have identical addresses?

MAC Addresses are controlled by the Institute of Electrical and Electronics Engineers, it is a 48 bit hexadecimal address the first 24 bits are assigned by the Institute of Electrical and Electronics Engineers as a vendor code, the other 24 bits are for the vendor to give to each Network Interface Card a unique address. there cannot be two Network Interface Cards with the same MAC address.

of course there is MAC address spoofing which can clone a MAC address which can complicates things.

Two hosts with the same IP address on the same network would cause a conflict as Jon T has pointed out.

rkruz 19-08-2008 21:47

Re: MAC address
 
How about this also? What happens if you could build a sniffer computer to put on a LAN with a duplicate and valid MAC address. And you build the sniffer to not respond to ARP requests, therefor it does not show in the ARP table with different IP and duplicate MAC. Would this sniffer then happily receive all the data meant for the other duplicated PC without detection by viewing the ARP table.

---------- Post added at 20:47 ---------- Previous post was at 20:41 ----------

Quote:

Originally Posted by tavon (Post 34624443)
MAC Addresses are controlled by the Institute of Electrical and Electronics Engineers, it is a 48 bit hexadecimal address the first 24 bits are assigned by the Institute of Electrical and Electronics Engineers as a vendor code, the other 24 bits are for the vendor to give to each Network Interface Card a unique address. there cannot be two Network Interface Cards with the same MAC address.

of course there is MAC address spoofing which can clone a MAC address which can complicates things.

Two hosts with the same IP address on the same network would cause a conflict as Jon T has pointed out.

Its the "can complicate things" I am interested in.

Dai 19-08-2008 22:04

Re: MAC address
 
I'm not sure that's an appropriate subject for this forum. Kinda falls into the 'hacking' arena.

tavon 19-08-2008 22:16

Re: MAC address
 
Quote:

Originally Posted by DaiNasty (Post 34624495)
I'm not sure that's an appropriate subject for this forum. Kinda falls into the 'hacking' arena.

I agree, there are very few legitimate reasons for cloning a MAC address.

rkruz 20-08-2008 00:35

Re: MAC address
 
Quote:

Originally Posted by tavon (Post 34624516)
I agree, there are very few legitimate reasons for cloning a MAC address.

you are not informed then. To suggest this is not an appropriate topic is simply ignorance. There are many legitimate reasons for cloning a MAC address. I will mention but a few.

Legitimate uses of MAC spoofing
An example of a legitimate use of MAC spoofing is hanging the function of a single computer from a router to computer and back to router through MAC spoofing. If you only have a single public IP, you can only hook up one unit
directly (PC or router). If one has two WAN IPs, the MAC address of the two devices must be different. For whatever reason, if one needs to swap 2 PC's regularly to connect to the cable modem, it would be a lot easier to change the MAC addresses rather than to change the Network Interface Card (NIC). Many cable modem routers have a "Clone MAC Address" feature built-in for this. (In reality, the easiest way to enable two machines to access the same ISP from the same location is to use a cable modem router like LinkSys, which allows multiple MACs to use a single ISP connection.)

Dai 20-08-2008 09:22

Re: MAC address
 
Quote:

Originally Posted by rkruz (Post 34624652)
Legitimate uses of MAC spoofing
An example of a legitimate use of MAC spoofing is hanging the function of a single computer from a router to computer and back to router through MAC spoofing.

One example, but very different to what you were suggesting earlier.

Let's see you make a valid case for a 'sniffer'

Raistlin 20-08-2008 10:56

Re: MAC address
 
I'm in agreement with DaiNasty here - if you guys want to avoid the closure of this thread then you need to be very careful.

Whilst a dicussion of the legitimate uses for MAC changing will be tolerated, if you start to drift into topics which breach our Terms of Use or which might be seen to be aiding in illegal activities of any kind (for example theft of service) you will find this thread closed very quickly.

Given the ease with which you can a) find the MAC address of your own PC (or any other PC to which you have legitimate access), and b) change that MAC address, I'm not sure why you would want to build a 'sniffer' of the kind you're asking about.....perhaps you'd care to expand on that slightly to avoid any nasty confusion.....?


All times are GMT +1. The time now is 19:16.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum