From owner-freebsd-questions Mon Jul 3 13:59: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 24C5B37C154 for ; Mon, 3 Jul 2000 13:59:01 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 139Cgl-0005bc-00; Mon, 03 Jul 2000 21:19:31 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 139Cgl-0001ss-00; Mon, 03 Jul 2000 21:19:31 +0100 Date: Mon, 3 Jul 2000 21:19:31 +0100 From: Ben Smithurst To: keith@mail.telestream.com Cc: freebsd-questions@freebsd.org Subject: Re: arp errors Message-ID: <20000703211931.D48373@strontium.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="McTFpSeH7KqpdXA3" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --McTFpSeH7KqpdXA3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable keith@mail.telestream.com wrote: > I have a machine setup and on the net. It has 20 aliases on the NIC and > all seems to be just fine with one exception. It would not come up on the > net without having routed running. I've never had a problem in the past > with just configuring rc.conf and putting a script in /usr/local/etc/rc.d > for the aliases so this is a source of major confussion for me. > The aliases aren't really at issue because it would not even come up live > without the aliases there.=20 First, whenever you post a network question, it's a good idea to include at least the output of 'netstat -rn' and 'ifconfig -a'. > /etc/rc.conf > ifconfig_xl0=3D"inet 63.169.99.87 netmask 255.255.255.0" > defaultrouter=3D"63.169.99.1" > network_interfaces=3D"xl0 lo0" > hostname=3D"bsd.mcfarlandis.com" >=20 > /usr/local/etc/rc.d/ifconfig-up.sh > /sbin/ifconfig xl0 inet 63.169.99.15 netmask 255.255.255.255 alias >=20 > With a bunch of the same lines in the script for each alias. > At the end of the script I tossed in routed.=20 > /sbin/routed well, that's fine, I suppose, but the recommended way of setting up aliases is in /etc/rc.conf: ifconfig_xl0_alias0=3D"inet 63.169.99.15 netmask 255.255.255.255" ifconfig_xl0_alias1=3D" ... " and so on. And if you want to run routed, routed_enable=3DYES in rc.conf is the way to do. This probably isn't causing your problem though, once you've posted the output of the commands I mentioned above people might have an idea. --=20 Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D --McTFpSeH7KqpdXA3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: VlwjPZVZlGrc3z8kT4xRfYWT/Y1LWDBF iQCVAwUBOWD1UysPVtiZOS99AQFF8QQAly1Mub3w7aUmZcI36G9Cj8CqPzSP3/48 uk5q3mS1wNAYYMb2uSYBf3JEIONWkITZvX6L/0b9aCJEuN3LBrOMtZ0PaPMjlsZg l8HUpTkEKSBSBSpLW6lXPx62Hby+6CfFNyUIVx5VBATmGIyIm9RX2HhMVN/7aB5n SXE5hzmppeU= =kT1S -----END PGP SIGNATURE----- --McTFpSeH7KqpdXA3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message