linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ip addr add
@ 2002-05-14 23:50 Jason A. Ramsey
  2002-05-16  8:53 ` Juan Cespedes
  0 siblings, 1 reply; 2+ messages in thread
From: Jason A. Ramsey @ 2002-05-14 23:50 UTC (permalink / raw)
  To: linux-kernel

I'm working with a RH7.3 box that has iproute2 installed. I am trying to
configure a slew of virtual interfaces on the server to accommodate
ip-based virtual hosting with Apache. I was led to believe that it was
possible to provision a group of addresses with a single command that
would cause the host to listen on all those addresses. I would like to
configure addresses 172.20.0.128-172.20.0.254 on the box without having
to manually specify every address. Is this possible? Thanks.

--

[jR]

there are no mistakes; only
happy accidents -- bob ross



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ip addr add
  2002-05-14 23:50 ip addr add Jason A. Ramsey
@ 2002-05-16  8:53 ` Juan Cespedes
  0 siblings, 0 replies; 2+ messages in thread
From: Juan Cespedes @ 2002-05-16  8:53 UTC (permalink / raw)
  To: Jason A. Ramsey; +Cc: linux-kernel

On Tue, May 14, 2002 at 04:50:15PM -0700, Jason A. Ramsey wrote:
> I'm working with a RH7.3 box that has iproute2 installed. I am trying to
> configure a slew of virtual interfaces on the server to accommodate
> ip-based virtual hosting with Apache. I was led to believe that it was
> possible to provision a group of addresses with a single command that
> would cause the host to listen on all those addresses. I would like to
> configure addresses 172.20.0.128-172.20.0.254 on the box without having
> to manually specify every address. Is this possible? Thanks.

If you don't mind adding also IP 172.20.0.255, so that you can use a
netmask 255.255.255.128, you can use the following:

ip route add local 172.20.0.128/25 dev eth0

(replacing "eth0" with your network interface, of course).

-- 
Juan Cespedes
http://www.cespedes.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-16  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-14 23:50 ip addr add Jason A. Ramsey
2002-05-16  8:53 ` Juan Cespedes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).