Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 07:38:18 -0400
From:      James Housley <jim@thehousleys.net>
To:        Howard Leadmon <howardl@account.abs.net>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: NIS with multiple subnets/vhosts, any ideas??
Message-ID:  <3934F9AA.10AB77C6@thehousleys.net>
References:  <200005310547.BAA37874@account.abs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Howard Leadmon wrote:
> 
>    Hello All,
> 
>  I setup a couple machines using NIS, and just ran into the following
> problem I am not quite sure how to work around.
> 
> Here is my config:
> 
> MACHINE A:
> 
> ifconfig_de0="inet 207.114.198.11  netmask 255.255.255.0"
> defaultrouter="207.114.198.250"
> # -- Add Vhosts -- #
> ifconfig_de0_alias1="inet 206.88.228.13 netmask 0xffffffff"
> ifconfig_de0_alias1="inet 206.88.228.14 netmask 0xffffffff"
> ifconfig_de0_alias1="inet 206.88.228.15 netmask 0xffffffff"
> ifconfig_de0_alias2="inet 199.29.143.73 netmask 0xffffffff"
> 
Is that a typo ..alias1, ..alias1, ..alias1, ..alias2 ?

It should read:
ifconfig_de0_alias1="inet 206.88.228.13 netmask 0xffffffff"
ifconfig_de0_alias2="inet 206.88.228.14 netmask 0xffffffff"
ifconfig_de0_alias3="inet 206.88.228.15 netmask 0xffffffff"
ifconfig_de0_alias4="inet 199.29.143.73 netmask 0xffffffff"

because the script is basically 
for $x=0 to $n
  use alias$x
next $x

Only the first alias1 and then alias2 are being used, as I read the
script.

Jim
-- 
"Eagles may soar, but weasels don't get sucked into jet engines"
    -- Anon


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?3934F9AA.10AB77C6>