(usagi-users 03514) Re: How to create an ip6-in-ip6 tunnel and ip4-over-ip6 tunnel in linux ??
Noriaki TAKAMIYA <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
>> Thu, 6 Oct 2005 17:08:48 +0530 >> [Subject: Re: (usagi-users 03510) How to create an ip6-in-ip6 tunnel and ip4-over-ip6 tunnel in linux ??] >> Pramendra Singh <[email protected]> wrote... > hi, > > Thanks for your kind help. > > I really needed this. Thanks a lot! > > But I have got one doubt that I need to add route or not after doing > this?? > here is what I have to configure. please check it and suggest if you get > time > > configure a tunnel with SRC = 3ffe:501:481d:f002::1 > DST=3ffe:501:481d:f002::3 > > which transmits a packet to 3ffe:501:481d:f004::/64 As you say, you should add the routing informaiton. You can use route or ip command as usual. e.g. ip -f inet6 # ip -f inet6 route add 3ffe:501:481d:f004::/64 dev mytun0 # ip -f inet6 route 3ffe:501:481d:f004::/64 dev mytun0 metric 1024 mtu 1460 advmss 1400 metric10 64 -- Noriaki Takamiya