> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Jason D.
> Montgomery
> Sent: Tuesday, March 01, 2005 8:56 AM
> To: Jerry McAllister
> Cc: [EMAIL PROTECTED]; Ted Mittelstaedt
> Subject: RE: Documentation Error?
>
>
> Odd. I'm no guru, so it may just be my lack of understanding...
>
> I had this in my rc.config file to setup an alias on a NIC:
>
> ifconfig_xl0="inet 192.168.20.2 netmask 255.255.255.0"
> ifconfig_xl0_alias0="inet 192.168.20.3 netmask 255.255.255.255"
>
> And the alias'd address would NOT load at boot time. Couldn't get it to
> work.
>
> But when I changed it to this, it worked just fine:
>
> ifconfig_xl0="inet 192.168.20.2 netmask 255.255.255.0"
> ifconfig_xl0_alias0="alias 192.168.20.3 netmask 255.255.255.255"
>

Try:

ifconfig_xl0_alias0="inet 192.168.20.3 netmask 255.255.255.255 alias"

and see if that works.  Possibly something broken in your rc script
that isn't inserting the "alias" keyword into the ifconfig command it's
issuing when it sees alias0 in the rc.conf line?

> The ifconfig command wouldn't work either until I replaced alias with
> inet on the command line.
>

Correct, the ifconfig command needs the alias keyword to create an alias
interface.

> Am I just missing something else?
>

Well one thing is that the 3c905 adapter (xl0) is known for problems
under FreeBSD.

Ted

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to