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

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! The command:

ifconfig gif0 create tunnel 192.168.179.40 192.168.179.120

Did the trick. My VPN seems to be working flawless now.

On Thu, Nov 22, 2001 at 12:58:17PM +0200, Ruslan Ermilov wrote:
> 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?20011122122258.A20652>