LinuxQuestions.org
Review your favorite Linux distribution.
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 08-31-2011, 08:32 AM   #1
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Rep: Reputation: 0
Problem NAT-PT.....


My objective :
internal network of ipv4 reach IPv6 nodes on the Internet....
i don't have Cisco device...so i m trying with http://tomicki.net naptd-0.4.2.tar.gz....
i have install naptd....now for configuration.....

Code:
[root@manage newroot]# usr/sbin/naptd-confmaker 
Ataga IPv4/IPv6 NAPT Configuration Maker
(c) 2005 by Lukasz Tomicki <tomicki@o2.pl>

Do you want to create a new configuration? [Y/n]

Do you want IPv4 addresses from the outside interfaces to be automatically used as part of the NAT pool? [Y/n]

Do you want to configure additional address as part of your NAT pool? [y/N]

Do you want to create a pool of public IPv4 addresses that will allow incoming connections to be dynamically mapped to appropriate IPv6 addresses? [y/N]

Do you want to create static mappings of public IPv4 addresses that will allow incoming connections to reach IPv6 hosts? [y/N]

Enter the name of the first inside (IPv6) interface that you want NAT-PT to listen on.
interface (eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8 eth9 eth10 eth11): eth7

Do you want to enter more interfaces? [y/N]
n
Enter the name of the first outside (IPv4) interface that you want NAT-PT to listen on.
interface (eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8 eth9 eth10 eth11): eth5

Do you want to enter more interfaces? [y/N]
n
Enter the TCP translation timeout in seconds [86400]: 
Enter the UDP translation timeout in seconds [3600]: 
Enter the ICMP translation timeout in seconds [30]: 

Enter the IPv6 prefix that will be used as the destination for translations.
prefix [2000:ffff::]: 

Please enter the IPv4 address of the DNS server you are currently using.
IPv4 DNS server: 10.104.1.1

You can configure hosts for automatic DNS translation by using the DNS server below.
IPv6 DNS Server: 2000:ffff::a68:101

Thank you for choosing Ataga as you IPv4/IPv6 NAT-PT solution.
Setup is now complete. Type 'naptd' to start NAT-PT.
Now hows its done.......

My eth5 ipv6 is 2000:470:1f01:115::4/64

eth7 which is ipv4 is 10.10.7.1......... and connected pc with this ip PC-1 ---> 10.10.7.2



Now as per the concept if i ping from PC-1 to any other machin...so in that machin it should be dispaly IPV6 in tcpdump...But NATING is not working perfectly.....
please suggest me how to done NATING in IPV6 case....



sorry for english..

Last edited by dashang.trivedi; 08-31-2011 at 09:08 AM.
 
Old 09-02-2011, 08:08 AM   #2
travisdh1
Member
 
Registered: Sep 2008
Distribution: Fedora
Posts: 129

Rep: Reputation: 22
IPV6 != NAT
IPV6 doesn't support NAT as whoever (the not so brilliant in my opinion) developed the protocol thought it was not needed. The original purpose of NAT being a hack to provide more computers network access without a public IP address. IPV6 being what it is we could give an IP address to every atom in the solar system and still not run out of address space. I guess they thought any added security benefit was not important either
 
Old 09-05-2011, 01:59 AM   #3
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Original Poster
Rep: Reputation: 0
sir u r right....but what about ipv4 means if the internal network of ipv4 and want reach IPv6 nodes on the Internet....?????
for that we have to go for nat64 but...how its done ???
 
Old 09-05-2011, 02:45 AM   #4
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Original Poster
Rep: Reputation: 0
and sir what about NAT64 ....

Code:
 * RFC 4213, Basic Transition Mechanisms for IPv6 Hosts and Routers
    * RFC 2766, Network Address Translation — Protocol Translation NAT-PT, obsoleted as explained in RFC 4966 Reasons to Move the Network Address Translator — Protocol Translator NAT-PT to Historic Status
    * RFC 2185, Routing Aspects of IPv6 Transition
    * RFC 3056, 6to4. Connection of IPv6 Domains via IPv4 Clouds
    * RFC 4380, Teredo: Tunneling IPv6 over UDP through Network Address Translations NATs
    * RFC 4798, Connecting IPv6 Islands over IPv4 MPLS Using IPv6 Provider Edge Routers (6PE)
    * RFC 5214, Intra-Site Automatic Tunnel Addressing Protocol ISATAP
    * RFC 3053, IPv6 Tunnel Broker
    * RFC 3142, An IPv6-to-IPv4 Transport Relay Translator
    * RFC 5569, IPv6 Rapid Deployment on IPv4 Infrastructures (6rd)
    * RFC 5572, IPv6 Tunnel Broker with the Tunnel Setup Protocol (TSP)
    * RFC 6180, Guidelines for Using IPv6 Transition Mechanisms during IPv6 Deployment
    * RFC 6343, Advisory Guidelines for 6to4 Deployment
http://txt.bitprocessor.be/2011/05/3...p-nat64-dns64/
http://www.litech.org/tayga/
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
NAT and NAT Server behind its own NAT(private network) zeusys Linux - Networking 1 06-08-2011 06:22 PM
Can I use NAT and some local hosts without NAT on linux box? tkmbe Linux - Networking 1 08-12-2010 02:38 PM
Nat problem aukuntin Linux - Networking 2 09-01-2008 01:20 AM
Susefirewall2 Nat Problem / nat 1:1 trubi Linux - Distributions 0 07-20-2004 05:50 AM
What's the difference between Linux-NAT and Sygate-NAT? yuzuohong Linux - Networking 0 08-07-2002 04:07 AM

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

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

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