Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2000 20:40:33 -0600
From:      Jim Manley <jmanley@metronet.com>
To:        "Eric D. Futch" <efutch@nyct.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Multiple IP addresses
Message-ID:  <4.2.2.20000119203927.00a7b8e0@127.0.0.1>
In-Reply-To: <4.2.2.20000119203316.00a8e2a0@127.0.0.1>
References:  <Pine.BSF.4.05.10001192129540.14656-100000@bsd1.nyct.net> <4.2.2.20000119201356.00a8fad0@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
Found it.  Syntax problem.

ifconfig <interface> alias 192.168.0.10 netmask 0xffffffff

At 08:34 PM 1/19/00 -0600, Jim Manley wrote:
>Tried that:
>
>darkstar# ifconfig -a
>ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
>         ether 00:20:af:1e:8d:8d
>tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
>ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000
>darkstar# ifconfig ep0 192.168.0.10 255.255.255.0 0xffffffff alias
>ifconfig: ioctl (SIOCAIFADDR): File exists
>
>At 09:30 PM 1/19/00 -0500, Eric D. Futch wrote:
>>This Works for me...
>>
>>/sbin/ifconfig <interface> <ip addr> netmask 0xffffffff alias
>>
>>--
>>Eric Futch              New York Connect.Net, Ltd.
>>efutch@nyct.net         Technical Support Staff
>>http://www.nyct.net     (212) 293-2620
>>"Bringing New York The Internet Access It Deserves"
>>
>>
>>On Wed, 19 Jan 2000, Jim Manley wrote:
>>
>>I seem to recall there is a way to allow one NIC to support multiple
>>IP addresses but can't remember how to set it up.  If I'm thinking
>>of the right OS, can someone point me in the right direction?
>>
>>Regards,
>>
>>Jim
>>
>>
>>
>>To Unsubscribe: send mail to majordomo@FreeBSD.org
>>with "unsubscribe freebsd-stable" in the body of the message
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-stable" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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