Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 09:43:52 +0100
From:      "Goran Dimov" <kefi@mol.com.mk>
To:        <freebsd-stable@freebsd.org>
Subject:   Re: freebsd 4.7-stable kernel gre support for squid's wccp cisco interaction
Message-ID:  <000e01c2be04$901cfa40$a95f6ed4@mol.com.mk>

next in thread | raw e-mail | index | archive | help
I know its an ugly hack, but it works for me. Try building the gre
interface and than destroying it, and then again rebuild, with enough
pause between each action. I am running this in a script called from
crontab, with timing set @reboot, but I guess its the same if you put it
in rc.d or similar place.

G-le


            /bin/sleep 20
            /sbin/ifconfig gre0 create
            /bin/sleep 20
            /sbin/ifconfig gre0 212.110.x.y 212.110.m.n netmask
255.255.255.255 link0 up
            /bin/sleep 20
            /sbin/ifconfig gre0 tunnel 212.110.x.y 212.110.m.n

            /bin/sleep 20
            /sbin/ifconfig gre0 destroy
            /bin/sleep 20
            /sbin/ifconfig gre0 create
            /bin/sleep 20
            /sbin/ifconfig gre0 212.110.x.y 212.110.m.n netmask
255.255.255.255 link0 up
            /bin/sleep 20
            /sbin/ifconfig gre0 tunnel 212.110.x.y 212.110.m.n


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?000e01c2be04$901cfa40$a95f6ed4>