From owner-freebsd-stable Fri Jan 17 0:44: 9 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46D5637B401 for ; Fri, 17 Jan 2003 00:44:08 -0800 (PST) Received: from amalthia.mol.com.mk (amalthia.mol.com.mk [212.110.95.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6575C43F6D for ; Fri, 17 Jan 2003 00:44:03 -0800 (PST) (envelope-from kefi@mol.com.mk) Received: from chupovski.mol.com.mk ([212.110.95.169] helo=chupovski) by amalthia.mol.com.mk with asmtp (Exim 3.36 #1) id 18ZS48-00029P-00 for freebsd-stable@freebsd.org; Fri, 17 Jan 2003 09:41:28 +0100 From: "Goran Dimov" To: Subject: Re: freebsd 4.7-stable kernel gre support for squid's wccp cisco interaction Date: Fri, 17 Jan 2003 09:43:52 +0100 Message-ID: <000e01c2be04$901cfa40$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-stable@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 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