My machine has ONE ethernet card
and is on a LAN.
IP address is assigned to hosts using DHCP.
I can have more than one MAC address on LAN by running Virtual Machine and setting network to bridged
. This way, my virtual machine simply acts like there is one more machine in the network.
Running VMWare for this job is a a bit heavy on resources. Is there a way so that I can I can have 2 or more ip addresses with different MAC address on the same machine without having to run VirtualBox.
By googling, I think its related to bridging and tap. And, I am sure that its NOT IP-ALIASING because in ip-aliasing both the ip addresses have the same MAC address.
Basically, I want my system to have interfaces like:-
- eth0 - which was originally present
- lo - thats always present :|
- newint0 - New interface with new MAC address and IP addresses which can access my LAN directly. Its like if I bind, let us suppose curl to this interface, its like a different connection
- newint1 - . . . . .