Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 12:58:17 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Ruben de Groot <ruben@bzerk.org>
Cc:        freebsd-questions@FreeBSD.ORG, brooks@FreeBSD.ORG
Subject:   Re: gifconfig: interface gif0 does not exist
Message-ID:  <20011122125817.C48048@sunbay.com>
In-Reply-To: <20011122112401.A20438@ei.bzerk.org>
References:  <20011122112401.A20438@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 22, 2001 at 11:24:01AM +0100, Ruben de Groot wrote:
> 
> Hi,
> 
> I'm trying to set up a VPN between two routers on a private network. 
> Both routers are FreeBSD 4.4-stable and have "pseudo-device gif" in 
> their kernel-config.
> 
> When I issue the command:
> 
> router1# gifconfig gif0 inet 192.168.179.40 192.168.179.120
> 
> I get the errormessage:
> 
> gifconfig: interface gif0 does not exist
> 
> I read the manpages gif(4), gifconfig(8) and LINT, but didn't find any clues.
> Am I forgetting something? For example, is "options INET6" mandatory? I'm
> not using IPv6, so I commented that out of the kernel config file.
> 
You need to "ifconfig create" it first.  Have a look at /etc/defaults/rc.conf
on how to do it automatically.  Hint: search for "gif_interfaces".
Then put the necessary lines into your /etc/rc.conf.

Brooks, could you please document these knobs in the rc.conf(5) manpage?


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011122125817.C48048>