Date: Sun, 28 Jul 2002 12:55:00 +0200 From: Clement Laforet <sheep.killer@cultdeadsheep.org> To: Jacky Chen <jacky_chen@seed.net.tw> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020728125500.5adccc4b.sheep.killer>