Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 1997 17:06:25 -0800 (PST)
From:      Shawn Ramsey <shawn@luke.cpl.net>
To:        Chris Czerwinski <chris@lakecom.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IP aliasing
Message-ID:  <Pine.BSF.3.95.971212170231.3369A-100000@luke.cpl.net>
In-Reply-To: <3491C8F8.8F5E0EEE@lakecom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I just installed the latest FreeBSD
> and it is running great!!!!
> However, it seems that the IP
> aliasing is not cooked into the
> GENERIC kernel. 
> 
> I get some error message FILE
> EXISTS when running
> ifconfig. Is this true? What kernel
> modification do I have to make? I
> cannot find it anywhere.

No kernel modification is neccesary. You will get the file exists error
unless you use a netmask of 255.255.255.255 like this :

ifconfig ed0 198.162.0.1 alias netmask 255.255.255.255
route add 198.162.0.1 127.0.0.1

> Secondly, to save disk space I did
> not download source files...that
> was a mistake because now I do not
> have the files to recook the
> kernel. Is there a way to install
> just the kernel sources without
> having to download the whole
> operating system again?

Yes, the easiest way(YMMV) is to use CVSup, or download the tarballs off
the FreeBSD ftp server. Im not sure of the exact URL, but its something
like ftp://ftp.freebsd.org/pub/FreeBSD/2.2.5-RELEASE/src. Get all the
ssys.* and the install script.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.971212170231.3369A-100000>