Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem NAT-PT.....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dashang
n00b
n00b


Joined: 22 Jul 2011
Posts: 40

PostPosted: Wed Aug 31, 2011 1:30 pm    Post subject: Problem NAT-PT..... Reply with quote

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..
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Thu Sep 01, 2011 12:00 pm    Post subject: Reply with quote

I don't fully follow your question but one thing is to make sure you have the relevant ipv6 use flags enabled.
For example for tcpdump.

Code:
vi /etc/portage/package.use
net-analyzer/tcpdump ipv6
Back to top
View user's profile Send private message
dashang
n00b
n00b


Joined: 22 Jul 2011
Posts: 40

PostPosted: Mon Sep 05, 2011 6:36 am    Post subject: Reply with quote

sir not getting ??? where is /etc/portage ???
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Mon Sep 05, 2011 7:53 am    Post subject: Reply with quote

This will explain in more detail then I can:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2
Back to top
View user's profile Send private message
dashang
n00b
n00b


Joined: 22 Jul 2011
Posts: 40

PostPosted: Tue Sep 06, 2011 5:07 am    Post subject: Reply with quote

still my question is alive .....
internal network of ipv4 reach IPv6 nodes on the Internet....


one more option is NAT64 ...but how to configure NAT64....????
do this all require DNS????

please suggest me??
Back to top
View user's profile Send private message
dashang
n00b
n00b


Joined: 22 Jul 2011
Posts: 40

PostPosted: Tue Sep 06, 2011 1:03 pm    Post subject: How to configure NAT64.... Reply with quote

my objective is my internal ipv4 network reach to internet ipv6....

for that i found that i have to configure NAT64...
but i dont know how to configure there is some third party utilities are available....

http://www.litech.org/tayga/
http://ecdysis.viagenie.ca/


do i need DNS64 that????

please guide me proper flow and steps for this....
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Sep 06, 2011 3:43 pm    Post subject: Reply with quote

Merged previous post.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum