I would like to encapsulate IPv6 packets within an IPv6 GRE tunnel (ie
on IPv6 transport). I can do this with a Cisco router, but the "ip"
command does not support GRE with IPv6. Is the capability to create an
IPv6 GRE planned feature of the "ip" command? If not, is there anything
else with Linux that supports creation of GRE tunnels on IPv6 transport?
Thanks,
Bill Cerveny
/sbin/ip -6 tunnel help
Usage: ip -f inet6 tunnel { add | change | del | show } [ NAME ]
[ mode { ip6ip6 | ipip6 | any } ]
[ remote ADDR local ADDR ] [ dev PHYS_DEV ]
[ encaplimit ELIM ]
[ hoplimit TTL ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ]
[ dscp inherit ]
Where: NAME := STRING
ADDR := IPV6_ADDRESS
ELIM := { none | 0..255 }(default=4)
TTL := 0..255 (default=64)
TOS := { 0x0..0xff | inherit }
FLOWLABEL := { 0x0..0xfffff | inherit }
/sbin/ip tunnel help
Usage: ip tunnel { add | change | del | show } [ NAME ]
[ mode { ipip | gre | sit | isatap } ] [ remote ADDR ] [ local
ADDR ]
[ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ]
[ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]
Where: NAME := STRING
ADDR := { IP_ADDRESS | any }
TOS := { NUMBER | inherit }
TTL := { 1..255 | inherit }
KEY := { DOTTED_QUAD | NUMBER }
--
To UNSUBSCRIBE, email to debian-ip...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1299703710.27...@webmail.messagingengine.com
On Wed, 2011-03-09 at 15:48 -0500, Bill Cerveny wrote:
> I would like to encapsulate IPv6 packets within an IPv6 GRE tunnel (ie
> on IPv6 transport). I can do this with a Cisco router, but the "ip"
> command does not support GRE with IPv6. Is the capability to create an
> IPv6 GRE planned feature of the "ip" command? If not, is there anything
> else with Linux that supports creation of GRE tunnels on IPv6 transport?
>
> Thanks,
>
> Bill Cerveny
>
> /sbin/ip -6 tunnel help
> Usage: ip -f inet6 tunnel { add | change | del | show } [ NAME ]
> [ mode { ip6ip6 | ipip6 | any } ]
I guess what you're searching for is the "ip6ip6" tunnel. GRE is IPv4
only, but IPIP tunneling should work just fine with ipv6.
--
Best regards,
Kilian
I'm aware of IPv6 in IPv6 tunneling, but I really did want GRE tunneling
over IPv6 to reduce variability between IPv4 and IPv6 environments for a
specific application.
I'm sort of puzzled why GRE isn't implement with "ip" in IPv6.
Thanks,
Bill
On Thu, 10 Mar 2011 09:27 +0100, "Kilian Krause" <kil...@debian.org>
wrote:
> Email had 1 attachment:
> + signature.asc
> 1k (application/pgp-signature)
--
To UNSUBSCRIBE, email to debian-ip...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1299876816.23...@webmail.messagingengine.com
On Fri, 2011-03-11 at 15:53 -0500, William Cerveny wrote:
> Hi Kilian,
>
> I'm aware of IPv6 in IPv6 tunneling, but I really did want GRE tunneling
> over IPv6 to reduce variability between IPv4 and IPv6 environments for a
> specific application.
>
> I'm sort of puzzled why GRE isn't implement with "ip" in IPv6.
as you can clearly see from the ip_gre module code in linux-2.6
(http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=net/ipv4/ip_gre.c;hb=b790e01aee74c23a5d92576177934f13aa51f718) there is no 128bit representation for source/destination and thus no ipv6 support built in. I guess that's why you will fail setting it up with iproute even if the client would allow to use ipv6.
--
Best regards,
Kilian