
$Id: README.v6,v 1.1.2.1 1998/10/16 19:14:15 swright Exp $


This file contains some notes that may assist in the compilation and
configuration of IPv6 GateD.

Contents of README.v6
  - Compilation Options Summary
  - Example gated.conf



IPv6 Config Options Summary
---------------------------

What follows is a brief discussion of the IPv6-related Options for use in
the Config file used to compile GateD.  Note that the Config files used
internally at Merit can be found in src/configs/merit.kame*.

INET6, HYDRANGEA - Always use these for kame (kame used to be called
	"hydrangea").

ADD_DROP_API - Use this with implementations that use the socket options
	"IPV6_ADD_MEMBERSHIP" and "IPV6_DROP_MEMBERSHIP".  GateD defaults
	to IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP (as specified in 
	draft-ietf-ipngwg-bsd-api-new-02.txt).

DRAFT926 - Specify this Option if you're seeing errors like the following:

   Oct 14 05:42:59 NOTIFICATION sent to 3ffe:1c00:0:10::150 (External AS 201):
        code 3 (Update Message Error) subcode 9 (error with optional
	attribute) data

BGP4MP_BADNET_IGNORE - Ignore invalid unreachable multi-protocol routes
	(log warning instead of sending a NOTIFICATION to the peer).



Example IPv6 gated.conf
-----------------------

The following is a sample gated.conf with some new keywords required for
IPv6 GateD.

traceoptions "/var/log/gated.log"
        replace size 400k files 3 all;

as 64000;
routerid 192.168.10.205;

rip no;
ripng yes {
        interface de0 ripin ripout;
        interface de1 noripin noripout;
};

bgp4+ on {
        traceoptions packets;
        group type external peeras 64001 {
                peer 3ffe:1c00:0:10::150;
        };
};

static {
        default gw 192.168.10.1 retain;
	inet6 AAAA:BBBB:CCCC:: masklen 48 gw 3ffe:1c00:0:10::205;
};


export inet6 proto ripng {
        proto direct {
                all;
        };
        proto static {
                all;
        };
};

import inet6 proto bgp4+ as 64001 {
        all;
};

export inet6 proto bgp4+ as 64001 {
        proto static {
                all;
        };
};

