From: Juan Cespedes <cespedes@debian.org>
To: "Jason A. Ramsey" <jason@l337hosting.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ip addr add
Date: Thu, 16 May 2002 10:53:55 +0200 [thread overview]
Message-ID: <20020516085355.GA9952@gizmo.thehackers.org> (raw)
In-Reply-To: <FFAF1479E6949F4DAE87D09E1292D0376A62@azog.l337hosting.com>
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/
prev parent reply other threads:[~2002-05-16 8:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-14 23:50 Jason A. Ramsey
2002-05-16 8:53 ` Juan Cespedes [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020516085355.GA9952@gizmo.thehackers.org \
--to=cespedes@debian.org \
--cc=jason@l337hosting.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®