Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 16:36:16 +0100
From:      "chris scott" <c.scott@uk.tiscali.com>
To:        <freebsd-network@freebsd.org>, <freebsd-questions@freebsd.org>, <freebsd-stable@freebsd.org>
Subject:    Ifconfig config of gif tunnels
Message-ID:  <005a01c272ce$44b0c4a0$f100a8c0@viper>

next in thread | raw e-mail | index | archive | help



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<POINTOPOINT,RUNNING,MULTICAST> 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<UP,POINTOPOINT,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005a01c272ce$44b0c4a0$f100a8c0>