Date: Mon, 3 Jul 2000 21:19:31 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: keith@mail.telestream.com Cc: freebsd-questions@freebsd.org Subject: Re: arp errors Message-ID: <20000703211931.D48373@strontium.scientia.demon.co.uk> In-Reply-To: <Pine.LNX.4.10.10007031108510.3792-100000@mail.telestream.com> References: <Pine.LNX.4.10.10007031108510.3792-100000@mail.telestream.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000703211931.D48373>