Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2003 12:53:13 -0800 (PST)
From:      "Michael K. Smith" <mksmith@noanet.net>
To:        <lists@3bags.com>
Cc:        <mksmith@noanet.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: arplookup messages? now what have I done?
Message-ID:  <21572.128.107.253.37.1044564793.squirrel@noc.noanet.net>
In-Reply-To: <002901c2ce21$17a6b880$aeb423cf@3bagsmedia>
References:  <56536.128.107.253.37.1044563281.squirrel@noc.noanet.net> <002901c2ce21$17a6b880$aeb423cf@3bagsmedia>

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

mailing list\ said:
>
> Hi Michael,
>
> My network topology skills are limited... does this mean the following:
>
> - my default gateway is on a 255.255.255.240 subnet
> - so is my devices real address
> - there is another device listed there (de0), no problems (internal)
>
> So, if I change the aliased devices to 0xffffff0 (255.255.255.240), they
> will be a-ok and not produce those message? I believe I had it set like
> that and the devices wouldn't initiate?
>
> Many thanks in advance,
>
Hey Phillip:

You have three things that need to line up in order for this to work:

1) The IP Address
2) The subnet mask
3) The alias and its associated interface

In your example:

>> > ifconfig_de0="inet XXX.168.0.219  netmask 255.255.255.0"
>> > ifconfig_tl0="inet XXX.82.15.219  netmask 255.255.255.240"
>> <snip>
>> > ifconfig_tl0_alias3="inet XXX.167.176.107 netmask 0xffffffff"
>> ifconfig_tl0_alias4="inet XXX.167.176.108 netmask 0xffffffff"
>> ifconfig_tl0_alias5="inet XXX.167.176.109 netmask 0xffffffff"
>> ifconfig_tl0_alias6="inet XXX.167.176.110 netmask 0xffffffff"

The subnet mask for xxx.82.15.219 would mean you could use addresses that
are "masked" when the subnet mask is applied.  I would recommend reading
up on masking in your copious free time.  Suffice it to say that, in this
case, the following is true:

xxx.82.15.208 - xxx.82.15.223 is the address range, with .208 and .223
reserved.

If you want to have your aliases attached to the tl0 interface, you need
to use addresses in that range.  So, something like:

ifconfig_tl0_alias3="inet XXX.82.15.210 netmask 0xffffffff"

Also, I would recommend using the .209 or .222 address (first and last
useable in the subnet) as your tl0 (default gateway) interface.  It's
standard operating procedure and will help you in the troubleshooting
process to have things fairly standardized.  If you set your interface to
.209, then you could set interface aliases from .210 to .222 inclusive.

Mike
-- 
Michael K. Smith
Senior Network and Systems Engineer - NoaNet
mksmith@noanet.net
206.219.7116  NOC: 866.662.6380



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?21572.128.107.253.37.1044564793.squirrel>