From owner-freebsd-questions Thu Jul 27 21:49:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from glitch.crosswinds.net (glitch.crosswinds.net [209.208.163.35]) by hub.freebsd.org (Postfix) with ESMTP id EC38D37B9C5 for ; Thu, 27 Jul 2000 21:49:51 -0700 (PDT) (envelope-from vitaminoid@royal.net) Received: from unspecified.host (dialup106.as5300.sakhalin.ru [195.72.254.106]) by glitch.crosswinds.net (8.9.3/8.9.3) with SMTP id AAA32825 for ; Fri, 28 Jul 2000 00:49:45 -0400 (EDT) (envelope-from vitaminoid@royal.net) Received: from 10.0.1.102 ([10.0.1.102]) by 10.0.1.102 (WinRoute Pro 4.1) with SMTP; Fri, 28 Jul 2000 15:50:41 +1100 Date: Fri, 28 Jul 2000 15:50:41 +1100 From: Vitaminoid X-Mailer: The Bat! (v1.44) Reply-To: Vitaminoid X-Priority: 3 (Normal) Message-ID: <142188152729.20000728155041@royal.net> To: FreeBSD-questions Subject: ifconfig problem Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got the following newbie problem There is a FreeBSD 4.0 box with two interfaces: Dlink DFE530TX+ Realtek 8029 FreeBSD shows there are two interfaces - rl0 and ed0.. at first i thought rl0 is Realtek, but it is vice versa.. I need to have these cards set to the following ip's: Dlink - 10.0.1.105 (255.255.255.0) Realtek - 132.124.12.10 (255.255.255.0) the following commands: ifconfig rl0 inet 10.0.1.105 netmask 255.255.255.0 and the same on ed0 make interfaces work right, pinging is ok for both but when i make the same things in the rc.conf: hostname="free.stm" network_interfaces="lo0 rl0 ed0" ifconfig_lo0="inet lo0 127.0.0.1" ifconfig_rl0="inet rl0 10.0.1.105 -netmask 255.255.255.0" ifconfig_ed0="inet ed0 132.124.12.10 -netmask 255.255.255.0" defaultrouter="10.0.1.102" it doesn't work.. and! when i get interfaces up manually, defaultrouter doesn't work.. what's wrong? also i don't have /etc/resolv.conf.. should i make it manually? ICQ:14043855 \Vitaminoid\ __________________________________________________________________ Get Your Private, Free Operational System at http://www.redhat.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message