Date: Thu, 23 May 2002 11:21:28 +0200 From: Erwan Arzur <erwan@free.fr> To: ilovefd <ilovefd@abelia.ocn.ne.jp> Cc: freebsd-questions@freebsd.org Subject: Re: My PC(FreeBSD4.5) cannot find gif0. Is there any changes of gif between FreeBSD4.2 and FreeBSD4.5? Message-ID: <3CECB498.3060508@free.fr> References: <0e4901c201e5$0aaf62c0$1601a8c0@ilovefd2k>
next in thread | previous in thread | raw e-mail | index | archive | help
ilovefd wrote:
> pseudo-device gif 4
now it should be
pseudo-device gif
as stated in item 20010724 of /usr/src/UPDATING. It also gives an hint
to solve your problem.
> gifconfig: interface gif0 does not exist
more /etc/rc.network
...
network_gif_setup() {
case ${gif_interfaces} in
[Nn][Oo] | '')
;;
*)
for i in ${gif_interfaces}; do
eval peers=\$gifconfig_$i
case ${peers} in
'')
continue
;;
*)
ifconfig $i create >/dev/null 2>&1
ifconfig $i tunnel ${peers}
;;
esac
done
;;
esac
}
so
ifconfig gif0 create
ifconfig gif0 tunnel 150.29.188.205 150.29.188.206
ifconfig gif0 inet <RFC 1918 addresses>
should make the trick, but i suggest editing /etc/rc.conf
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?3CECB498.3060508>
