From owner-freebsd-stable Sun Oct 13 8:36:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 174A737B401; Sun, 13 Oct 2002 08:36:20 -0700 (PDT) Received: from home.krad.org.uk (host217-39-78-190.in-addr.btopenworld.com [217.39.78.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61AA643E91; Sun, 13 Oct 2002 08:36:18 -0700 (PDT) (envelope-from c.scott@uk.tiscali.com) Received: from viper.intranet ([192.168.0.241] helo=viper) by gateway.intranet with smtp (Exim 4.10) id 180kmY-0008fX-00; Sun, 13 Oct 2002 16:35:54 +0100 Message-ID: <005a01c272ce$44b0c4a0$f100a8c0@viper> From: "chris scott" To: , , Subject: Ifconfig config of gif tunnels Date: Sun, 13 Oct 2002 16:36:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've just cvsed up and made world to freebsd 4.7 stable, without a hitch. However when I rebooted my machine the vpn tunnel which it was running wouldnt come back up. After a while of checking configs and poking around I found it was because the gif interfaces were cinfigured and not up. A simple ifconfig gif0 up fixed this. I have never had to do this before as when I have created gif interfaces the device was automatically up, this doesnt seem to be the case anymore. Is this a new feature or a bug? example root on gateway# ifconfig gif3 ifconfig: interface gif3 does not exist root on gateway# ifconfig gif3 create tunnel 1.2.3.4 5.6.7.8 root on gateway# ifconfig gif3 inet 192.168.0.1 192.168.0.2 netmask 255.255.255.252 root on gateway# ifconfig gif3 gif3: flags=8050 mtu 1280 tunnel inet 1.2.3.4 --> 5.6.7.8 inet 192.168.0.1 --> 192.168.0.2 netmask 0xfffffffc root on gateway# ifconfig gif3 up root on gateway# ifconfig gif3 gif3: flags=8051 mtu 1280 tunnel inet 1.2.3.4 --> 5.6.7.8 inet 192.168.0.1 --> 192.168.0.2 netmask 0xfffffffc root on gateway# Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message