Date: Mon, 21 Dec 1998 22:59:11 From: Kurt Keller <Kurt@pinboard.com> To: net@FreeBSD.ORG Subject: IP aliases Message-ID: <3.0.5.16.19981221225911.439f4d8a@pop.pbdhome.pinboard.com>
next in thread | raw e-mail | index | archive | help
On my FreeBSD 2.2.5 server I need to assign at least one more IP
address to the ethernet card (only one, not even a slot free for an
additional card). So I did
ifconfig ed1 inet 192.168.0.8 alias
ifconfig -a shows the additional address together with the already
assigned one (192.168.0.1) and from other stations, I can also access
it. However, on the server itself no route is created (netstat -nr) for
this new virtual interface, neither can the server access itself (ping,
telnet or anything) on this virtual address. Both addresses, .1 and .8
are on the same subnet.
Did I miss something or is this the way FreeBSD is supposed to behave?
I often do this kind of stuff on Solaris because there are not enough
sbus slots for the number of token ring interfaces required. On Solaris
the new virtual interface gets a name of its own (tr0 for the physical
interface, tr0:1, tr0:2, tr0:3 etc. for the added virtual ones) and
also the route entries are created accordingly.
Kurt
--
--------------------------------------------------------------------
¦ Kurt@pinboard.com http://www.pinboard.com/ business ¦
¦ http://www.pinboard.com/kurt/ private ¦
¦--------------------------------------------------------------------¦
¦ Unix and Internet Specialist ¦
--------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.16.19981221225911.439f4d8a>
