Re: ifconfig gif0 and rc.conf [was: Re: IP packet with options]



Dear Bruce

Thank you for a prompt response.

The command you give will set the two ends of the GIF connection and we are using it, but it is not the command that sets the physical ends of the tunnel.

We would expect something of the form

gifconfig_gif0="fec0::1 fec0::2"

but there appears to be no ipv6 form

Regards

Malcolm


Bruce Cran wrote:

Malcolm Clarke wrote:

We are trying to configure an IPv6 tunnel for IPSec, ie IPv6 in IPv6.

The command line would be

ifconfig gif0 inet6 tunnel src-addr dst_addr (IPv6 addresses)

There appears to be no equivalent line for rc.conf.

Regards

Malcolm


To configure an if_gif interface for IPv6 use:

ipv6_ifconfig_gif0="src-addr dst_addr"

--
Bruce


--
---------------------------------------------------
Dr Malcolm Clarke
Senior Lecturer in Data Communication Systems and Telemedicine
Department of Information Systems and Computing
Brunel University
Uxbridge
Middlesex
UB8 3PH
UK

Tel: +44 1895 265053
Fax: +44 1895 251686
http://www.brunel.ac.uk/about/acad/siscm/research/themes/is/groups/bright/people

----------------------------------------------------

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Newbie, Cisco 877, ipv6, IOS, completely stuck
    ... appears to support IPv6 (as per the Cisco website), ... The CLI (Command Line Interface) is a powerful interface, and still the choice of many. ... If you want to configure parameters you will need to enter "configuration mode". ...
    (comp.dcom.sys.cisco)
  • RE: IPv6 multi-NIC and routing table
    ... but did not find any API similar as CreateIpForwardEntry to create an IPv6 route. ... I suggest you trigger IPv6.exe command to add the route. ... For more details on this command utility, ... [Updating IPv6.exe Commands to Netsh Commands] ...
    (microsoft.public.win32.programmer.networks)
  • santy check: adding an ipv6 address for the first time ...
    ... in the past I have added additional IPv4 ... ifconfig fxp0 alias 192.168.0.2 netmask ... about issuing the wrong command and knocking it off ... Now, I have a real ipv6 connection, and am not ...
    (freebsd-questions)
  • santy check: adding an ipv6 address for the first time ...
    ... in the past I have added additional IPv4 ... ifconfig fxp0 alias 192.168.0.2 netmask ... about issuing the wrong command and knocking it off ... Now, I have a real ipv6 connection, and am not ...
    (freebsd-net)