gif config in rc.conf

Vince Hoffman Vince.Hoffman at uk.circle.com
Fri Sep 26 08:05:23 PDT 2003


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
-----------------------------------------------------------------------


More information about the freebsd-questions mailing list