LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-11-2006, 03:50 PM   #1
cristianpaul
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Rep: Reputation: 0
kind_of_nat


Hi, I connect my computer trough a router that assign me an ip ( the protocol is dhcp ). That one also does NAT, but I don't know if it does SNAT
(Sending network address translation) or DNAT (Destination network address translation ). What can I do to discover which kind of NAT it provides to me.

Thanks a lot. Bye Bye.
 
Old 12-11-2006, 04:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you can read the manual for the router... generally speaking a NAT is normally DNAT, but devices like ADSL routers do SNAT (Source NAT) or IP Masquarading to hide private lans behidn a public address.
 
Old 12-12-2006, 07:11 AM   #3
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
If an user,client,box from outside (initiating connection) requests to connect to any port of your router's-ip & its being forwarded to your box; then its DNATing what is done by your router, Though effectively it is also doing SNATing while sending these packets back.

If you open any website from your box; & then your router sends it OUT to internet; its SNAT. By the way SNAT is SourceNAT & not sendingNAT.
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration