[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] RAQ1 urgent question: renumbering IPs



You're welcome. Had to do this twice in one month recently. I wish I could
find a script that could do it but I'm no Perl whiz. It's tedious but if you
make use of your shell history (arrow keys on keyboard)& backspace you can
do it fairly quickly. I believe your Broadcast IP should be 216.218.208.254
but check
with your upstream provider..they should have supplied that info
to you along with your netmask which should be 255.255.255.128 if you have
126 usable IP's.

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of PowerClicks
Sent: Wednesday, January 19, 2000 8:18 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] RAQ1 urgent question: renumbering IPs


Thank you for those helpful details... That's kind of what I suspected, got
to edit all the files in /etc/sysconfig/network-scripts individually.

One last question in:

DEVICE=eth0:2
IPADDR=165.90.27.133
NETMASK=255.255.255.192
NETWORK=165.90.27.128
BROADCAST=165.90.27.191
ONBOOT=yes
ALIAS=yes
BOOTPROTO=none

what is the BROADCAST IP? My new allocation is 216.218.208.128/25 (if that
can be of help)

Again thank you very much.

Regards,

David

> From: "ISP" <isplists@xxxxxxxxxxxx>
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
> Date: Wed, 19 Jan 2000 19:58:46 -0600
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Subject: RE: [cobalt-users] RAQ1 urgent question: renumbering IPs
>
> Grep is a text pattern search tool, like a 'find' command but more
powerful
> and complex. That KB article was mainly aimed at renumbering a single
site.
> To use grep to find a single IP out of the dozens of ifcfg-ethX files you
> would type:
>
> $root grep 216.125.250.1 **
>
> it would return this:
>
> ifcfg-eth0:IPADDR=216.125.250.1
>
> It probably is too much hassle to use grep for 38 sites if you've never
used
> grep before. You can do this with just a careful manual session with VI or
> Pico. Go the /etc/sysconfig/network-scripts and you'll see 38 files named
> like:
> ifcfg-eth0
> ifcfg-eth1
> ifcfg-eth2
>
> These all correspond with your sites in the order that you added them. You
> can look at /etc/httpd/conf/httpd.conf to see which ones go with witch
site.
>
> Before you start editing them you should make backups.
> Open the file in your editor and you'll see:
>
> DEVICE=eth0
> IPADDR=216.125.250.1
> NETWORK=216.125.250.0
> NETMASK=255.255.254.0
> BROADCAST=216.125.250.255
>
> Change the IP here and whatever else needs to be changed. Follow the rest
of
> KB article.
>
> Tony
>
>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of PowerClicks
> Sent: Wednesday, January 19, 2000 7:16 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] RAQ1 urgent question: renumbering IPs
>
>
> Hello,
>
> We have to modify the IPs of all the sites (38 sites) on a raq1 due to the
> switch to a new IP allocation. Given the number of sites we cannot do this
> using the "copy" method.
> The knowledge base has a solution for this:
> http://www.cobalt.com/support/kb/search.php3?ques=ip&qid=381&language=1
>
> There is one point I do not understand:
> ----------
> C. Go to the following directory and grep for the IP address:
>
> /etc/sysconfig/network-scripts/
> ----------
>
> What does "grep for the IP address mean"???
>
> Any help would be greatly appreciated.
>
> Thanks!
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>


_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users