Michael Cummings wrote:
(Completely untested, unconfirmed, and otherwise unsubstantiated) - Have you
tried putting your list into an external file and just having the variable in
conf.d/net cat it? I would *think* that would work since ultimately these are
just fragments of bash scripts after all.
On Fri, Jul 08, 2005 at 04:08:32PM -0400, A. Khattri wrote:
Maybe this has been answered a long time ago.
Im running a Gentoo-based shared web server. Potentially there might be
200 IP aliases on this one machine. Im wondering how to manage these
aliases in /etc/conf.d/net. Right now, I have a huge alias_eth0="" line
containing all of the IP aliases - anybody recommend a better approach ?
Some recent changes to sysvinit and baselayout have put new config files
in /etc/conf.d/ including a net.example file that shows an IPv4 example
where each IP is on a single line. Anyone here switched to the "new" net
file yet ? Any thoughts about ifconfig vs. iproute2 ? Should I switch?
--
Aj.
--
[email protected] mailing list
I actually ran into this about two months ago. What I ended up doing was
creating a table that contains all the available IP's and on startup I
have a basic script loop through that table and creates an alias using
`ifconfig`. This works great for our purpose as we have apache build its
configurations based off of the the same database. =) Just an idea.
--
Jeff Rooney
[EMAIL PROTECTED]
--
[email protected] mailing list