From owner-freebsd-net@FreeBSD.ORG Tue Sep 7 07:38:29 2004 Return-Path: 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 502E716A4CE for ; Tue, 7 Sep 2004 07:38:29 +0000 (GMT) Received: from ubtc.kharkov.ua (relay.inprombank.com.ua [212.113.47.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 831C043D46 for ; Tue, 7 Sep 2004 07:38:27 +0000 (GMT) (envelope-from da@ubtc.kharkov.ua) Received: from sa.ubtc.kharkov.ua (sa.ubtc.kharkov.ua [192.168.3.1]) by ubtc.kharkov.ua (8.12.10/8.11.3) with ESMTP id i877cN0G003899; Tue, 7 Sep 2004 10:38:23 +0300 Date: Tue, 7 Sep 2004 10:38:23 +0300 (EEST) From: "Dmitriy V. Andrushko" To: kamal kc In-Reply-To: <20040907071030.53611.qmail@web13007.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: help:: configuring two network interfaces--message->>ifconfig: ioctl (SIOCAIFADDR): File exists X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 07:38:29 -0000 > ifconfig_rl1="inet 192.168.10.1 netmask 255.255.255.0" > ifconfig_rl0="inet 192.168.10.2 netmask 255.255.255.0" You can't have two network interfaces on the same subnet. You can configure your net next way: ifconfig_rl1="inet 192.168.10.1 netmask 255.255.255.0" ifconfig_rl0="inet 192.168.20.1 netmask 255.255.255.0"