Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 16:05:25 +0100
From:      Vince Hoffman <Vince.Hoffman@uk.circle.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   gif config in rc.conf
Message-ID:  <3500515B75D9D311948800508BA37955014BE093@EX-LONDON>

next in thread | raw e-mail | index | archive | help
Hi all,	
	i'm having a bit of a problem getting my gif config to be setup 
on boot through rc.conf.
I followed the instructions in the handbook for setting up a vpn using 
gif devices, and it works fine, however the settings it suggest for
rc.conf dont seem to be working.
my entries in rc.conf look like this (with real IPs obviously)

gifconfig_gif0="213.249.x.x 213.86.x.x"
ifconfig_gif0="inet 10.9.0.66 192.168.1.254 netmask 0xffffffff"
static_routes="vpn1 vnp2 vpn3"
route_vpn1="192.168.1.0 192.168.1.254 netmask 0xffffff00"
route_vpn2="10.20.0.0 192.168.1.254 netmask 0xffffff00"
route_vpn3="10.21.0.0 192.168.1.254 netmask 0xffffff00"

but no gif device is configured on boot.
any suggestions as to what i am doing wrong/where to look ?
I couldnt find anything in dmesg or /var/log/messages

Thanks 
Vince

-----------------------------------------------------------------------
Vince Hoffman     Systems Administrator
Euro RSCG Circle (London)
P: 020 7959 7576  M: 0777 5822213
Icq: 50905590     PGP ID: 0xC859C861
"A vacuum is a hell of a lot better than some of the stuff that nature
replaces it with."
                -- Tennessee Williams
-----------------------------------------------------------------------



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