LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 01-13-2005, 03:13 PM   #1
Menestrel
Member
 
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, 10:56 PM   #2
Demonbane
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 10:58 PM.
 
  


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


All times are GMT -5. The time now is 11:51 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