Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2001 16:35:04 -0500
From:      Aaron Weiker <aaron@cisp.cc>
To:        "'net@freebsd.org'" <net@freebsd.org>
Subject:   RE: Adding IP aliases
Message-ID:  <C99657266DE1D211B8250090274EA782EE7266@cartman.cisp.cc>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Well, that's very helpful...Can't believe I didn't see that when I was
looking for it. I guess I just always do things the hard way.

Aaron Weiker
Programmer
CISP - Changing Internet Speed & Performance

Phone: 419.724.5351			aweiker@cisp.cc
Pager: 419.218.0013			http://www.cisp.cc
Cell:    419.304.0323			web search:
http://www.allthesites.com 

-----Original Message-----
From: Richard Furda [mailto:riso@best.ca]
Sent: Wednesday, February 14, 2001 4:28 PM
To: Aaron Weiker
Cc: 'Drew J. Weaver'; 'net@freebsd.org'
Subject: RE: Adding IP aliases



Hello,

On Wed, 14 Feb 2001, Aaron Weiker wrote:
> Best place to look is check out the man of ifconfig
>  
> This will give you the syntax for it. I then edited my /etc/rc.network and
> put that command in there to create the alias when the server was
rebooted.

/etc/rc.network is not the place to add aliases. Please look at the
examples in /etc/defaults/rc.conf

ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias
entry.

these should be placed into /etc/rc.conf

>         Does anyone know of a FAQ or HOWTO for adding IP aliases to a
> FreeBSD box? I can do it under linux and Im just wondering if there are
any
> differences or what-not.

	Rich


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: Adding IP aliases</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Well, that's very helpful...Can't believe I didn't see that when I was looking for it. I guess I just always do things the hard way.</FONT></P>

<P><FONT SIZE=2>Aaron Weiker</FONT>
<BR><FONT SIZE=2>Programmer</FONT>
<BR><FONT SIZE=2>CISP - Changing Internet Speed &amp; Performance</FONT>
</P>

<P><FONT SIZE=2>Phone: 419.724.5351&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aweiker@cisp.cc</FONT>
<BR><FONT SIZE=2>Pager: 419.218.0013&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.cisp.cc" TARGET="_blank">http://www.cisp.cc</A></FONT>;
<BR><FONT SIZE=2>Cell:&nbsp;&nbsp;&nbsp; 419.304.0323&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web search: <A HREF="http://www.allthesites.com" TARGET="_blank">http://www.allthesites.com</A>; </FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Richard Furda [<A HREF="mailto:riso@best.ca">mailto:riso@best.ca</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, February 14, 2001 4:28 PM</FONT>
<BR><FONT SIZE=2>To: Aaron Weiker</FONT>
<BR><FONT SIZE=2>Cc: 'Drew J. Weaver'; 'net@freebsd.org'</FONT>
<BR><FONT SIZE=2>Subject: RE: Adding IP aliases</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>Hello,</FONT>
</P>

<P><FONT SIZE=2>On Wed, 14 Feb 2001, Aaron Weiker wrote:</FONT>
<BR><FONT SIZE=2>&gt; Best place to look is check out the man of ifconfig</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; This will give you the syntax for it. I then edited my /etc/rc.network and</FONT>
<BR><FONT SIZE=2>&gt; put that command in there to create the alias when the server was rebooted.</FONT>
</P>

<P><FONT SIZE=2>/etc/rc.network is not the place to add aliases. Please look at the</FONT>
<BR><FONT SIZE=2>examples in /etc/defaults/rc.conf</FONT>
</P>

<P><FONT SIZE=2>ifconfig_lo0_alias0=&quot;inet 127.0.0.254 netmask 0xffffffff&quot; # Sample alias entry.</FONT>
</P>

<P><FONT SIZE=2>these should be placed into /etc/rc.conf</FONT>
</P>

<P><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Does anyone know of a FAQ or HOWTO for adding IP aliases to a</FONT>
<BR><FONT SIZE=2>&gt; FreeBSD box? I can do it under linux and Im just wondering if there are any</FONT>
<BR><FONT SIZE=2>&gt; differences or what-not.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>Rich</FONT>
</P>

</BODY>
</HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C99657266DE1D211B8250090274EA782EE7266>