Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 1995 17:02:17 -0500 (CDT)
From:      Scott Mace <smace@crash.ops.neosoft.com>
To:        mmead@Glock.COM (matthew c. mead)
Cc:        hackers@freebsd.org
Subject:   Re: more ifconfig alias problems...
Message-ID:  <199509152202.RAA07028@crash.ops.neosoft.com>
In-Reply-To: <199509151615.MAA07761@Glock.COM> from "matthew c. mead" at Sep 15, 95 12:15:51 pm

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

Here's I how do it:

ifconfig ed0 alias 192.168.1.2 netmask 255.255.255.0
arp -s 192.168.1.2 1:ff:ff:ff:ff:5a pub

> 	I'm doing the following to add a second address to my FreeBSD
> 2.0.5R production environment machine:
> 
> root@Glock % nslookup neon
> Server:  localhost.COM
> Address:  127.0.0.1
> 
> Name:    neon.Glock.COM
> Address:  198.82.228.159
> 
> root@Glock % ifconfig ed0 neon alias netmask 255.255.255.0
> ifconfig: ioctl (SIOCAIFADDR): File exists
> root@Glock % telnet neon
> Trying 198.82.228.159...
> ^C
> root@Glock % ifconfig ed0 delete neon
> root@Glock % ifconfig ed0 alias neon netmask 255.255.255.0
> ifconfig: ioctl (SIOCAIFADDR): File exists
> root@Glock % telnet neon
> Trying 198.82.228.159...
> ^C
> root@Glock % ifconfig ed0 delete neon
> root@Glock %
> 
> 
> 
> 	Any ideas what I'm doing wrong, or do I need to upgrade?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509152202.RAA07028>