Date: Tue, 1 Mar 2005 13:43:49 -0800 From: "Ted Mittelstaedt" <tedm@toybox.placo.com> To: "Jason D. Montgomery" <jason@atgi.com>, "Jerry McAllister" <jerrymc@clunix.cl.msu.edu> Cc: questions@freebsd.org Subject: RE: Documentation Error? Message-ID: <LOBBIFDAGNMAMLGJJCKNAEJKFAAA.tedm@toybox.placo.com> In-Reply-To: <5C6F478A90E6034BBDCF6D754D7850BC66F12D@DERRIDA.atgi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Jason D. > Montgomery > Sent: Tuesday, March 01, 2005 8:56 AM > To: Jerry McAllister > Cc: questions@freebsd.org; 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LOBBIFDAGNMAMLGJJCKNAEJKFAAA.tedm>