Multiple IP Addresses

alan.edmonds at t-mobile.net alan.edmonds at t-mobile.net
Mon May 12 14:38:34 BST 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3188B.C8892DE0
Content-Type: text/plain

In newish FreeBSD versions, the netmask on aliased IP addresses should be 255.255.255.255
 
Alan
-----Original Message-----
From: Abdul Salam [mailto:abdul at netsite.co.uk]
Sent: 12 May 2003 13:44
To: freebsd-users at uk.freebsd.org
Subject: Multiple IP Addresses


Hi..
 
I have a FreeBSD installation with single IP address at the moment. I want to add one more IP address, so I have added one more alias in rc.conf with the second IP address. Here is how it looks now.
 
Ifconfig_fxp0_alias0 = "inet 172.16.1.185 netmask 255.25..0.0"
Ifconfig_fxp0_alias1 = "inet 172.16.1.186 netmask 255.25..0.0" 
 
But, still my server is only bound to first IP address. Is there anything more I have to do for this? Any help will be appreciated.
 
Thanks in advance.
 
-Abdul
 
 
 


________________________________________

Mail and any attachments checked for known 

viruses by Netsite Anti-Virus System.

If you have any comments regarding this policy 

please direct them to postmaster at netsite.co.uk.

------_=_NextPart_001_01C3188B.C8892DE0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml at 01C3188C.9189EF90" rel=3DFile-List><!--[if gte =
mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>@font-face {
	font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt =
90.0pt; mso-header-margin: 35.4pt; mso-footer-margin: 35.4pt; =
mso-paper-source: 0; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
	FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; =
FONT-FAMILY: Tahoma; TEXT-DECORATION: none; text-underline: none; =
mso-style-type: personal-compose; mso-style-noshow: yes; =
mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; =
mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma; =
text-line-through: none
}
SPAN.SpellE {
	mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
	mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
	page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: 36.0pt" vLink=3Dpurple =
link=3Dblue>
<DIV><SPAN class=3D504043813-12052003><FONT face=3DArial =
color=3D#0000ff size=3D2>In=20
newish FreeBSD versions, the netmask on aliased IP addresses should be=20
255.255.255.255</FONT></SPAN></DIV>
<DIV><SPAN class=3D504043813-12052003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D504043813-12052003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Alan</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Abdul Salam=20
  [mailto:abdul at netsite.co.uk]<BR><B>Sent:</B> 12 May 2003 =
13:44<BR><B>To:</B>=20
  freebsd-users at uk.freebsd.org<BR><B>Subject:</B> Multiple IP=20
  Addresses<BR><BR></FONT></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'">Hi<SPAN=20
  class=3DGramE>..</SPAN><o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'">I=20
  have a FreeBSD installation with single IP address at the moment. I =
want to=20
  add one more IP address, so I have added one more alias in <SPAN=20
  class=3DSpellE>rc.conf</SPAN> with the second IP address. Here is how =
it looks=20
  now.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'">Ifconfig_fxp0_alias0=20
  =3D &#8220;<SPAN class=3DSpellE>inet</SPAN> 172.16.1.185 <SPAN=20
  class=3DSpellE>netmask</SPAN> 255.25<SPAN=20
  class=3DGramE>..0.0</SPAN>&#8221;<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'">Ifconfig_fxp0_alias1=20
  =3D &#8220;<SPAN class=3DSpellE>inet</SPAN> 172.16.1.186 <SPAN=20
  class=3DSpellE>netmask</SPAN> 255.25<SPAN =
class=3DGramE>..0.0</SPAN>&#8221;=20
  <o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'">But,=20
  still my server is only bound to first IP address. Is there anything =
more I=20
  have to do for this? Any help will be=20
appreciated.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'">Thanks=20
  in advance.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'">-Abdul<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; mso-bidi-font-family: =
'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV><PRE>
________________________________________
Mail and any attachments checked for known=20
viruses by Netsite Anti-Virus System.
If you have any comments regarding this policy=20
please direct them to postmaster at netsite.co.uk.
</PRE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C3188B.C8892DE0--




More information about the Ukfreebsd mailing list