From owner-freebsd-net@FreeBSD.ORG Thu Oct 24 21:08:49 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E2E469B7 for ; Thu, 24 Oct 2013 21:08:49 +0000 (UTC) (envelope-from mrstalker@simvol7.ru) Received: from smtp1.mtw.ru (smtp.mtw.ru [37.228.88.77]) by mx1.freebsd.org (Postfix) with ESMTP id A17B02B13 for ; Thu, 24 Oct 2013 21:08:48 +0000 (UTC) Received: from mail.mtw.ru (unknown [93.95.102.138]) (Authenticated sender: mrstalker-simvol7ru) by smtp1.mtw.ru (Postfix) with ESMTPA id 1E8E4DDB1 for ; Thu, 24 Oct 2013 22:23:00 +0400 (MSK) Received: from 37.147.154.147 (SquirrelMail authenticated user mrstalker-simvol7ru); by mail.mtw.ru with HTTP; Fri, 25 Oct 2013 00:42:15 +0400 (MSK) Message-ID: <63600.37.147.154.147.1382647335.squirrel@37.147.154.147> Date: Fri, 25 Oct 2013 00:42:15 +0400 (MSK) Subject: How delete the interface route in FreeBSD 9.2 (MPD5)? From: "MrStalker" To: freebsd-net@freebsd.org. User-Agent: SquirrelMail/1.5.0 X-Priority: 3 Importance: Normal MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mrstalker@simvol7.ru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 21:08:50 -0000 Hello! For my internet provider (L2TP VPN connection) is required a route to the VPN server via local gate. I'm using MPD5. But, MPD5 creates route to the VPN server via its same interface... root@Eviko:/home/mrstalker # netstat -nrf inet Routing tables Internet: Destination       Gateway           Flags   Refs     Use Netif Expire default           85.21.230.206     UGS        0       8   ng0 85.21.230.206     link#7            UH         0       8   ng0 What will not work... However earlier, it was possible delete this route and then create right route. root@Test2:/home/mrstalker # route delete 85.21.230.206 delete host 85.21.230.206 root@Test2:/home/mrstalker # route add 85.21.230.206 10.165.32.1 add host 85.21.230.206: gateway 10.165.32.1 When i trying FreeBSD 9.2, this is no longer working... Thread about it at the forum http://forums.freebsd.org/showthread.php?t=42547 Later I found source of problem: http://svnweb.freebsd.org/base?view=revision&revision=248895 Now I can't delete the interface route (ng0). What does impossible work with the internet provider. How? How now resolve this problem? I need to add route to the vpn server via local gate... Please help me resolve this trouble. Since the release of FreeBSD 9.2 I trying to find a solution.