From owner-freebsd-questions@FreeBSD.ORG Thu Apr 6 09:04:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A79616A422 for ; Thu, 6 Apr 2006 09:04:24 +0000 (UTC) (envelope-from plaine@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 166C743D49 for ; Thu, 6 Apr 2006 09:04:23 +0000 (GMT) (envelope-from plaine@gmail.com) Received: by zproxy.gmail.com with SMTP id l8so84647nzf for ; Thu, 06 Apr 2006 02:04:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=AyxptXgCS31+jlgaGzZzldXEt8O5Q1xJk5hxCLNImRnyY6qSDAhtX2vnPEwrT2FoQlhClzoG49FsG4vxYQe3n3QKWUUmnj4mJdr2tkDzQ20JtmtIlIMRLDmlTJMjpGa/DkBq2UXr5Up0KaCQPnaJrP0Lnw7uh1Wyp34rmVceWpY= Received: by 10.36.128.18 with SMTP id a18mr708137nzd; Thu, 06 Apr 2006 02:04:23 -0700 (PDT) Received: by 10.36.43.11 with HTTP; Thu, 6 Apr 2006 02:04:23 -0700 (PDT) Message-ID: Date: Thu, 6 Apr 2006 12:04:23 +0300 From: "Perttu Laine" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: adding ip:s with different gateway 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: Thu, 06 Apr 2006 09:04:24 -0000 I have currently ip:s from block ...125.192/26 on my freebsd server. with gateway ...125.193. added via rc.conf: defaultrouter=3D"...125.193" ifconfig_rl0=3D"inet ...125.194 netmask 255.255.255.192" ifconfig_rl0_alias0=3D"inet ...125.195 netmask 255.255.255.255" ifconfig_rl0_alias1=3D"inet ...125.196 netmask 255.255.255.255" ifconfig_rl0_alias2=3D"inet ...125.197 netmask 255.255.255.255" and so on. Now I got new block from isp: ...122.192/26 with gw ...122.193. So question is how to add ip's from this block to same server? With ipconfi= g etc. tools and with rc.conf? -- kpn @ IRCnet