From owner-freebsd-questions Sun Jul 28 3:55:11 2002 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 69CD837B400 for ; Sun, 28 Jul 2002 03:55:04 -0700 (PDT) Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 4117443E4A for ; Sun, 28 Jul 2002 03:55:03 -0700 (PDT) (envelope-from sheep.killer@cultdeadsheep.org) Received: (qmail 1387 invoked from network); 28 Jul 2002 10:55:01 -0000 Received: from unknown (HELO satan.cultdeadsheep.org) (192.168.0.4) by goofy.cultdeadsheep.org with SMTP; 28 Jul 2002 10:55:01 -0000 Date: Sun, 28 Jul 2002 12:55:00 +0200 From: Clement Laforet To: Jacky Chen Cc: questions@freebsd.org Subject: Re: Three questions about FreeBSD Message-Id: <20020728125500.5adccc4b.sheep.killer@cultdeadsheep.org> In-Reply-To: <3D43C5EC.3CD42180@seed.net.tw> References: <3D43C5EC.3CD42180@seed.net.tw> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Jacky, > 1. > When I select Security Profile with "Extreme" in Installation. > The system will set sendmail_enable="NO" into /etc/rc.conf. > But, after I restart the server, sendmail program is still be bring > up. So, I saw the rc.conf man page & set the sendmail_enable="NONE", > and resolve the problem. Sendmail rc.conf settings have changed between 4.5-RELEASE and 4.6-RELEASE, (see /usr/src/UPDATING for more detail : 20020404) and sysinstall seems to be out of date. > 2. > I have two NICs but, I can't set them into the same network with > different IP. > Example: > > setting 1 is ok > fxp0 : ip 140.137.100.5, netmask 255.255.255.0, broadcast > 140.137.100.255 > fxp1 : ip 140.137.100.6, netmask 255.255.0.0, broadcast > 140.137.100.255 > > setting 2 can't work > fxp0 : ip 140.137.100.5, netmask 255.255.255.0, broadcast > 140.137.100.255 > fxp1 : ip 140.137.100.6, netmask 255.255.255.0, broadcast > 140.137.100.255 > > and when I try to set netmask into 255.255.255.0, system response > that, ifconfig: ioctl (SIOCAIFADDR): File exists > > NIC card are ntel Pro 10/100B/100+ Ethernet You want to have 2 interfaces on the same LAN. FreeBSD complains because it can't determine which interface to use to send packets (netstat -nr to have the routes and which interface FreeBSD uses). If you use 2 different netmasks you "fake" FreeBSD. > 3. > When the server start, there are a lot of wrong messages > "arp: 140.137.100.10 is on fxp0 but got reply from 00:80:c8:d8:6c:6a > on fxp1" > the 140.137.100.10 is my DNS IP > That's one of problems you can have when you use 2 interfaces on the same LAN. You receive ARP packets on the both interfaces, so the kernel tells you a change in the ARP table. If you want to use 2 or more interfaces with different IP addresses try netgraph bounding, or FEC module (you have to download it at : http://people.freebsd.org/~wpaul/FEC/4.x/) and then set aliases for the new virtual interface. clem To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message