From owner-freebsd-net@FreeBSD.ORG Fri May 25 20:01:00 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D0EA16A481 for ; Fri, 25 May 2007 20:01:00 +0000 (UTC) (envelope-from andrei.manescu@clicknet.ro) Received: from proxy3.romtelecom.net (proxy3.romtelecom.net [86.35.15.32]) by mx1.freebsd.org (Postfix) with ESMTP id 2ECF113C489 for ; Fri, 25 May 2007 20:00:58 +0000 (UTC) (envelope-from andrei.manescu@clicknet.ro) Received: (qmail 12979 invoked from network); 25 May 2007 19:33:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on proxy3 X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=HTML_50_60,HTML_MESSAGE autolearn=no version=3.1.8 Received: from ip4-83-240-46-91.cust.nbox.cz (HELO ivorde) (andrei.manescu@clicknet.ro@[83.240.46.91]) (envelope-sender ) by proxy3.romtelecom.net (qmail-ldap-1.03) with SMTP for ; 25 May 2007 19:33:38 -0000 Message-ID: <000e01c79f03$b2cfce70$5501a8c0@ivorde> From: "Andrei Manescu" To: Date: Fri, 25 May 2007 22:34:23 +0300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: two public ip addresses on one interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 20:01:00 -0000 Hello, If I want to put two public IP addresses, with different subnetmasks (my = ISP is changing some subnets and for two months I will be able to use = two public ip addresses) on the same interface (xl0) my rc.conf shuld = look like this: ifconfig_xl0=3D"inet 84.125.210.108 netmask 255.255.252.0" ifconfig_xl0_alias0=3D"inet 81.66.10.36 netmask 255.255.255.255" (this = ip address has mask /24 ) or is there any other possibility to have two ip addresses on the same = nic, besides aliases ?? Thank you in advance.