Re: Improvement suggestion for 6in4 docs.
On Wed, Aug 18, 2004 at 08:52:18AM +1000, Craig Small wrote:
> On Fri, May 11, 2001 at 04:59:41PM -0700, elf@florence.buici.com wrote:
> > 6in4 address. What I finally did was add the following to my
> > interfaces file:
> >
> > iface eth0 inet6 static
> > address 2002:ce7c:8e1c::1:1
> > netmask 48
> > up ip link set sit0 up
> > up ip addr add 2002:ce7c:8e1c::1 dev sit0
> > up ip route add 2000::0/3 via ::131.107.152.32
> > down ip link set sit0 down
>
> Asking the list in general, is this the right way to set this up?
> I'm going to be updating my IPv6 pages and would like to get it
> right.
The sit interfaces can also be configured with /etc/network/interfaces
so I find the following works perfectly well:
iface eth0 inet6 static
address 2002:xxxx:yyyy::2
netmask 64
iface sit0 inet6 static
address 2002:xxxx:yyyy::1
netmask 128
gateway ::192.88.99.1
pre-up /usr/local/sbin/firewall6
There is no real reason for bringing sit0 up and down at the same time as
eth0.
Cheers,
Dominic.
Reply to: