LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   to change outgoing mac and ip address (https://www.linuxquestions.org/questions/linux-networking-3/to-change-outgoing-mac-and-ip-address-361800/)

korenje 09-09-2005 12:37 PM

to change outgoing mac and ip address
 
How can I change mac address or maybe even ip address from my pc. I'd like that remote pc would see different mac address and ip address.

issinho 09-09-2005 12:51 PM

NAT?
 
You could use another machine, Like IPCOP, and NAT. I know there's a way to spoof your MAC and IP, but I don't know why you'd want to. If you have a reason (that I don't really want to know about), then I would go that route. All you need a P.O.S computer w/ 2 Nics and the Install CD. That way, your PC is invisible and they only see the IPCOP box.

edong23 09-09-2005 01:00 PM

easy somethign like

ifconfig eth0 123.123.123.123 netmast 123.123.123.123 hw ether 00:00:00:00:00:00

as far as the ip goes, it has to be able to be used. if you are on a connection where the isp assigns vci/vpi then you cannot change your ip... but if you are on an ethernet connection ( atyour isp, not at your house) then you can assign any in the subnet, as long as it isnt being used. and of course you wouldnt use all 0s for mac address. make it comparible to yours, but different. and you might not get a connection.. also, you might not be able to do it unles you take the interface down first


ifconfig eth0 down

then

ifconfig eth0 123.123.123.123 netmast 123.123.123.123 hw ether 00:00:00:00:00:00 up

to bring it up like htat. good luck


you have to be root on my linux distros

aq_mishu 12-31-2005 12:41 AM

Trying to hack or crack a system by staying invisible?? good... yup.. that would work...


All times are GMT -5. The time now is 04:04 PM.