Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-13-2005, 04:13 PM   #1
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
SNAT related question

When you do a SNAT on a connection, is only the IP replaced or both the source IP and the MAC ?
Old 01-13-2005, 11:56 PM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Both will be replaced , but keep in mind that you can't work with mac addresses when dealing with connections from the internet(or another network), because routers will replace the mac address when routing(with or without NAT). Therefore to the hosts on the LAN, any traffic that comes from beyond that router including the router itself will have the router's mac address.

Last edited by Demonbane; 01-13-2005 at 11:58 PM.


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
Boot-related question. wombat53 Slackware 55 06-21-2005 01:37 PM
c related question. blackzone Programming 1 07-24-2004 09:55 AM
nmblookup related question Menestrel Linux - Networking 1 05-14-2004 04:55 AM
DNS related question tusher Linux - Newbie 1 12-07-2003 02:03 PM
Vmware Related Question jon_k Linux - Software 2 07-22-2003 07:16 PM

All times are GMT -5. The time now is 05:48 AM.

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