[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setup gif tunnel at boottime
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Setup gif tunnel at boottime
- From: Matthias Teege <matthias-obsdmisc_(_at_)_mteege_(_dot_)_de>
- Date: Mon, 3 Feb 2003 20:13:56 +0100
- Mail-followup-to: Matthias Teege <matthias-obsdmisc_(_at_)_mteege_(_dot_)_de>, misc_(_at_)_openbsd_(_dot_)_org
- Reply-to: matthias-obsdmisc_(_at_)_mteege_(_dot_)_de
Moin,
I have a lokal IPv6 tunnel from a OpenBSD Router to a FreeBSD Router.
If I setup this one from the command line with:
ifconfig gif0 giftunnel 192.168.9.9 192.168.9.11
ifconfig gif0 inet6 3ffe:b80:19c1:9:202:b3ff:fe88:b2c7 3ffe:b80:19c1:9:2a0:c9ff:fe93:13bf prefixlen 128 alias
route add -inet6 default 3ffe:b80:19c1:9:2a0:c9ff:fe93:13bf
things work.
Now I try to setup it at boottime and create a hostname.gif0
giftunnel 192.168.9.9 192.168.9.11
inet6 3ffe:b80:19c1:9:202:b3ff:fe88:b2c7 3ffe:b80:19c1:9:2a0:c9ff:fe93:13bf prefixlen 128
I also add »mygate6« to netstart.
But after rebooting or running /etc/netstart ifconfig gif0 gives me:
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
physical address inet 192.168.9.9 --> 192.168.9.11
inet6 fe80::202:b3ff:fe1f:aeba%gif0 -> prefixlen 64 scopeid 0x13
The IPv6 addresses aren't there and I can't set it via commandline.
ifconfig gif0 inet6 3ffe:b80:19c1:9:202:b3ff:fe88:b2c7 3ffe:b80:19c1:9:2a0:c9ff:fe93:13bf prefixlen 128 alias
only gives me
ifconfig: SIOCAIFADDR: File exists
What do I missing?
Many thanks
Matthias
--
Matthias Teege -- http://www.mteege.de
make world not war
PGP-Key auf Anfrage
Visit your host, monkey.org