[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00854) Did you try NAT-PT with Linux?



Hello,

I'm trying NAT-PT. (implementation of
http://www.ipv6.or.kr/english/natpt-overview.htm) But it won't go
well.

I set up my three boxes, one is v4 only host, other is v6 only
host and last one is NAT-PT gateway. Then I ping-ed each
other. But it seemed that any packets weren't forwarded, and any
translation hasn't be done.

Are my settings wrong??? or... Does anyone try this NAT-PT? And
does that go well?


My configuration is there.

  [A]
   |.197
   |
---+--- x.y.z.0/24
   |
   |.161
 [npt]
   |:<npt's MAC>
   |
---+--- 3ffe:p:q:r::/64
   |
   |:<b's MAC>
  [b]

NAT-PT gateway [npt] has
	address (v6): 3ffe:p:q:r:<npt's MAC>/64
	address (v4): x.y.z.161/24
	NAT-PT's prefix: 3ffe:p:q:s::/64
	NAT-PT's pool address: x.y.w.0/24
	NAT-PT's pool address (DNS): 3ffe:p:q:r:<DNS's MAC>

IPv4 only host [A] has
	address (v4): x.y.z.197/24
	route: x.y.w.0/24 via x.y.z.161

IPv6 only host [b] has
	address (v6): 3ffe:p:q:r:<b's MAC>/64
	route: 3ffe:p:q:s::/64 via 3ffe:p:q:r:<npt's MAC>

Each node has
	Red Hat Linux 7.1
	Linux 2.4.7 + usagi-20010830
and NAT-PT is brought from http://www.ipv6.or.kr/


Then I tryed next commands, but no valid answers were returned.

b% ping6 3ffe:p:q:s::<A's IPv4 address in colon-ed hexadecimal>

NAT-PT said
	:
1	Calling Protocol Translator function PT_Translate_IPv6_Packet
2	ICMPv6 datagram found
3	In NAT_Translate_IPv6_To_IPv4
4	Current IPv6 address is 3ffe:p:q:r:<DNS's MAC>
5	Passed IPv6 address to NAT_Create_New_Mapping is 3ffe:p:q:r:<b's MAC>
6	Passed IPv6 port to NAT_Create_New_Mapping is 0
7	IPv4 address returned from NAT_Create_New_Mapping x.y.w.1
8	Port returned from NAT_Create_New_Mapping 0
9	IPv4 header created
10	Packet translated to output buffer
11	Looking through ARP tables for IP address <A's IPv4 address in hexadecimal>
12	x.y.z.197
13	Must send an ARP request
14	ARPv4Req packet written
15	Written packet to ARP request interface
16	ARP reply IP address is x.y.z.197
17	ARP Ether address being returned is <A's MAC>
18	Found ether entry by ARP request
19	IPv4 packet written
20	Calling Protocol Translator function PT_Translate_IPv4_Packet
21	Packet dropped from PT_Translate_IPv4_Packet
	:

A% ping x.y.w.1

NAT-PT said
	:
22	Calling Protocol Translator function PT_Translate_IPv4_Packet
23	ICMPv4 datagram found
24	Packet dropped from PT_Translate_IPv4_Packet
	:

Thank you.
--
       eS company, Toshiba Corp.
                   |
Nobuyuki Shimazu --^--v-- nobuyuki.shimazu at toshiba.co.jp
                      |
    Systems Integration Technology Center