473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Virtual MAC address

Hi Everyone,
Is it possible to put TWO mac address for a NIC interface so that one address behave as a virtaul mac address.? As I can change the MAC address by arp spoofing/MAC spoofing but when i will get arp reply it will not accepted because that MAC address is not actually bind so it will discarded. But If I want to work with that virtual MAC address. what I have to do ?


plz give some suggestion and guidance.
Feb 23 '07 #1
12 29363
sicarie
4,677 Expert Mod 4TB
Hi Everyone,
Is it possible to put TWO mac address for a NIC interface so that one address behave as a virtaul mac address.? As I can change the MAC address by arp spoofing/MAC spoofing but when i will get arp reply it will not accepted because that MAC address is not actually bind so it will discarded. But If I want to work with that virtual MAC address. what I have to do ?


plz give some suggestion and guidance.
What OS are you using?
Feb 23 '07 #2
Motoma
3,237 Expert 2GB
Hi Everyone,
Is it possible to put TWO mac address for a NIC interface so that one address behave as a virtaul mac address.? As I can change the MAC address by arp spoofing/MAC spoofing but when i will get arp reply it will not accepted because that MAC address is not actually bind so it will discarded. But If I want to work with that virtual MAC address. what I have to do ?


plz give some suggestion and guidance.
In both Windows and Linux you can change the MAC address that your network adapter uses. Is this what you want to do, or are you trying to get your machine to have two MAC addresses at once?
Feb 23 '07 #3
sicarie
4,677 Expert Mod 4TB
In both Windows and Linux you can change the MAC address that your network adapter uses. Is this what you want to do, or are you trying to get your machine to have two MAC addresses at once?
I did not know it was possible in Windows (I knew it was possible with Linux), I'm going to have to look into it.
Feb 23 '07 #4
Motoma
3,237 Expert 2GB
I did not know it was possible in Windows (I knew it was possible with Linux), I'm going to have to look into it.
Yup, possible in both. I'll post how, but I'm not sure this is what the OP is looking for.
Feb 23 '07 #5
Cyberdyne
627 Expert 512MB
I use a dual network card made by intel, you can simply get an extra nic and not worry about working with a virtual mac. It is possible to change your mac for sure, I have done this, you can even clone mac addresses both on the nic and in the router. As far as making a virtual one without the actual nic present I would say its theoretically possible, but you will have to fool your windows and possibly bios that there is one in an assigned irq. If somebody find any info on this, please post, very interesting question.

Cyber.
Feb 23 '07 #6
Motoma
3,237 Expert 2GB
I use a dual network card made by intel, you can simply get an extra nic and not worry about working with a virtual mac. It is possible to change your mac for sure, I have done this, you can even clone mac addresses both on the nic and in the router. As far as making a virtual one without the actual nic present I would say its theoretically possible, but you will have to fool your windows and possibly bios that there is one in an assigned irq. If somebody find any info on this, please post, very interesting question.

Cyber.
Well, you can make a NIC card act in promiscuous mode, and spoof MAC headers. Doing these two things in conjunction would effectively be equal to a "virtual MAC address."
Feb 23 '07 #7
What OS are you using?
Hi,
Thanks for ur reply,I am using Linux(2.6.13 kernel version).plz give some links related to it if u know.
Thanks.
Feb 24 '07 #8
In both Windows and Linux you can change the MAC address that your network adapter uses. Is this what you want to do, or are you trying to get your machine to have two MAC addresses at once?

Concept is like that , I am trying to implement a logic that machine have two MAC address at once ,from this one will behave as VIRTUAL.


my aim is :- when I will send a tcp/ip packet it will go with the original MAC address as source MAC address . IN case of arp :-for arp reply, virtual MAC address should be in use . at this point this virtual mac address should come into picture.

could u plz tell me is it possible to bind to MAC address for one NIC ? (what i have gone through from net and other books I think it is not possible) .
so that one can act as virtual. and fr DLL layer transforamtion i want to use that(arp purpose).If u have any suggestion plz tell me.
Thanks.........
Feb 24 '07 #9
In both Windows and Linux you can change the MAC address that your network adapter uses. Is this what you want to do, or are you trying to get your machine to have two MAC addresses at once?
OPERTAING SYSTEM IS LINUX(kernel version is 2.6.13)
Feb 24 '07 #10
Yup, possible in both. I'll post how, but I'm not sure this is what the OP is looking for.
Hi , Much thanks fr ur reply
I am loking fr LINUX operating system
Feb 24 '07 #11
Motoma
3,237 Expert 2GB
Hi , Much thanks fr ur reply
I am loking fr LINUX operating system
Expand|Select|Wrap|Line Numbers
  1. ifconfig wlan0 down
  2. ifconfig wlan0 ether 93:34:23:44:33:33
  3. ifconfig wlan0 up
  4.  
Replace wlan0 with your network card.
You will need to be root to do this.
Pay attention to the warnings and stipulations I make in this thread.
Feb 24 '07 #12
Well, you can make a NIC card act in promiscuous mode, and spoof MAC headers. Doing these two things in conjunction would effectively be equal to a "virtual MAC address."

Hi
could u plz explain me in detail how to do with spoofing of MAC header(virtual MAC address), I tried but i didn't get any solution .


Thanks....
Mar 3 '07 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Alfonso Morra | last post by:
Anyone knows why it is not possible (at least without a great deal of "jiggery-pockery" behind the scenes), to store objects that contain virtual functions in a shared memory block? I think I...
22
by: ypjofficial | last post by:
Hello All, While readling the C and C++ literature i came to know that the OS allocates separate protected memory space for each running program and the program do not interfare into one another's...
3
by: Krishna Sagiraju | last post by:
hai, can we convert virtual address to physical address using c/c++ ? thanx Krishna
4
by: nilesh | last post by:
Hello, I have a basic doubt. Consider following program : #include<stdio.h> int main() { int i, *ip; i = 10; ip = &i;
9
by: sushant | last post by:
hello, my question is related with the address of a variable in C. suppose if i am printing the address of a variable, so that address will be virtual address or physical address. and why it'll...
3
by: Nadav | last post by:
Hi I wonder... Is it possible to define the address to which shared memory will be mapped In other words is it possible to apriory define the address MapViewOfFile returns Dlls are being loaded...
20
by: sethukr | last post by:
hi, i need to store a value to a particular memory location without having a variable. So, how can i access a 'memory address' without using variables?? Is it possible in C??? Plz, help...
4
by: Anarki | last post by:
##include <iostream> using namespace std; class A { }; class B:virtual public A { }; class C:virtual public A
5
by: laxmi | last post by:
Hi, Can any one brief about the below question... 1) In which phase of compilation, virtual addresses are generated...? Thanks & regards
2
by: raashid bhatt | last post by:
Why is Address of Entry Point same for all PE ie every program i compile on windows IMAGE_SUBSYSTEM_GUI or IMAGE_SUBSYSTEM_CUI is having Address of Entry point some where near to 0x00401000 doesn't...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.