Re: trouble with IPv6-in-ipv4 tunnel configuration
"Wang Hui" <[email protected]> Mon, 22 Mar 2004 16:28:05 +0800
| Newsgroups | gmane.os.openbsd.ipv6 |
|---|---|
| Message-ID | <00b001c40fe7$99623a30$4703a8c0@luster> |
Hi, Thorsten, I made the configuration according to your suggestion. But it still failed. Very strange. I used tcpdump to catch the packets in the device and found that: (1) on fxp0 there were ping icmp echo request and reply packets (encap), but (2) on gif0 there ware only ping icmp request packets, the reply packets all lost! very strange. I guess there was something wrong with my protocol stack configuration. or tunnel configuration? I am using OpenBSD3.4. Thanks again. Best regards, -- Hui, WANG InfoNet Lab,USTC http://if.ustc.edu.cn/~hwang ----- Original Message ----- From: "Thorsten Glaser" <[email protected]> To: "Wang Hui" <[email protected]> Cc: <[email protected]> Sent: Saturday, March 20, 2004 1:53 AM Subject: Re: trouble with IPv6-in-ipv4 tunnel configuration > Dixitur illum [email protected] scribere... > > >====================================== > >Your IPv6 address block is: 3ffe:3216:2101:21ff::/64 > >The tunnel broker's Ipv4 address is : 202.38.64.185 > >Your registered tunnel end's IPv4 address is: 202.38.75.76 > >The tunnel broker's IPv6 address is : 3ffe:3216:2101:2100::5 > >====================================== > > # ifconfig gif0 giftunnel 202.38.75.76 202.38.64.185 > # ifconfig gif0 inet6 3ffe:3216:2101:2100::6 3ffe:3216:2101:2100::5 prefixlen 128 alias > # route -n add -inet6 default fe80::%gif0 -mtu 1280 > # ifconfig fxp0 inet6 3ffe:3216:2101:21ff::1 prefixlen 64 alias > > If you did *not* get a hint saying your tunnel address > is 3ffe:3216:2101:2100::6, just leave the second line out. > Then you'll get an unnumbered tunnel, but that doesn't matter > as long as fxp0 (in this example) stays up. > (fxp0 is what I think the LAN interface would be) > > //Thorsten > -- > Solange man keine schmutzigen Tricks macht, und ich meine *wirklich* > schmutzige Tricks, wie bei einer doppelt verketteten Liste beide > Pointer XORen und in nur einem Word speichern, funktioniert Boehm ganz > hervorragend. -- Andreas Bogk über boehm-gc in d.a.s.r