From owner-freebsd-net@FreeBSD.ORG Thu Feb 23 12:34:53 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 4181C16A422 for ; Thu, 23 Feb 2006 12:34:53 +0000 (GMT) (envelope-from subscriber@osk.com.ua) Received: from gandalf.osk.com.ua (osk.com.ua [195.5.17.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 555B343D46 for ; Thu, 23 Feb 2006 12:34:51 +0000 (GMT) (envelope-from subscriber@osk.com.ua) Received: from localhost (localhost [127.0.0.1]) by gandalf.osk.com.ua (Postfix) with ESMTP id 7181D78C21 for ; Thu, 23 Feb 2006 14:40:10 +0200 (EET) Received: from gandalf.osk.com.ua ([127.0.0.1]) by localhost (gandalf.osk.com.ua [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65869-08 for ; Thu, 23 Feb 2006 14:40:09 +0200 (EET) Received: from OLEG (unknown [192.168.82.111]) by gandalf.osk.com.ua (Postfix) with ESMTP id CEB7E78C20 for ; Thu, 23 Feb 2006 14:40:09 +0200 (EET) Date: Thu, 23 Feb 2006 14:34:41 +0200 From: Oleg Tarasov X-Mailer: The Bat! (v3.64.01 Christmas Edition) Professional X-Priority: 3 (Normal) Message-ID: <1775760256.20060223143441@osk.com.ua> To: freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at osk.com.ua Cc: Subject: ifstated fails to monitor netgraph interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD MailList List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 12:34:53 -0000 Hello, I am building a failover system. I have two Internet interfaces - one simple Ethernet connection fxp1 and a PPPoE connection established using mpd ng0. I tried to use ifstated to monitor connections. For Ethernet connection a ping test is run and for PPPoE I wanted to use built-in test like ng0.link.up but this one always fails. As I can see ifstated can't for some reason monitor netgraph interface's status. It would be almost normal to use a ping test in this case, but if ethernet interface that has a default route is working, ping test for PPPoE router will not fail as this router will be reachable via ethernet interface. So the ping test is not appliable here. Anyway PPPoE has an excellent LCP mechanism to watch connectivity and it would be great to use it in this case. Please suggest me what can I use to solve this problem. Maybe there is another ifstated-like daemon with maybe more advanced test capability I can use in my situation as I have not found any acceptable. -- Best regards, Oleg Tarasov mailto:subscriber@osk.com.ua