[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gif interface
- Subject: gif interface
- From: [email protected] (Pim van Pelt)
- Date: Sat, 16 Dec 2000 00:09:03 +0100 (CET)
- In-reply-to: <[email protected]> from Li Hong at "Dec 16, 2000 03:41:09 am"
Dear Jeff,
> Hi,
>
> I am confused how to enable gif interface in my
> freebsd box? Can someone give me a clue?
For help on manual setups on various unix-alike Operating
Systems, please visit http://www.ipng.nl/, section OS Setup.
For FreeBSD, things go something like:
# gifconfig gif0 <yourIPv4> <theirIPv4>
# ifconfig gif0 inet6 <yourIPv6> <theirIPv6> prefixlen <number>
Normally, you would also say something like:
# route add -inet6 default <theirIPv6>
and, if you plan to route traffic, you'd set your primary
ethernet card to some address:
# ifconfig fxp0 inet6 <someIPv6> prefixlen <someprefix>
# sysctl -w net.inet6.ip6.forwarding=1
This last statement tells the kernel to forward IPv6 packets
between interfaces (in your case between fxp0 and gif0)
regards,
Pim van Pelt
--
---------- - - - - -+- - - - - ----------
Pim van Pelt Email: [email protected]
http://www.wise-guys.nl/ GSM: +31629064049
-----------------------------------------------