LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-09-2005, 12:37 PM   #1
korenje
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
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.
 
Old 09-09-2005, 12:51 PM   #2
issinho
Member
 
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Rep: Reputation: 15
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.
 
Old 09-09-2005, 01:00 PM   #3
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
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
 
Old 12-31-2005, 12:41 AM   #4
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 210

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MAC address change of WD8013 NIC turnovg Linux - Networking 3 10-30-2009 10:27 AM
how to change MAC address cain_eve Linux - Software 11 02-05-2009 01:52 PM
change mac address possible? kahn Linux - Networking 4 04-22-2005 04:43 AM
MAC address change? w9q Linux - Networking 3 09-10-2004 02:42 AM
MAC address change not working mehargags Slackware 4 03-21-2004 11:08 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration