Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 09:42:14 -0500 
From:      "Lavender, Ben" <LavenderB@nctldno.navy.mil>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   interface aliases and routing
Message-ID:  <78202F9B9BB8D311846100805F577DFF274093@nctams01.nctldno.navy.mil>

next in thread | raw e-mail | index | archive | help
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_01C10305.32DE8C10
Content-Type: text/plain;
	charset="iso-8859-1"

I have a FreeBSD 4.2 box currently running.  Im trying to get interface
aliases to work properly without much success.

While I seemingly get the interface configured properly, I can't communicate
with different subnets.  The interface and the alias can both communicate
with other machines on the same subnet, but only the 'primary' address (in
this case, 1.72) will talk with other subnets.

any ideas/information required?

ifconfig:
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet6 fe80::210:5aff:fe28:ca1f%xl0 prefixlen 64 scopeid 0x1 
	inet 164.229.1.72 netmask 0xffffffc0 broadcast 164.229.1.127
	inet 164.229.1.74 netmask 0xffffffc0 broadcast 164.229.1.127
	ether 00:10:5a:28:ca:1f 
	media: autoselect (100baseTX <full-duplex>) status: active
	supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
faith0: flags=8000<MULTICAST> mtu 1500
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552



Ben Lavender
System Administrator, Newsouth Communications
NCTAMS LANT DET NOLA




------_=_NextPart_001_01C10305.32DE8C10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2232.0">
<TITLE>interface aliases and routing</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have a FreeBSD 4.2 box currently =
running.&nbsp; Im trying to get interface aliases to work properly =
without much success.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">While I seemingly get the interface =
configured properly, I can't communicate with different subnets.&nbsp; =
The interface and the alias can both communicate with other machines on =
the same subnet, but only the 'primary' address (in this case, 1.72) =
will talk with other subnets.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">any ideas/information required?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">ifconfig:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">xl0: =
flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu =
1500</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">inet6 fe80::210:5aff:fe28:ca1f%xl0 prefixlen 64 =
scopeid 0x1 </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">inet 164.229.1.72 netmask 0xffffffc0 broadcast =
164.229.1.127</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">inet 164.229.1.74 netmask 0xffffffc0 broadcast =
164.229.1.127</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">ether 00:10:5a:28:ca:1f </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">media: autoselect (100baseTX &lt;full-duplex&gt;) =
status: active</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">supported media: autoselect 100baseTX =
&lt;full-duplex&gt; 100baseTX 10baseT/UTP &lt;full-duplex&gt; =
10baseT/UTP 100baseTX &lt;hw-loopback&gt;</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">lp0: =
flags=3D8810&lt;POINTOPOINT,SIMPLEX,MULTICAST&gt; mtu 1500</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">faith0: =
flags=3D8000&lt;MULTICAST&gt; mtu 1500</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">gif0: =
flags=3D8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">gif1: =
flags=3D8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">gif2: =
flags=3D8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">gif3: =
flags=3D8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">lo0: =
flags=3D8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; mtu 16384</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">inet6 ::1 prefixlen 128 </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">inet 127.0.0.1 netmask 0xff000000 </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">ppp0: =
flags=3D8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">sl0: =
flags=3Dc010&lt;POINTOPOINT,LINK2,MULTICAST&gt; mtu 552</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Ben Lavender</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">System Administrator, Newsouth =
Communications</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">NCTAMS LANT DET NOLA</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C10305.32DE8C10--

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?78202F9B9BB8D311846100805F577DFF274093>