From owner-freebsd-questions@FreeBSD.ORG Mon Feb 4 11:14:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F268B16A4C2; Mon, 4 Feb 2008 11:14:12 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (ns1.violetlan.net [80.81.242.5]) by mx1.freebsd.org (Postfix) with ESMTP id ACA9813C4DD; Mon, 4 Feb 2008 11:14:12 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (localhost [127.0.0.1]) by mail.violetlan.net (Postfix) with ESMTP id 996B711439; Mon, 4 Feb 2008 11:14:47 +0000 (GMT) Received: from www.violetlan.net (mbali.violetlan.net [10.0.100.150]) by mail.violetlan.net (Postfix) with ESMTP id 4DEA01142B; Mon, 4 Feb 2008 11:14:47 +0000 (GMT) Received: from 217.45.165.129 (SquirrelMail authenticated user freebsd@violetlan.net) by www.violetlan.net with HTTP; Mon, 4 Feb 2008 11:18:12 -0000 (GMT) Message-ID: <64255.217.45.165.129.1202123892.squirrel@www.violetlan.net> In-Reply-To: <47A60A10.80907@FreeBSD.org> References: <1201922586.00019085.1201909804@10.7.7.3> <47A4FB57.40203@FreeBSD.org> <1256.89.240.61.114.1202062849.squirrel@www.violetlan.net> <47A60A10.80907@FreeBSD.org> Date: Mon, 4 Feb 2008 11:18:12 -0000 (GMT) From: "Reinhold" To: "Alexander Motin" User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Reinhold , freebsd-questions@freebsd.org Subject: Re: mpd with a dual pppoe setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 11:14:13 -0000 > >>> If you are connecting to the ISP it would be better not to specify IP >>> to let them be negotiated. >> >> How will I go ahead and set the static ips for both my wan connections? >> > > If IPs are static then provider itself will negotiate them every time > same. If you will specify them and provider will request another, > negotiation will fail. So I would not recommend you to specify them. > Hi I spoke to our ISP today. I asked them if they can set one of my ips as the main ip that will be assigned every time I dail in and they told me no they can't do it because of some security thing on there side :-S Basicaly how they explained it to me is because I have 5 ips, when we dail in we get assigned a dynamic ip and on top of that I have to manually set the 5 ips to what ever services I would like them to be used for. If I want my WAN2 connection to use one of the 5 ips I have to manually set it so that all my out going connections will be using that ip. For this reason I have changed my WAN2 settings to this in the config file. set ipcp ranges my-first-static-ip/32 isp-gateway/32 I know you said its not recommended, but I need to use this ip and my isp can't set that for me. Also once I have a use for the other ips, how can I add them? Can I create ip aliases for ng1 in the same way I will normally do by adding them to my rc.conf file? Thanks for all the help Reinhold