From owner-freebsd-net Thu Jan 16 11:22: 0 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 275AA37B413 for ; Thu, 16 Jan 2003 11:21:56 -0800 (PST) Received: from ns2.mol.com.mk (ns2.mol.com.mk [212.110.95.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 175AB43F3F for ; Thu, 16 Jan 2003 11:21:51 -0800 (PST) (envelope-from kefi@seir.net.mk) Received: (from uucp@localhost) by ns2.mol.com.mk (8.8.7/8.8.7) id UAA16168 for ; Thu, 16 Jan 2003 20:32:02 +0100 (CET) (envelope-from kefi@seir.net.mk) Received: from chupovski.mol.com.mk(212.110.95.169), claiming to be "chupovski" via SMTP by ns2.mol.com.mk, id smtpd016160; Thu Jan 16 20:31:59 2003 From: "Goran Dimov" To: Subject: Re: freebsd 4.7-stable kernel gre support for squid's wccp cisco interaction Date: Thu, 16 Jan 2003 20:20:57 +0100 Message-ID: <002c01c2bd94$65d0d6f0$a95f6ed4@mol.com.mk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 betwine 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-net" in the body of the message