Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #7224 > unrolled thread

How to "automatically" remotely add IP-addresses to a Linux computer?

Started bydspfun <dspfun@hotmail.com>
First post2013-02-06 06:59 -0800
Last post2013-02-07 21:30 +0000
Articles 5 on this page of 25 — 9 participants

Back to article view | Back to comp.os.linux.misc


Contents

  How to "automatically" remotely add IP-addresses to a Linux computer? dspfun <dspfun@hotmail.com> - 2013-02-06 06:59 -0800
    Re: How to "automatically" remotely add IP-addresses to a Linux computer? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-06 15:31 +0000
      Re: How to "automatically" remotely add IP-addresses to a Linux computer? dspfun <dspfun@hotmail.com> - 2013-02-06 13:05 -0800
        Re: How to "automatically" remotely add IP-addresses to a Linux computer? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-07 09:07 +0000
    Re: How to "automatically" remotely add IP-addresses to a Linux computer? J G Miller <miller@yoyo.ORG> - 2013-02-06 15:51 +0000
      Re: How to "automatically" remotely add IP-addresses to a Linux computer? J G Miller <miller@yoyo.ORG> - 2013-02-06 15:54 +0000
    Re: How to "automatically" remotely add IP-addresses to a Linux computer? unruh <unruh@invalid.ca> - 2013-02-06 17:58 +0000
      Re: How to "automatically" remotely add IP-addresses to a Linux computer? dspfun <dspfun@hotmail.com> - 2013-02-06 13:09 -0800
        Re: How to "automatically" remotely add IP-addresses to a Linux computer? J G Miller <miller@yoyo.ORG> - 2013-02-06 21:24 +0000
          Re: How to "automatically" remotely add IP-addresses to a Linux computer? dspfun <dspfun@hotmail.com> - 2013-02-06 13:33 -0800
            Re: How to "automatically" remotely add IP-addresses to a Linux computer? unruh <unruh@invalid.ca> - 2013-02-06 22:19 +0000
              Re: How to "automatically" remotely add IP-addresses to a Linux computer? J G Miller <miller@yoyo.ORG> - 2013-02-06 22:51 +0000
            Re: How to "automatically" remotely add IP-addresses to a Linux computer? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-07 10:11 +0000
              Re: How to "automatically" remotely add IP-addresses to a Linux computer? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-07 11:44 +0000
              Re: How to "automatically" remotely add IP-addresses to a Linux computer? dspfun <dspfun@hotmail.com> - 2013-02-07 03:58 -0800
                Re: How to "automatically" remotely add IP-addresses to a Linux computer? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-07 12:03 +0000
                Re: How to "automatically" remotely add IP-addresses to a Linux computer? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2013-02-07 15:36 +0200
                  Re: How to "automatically" remotely add IP-addresses to a Linux computer? dspfun <dspfun@hotmail.com> - 2013-02-07 06:37 -0800
                    Re: How to "automatically" remotely add IP-addresses to a Linux computer? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-07 15:07 +0000
                    Re: How to "automatically" remotely add IP-addresses to a Linux computer? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-07 15:10 +0000
        Re: How to "automatically" remotely add IP-addresses to a Linux computer? unruh <unruh@invalid.ca> - 2013-02-06 22:17 +0000
          Re: How to "automatically" remotely add IP-addresses to a Linux computer? Aragorn <stryder@telenet.be.invalid> - 2013-02-06 23:51 +0100
        Re: How to "automatically" remotely add IP-addresses to a Linux computer? Octothorpe <Octothorpe@invalid.com> - 2013-02-07 07:22 -0500
          Re: How to "automatically" remotely add IP-addresses to a Linux computer? cipher <cipher@nospamforme.org> - 2013-02-07 20:46 +0000
            Re: How to "automatically" remotely add IP-addresses to a Linux computer? J G Miller <miller@yoyo.ORG> - 2013-02-07 21:30 +0000

Page 2 of 2 — ← Prev page 1 [2]


#7238

Fromunruh <unruh@invalid.ca>
Date2013-02-06 22:17 +0000
Message-ID<xDAQs.217351$pV4.111957@newsfe21.iad>
In reply to#7235
Please stop using googlegroups. Not necessarily because of its source of
spam, but because it keeps sticking in blank lines into the posts. Every
line is converted into blank like plus that line. The result is almost
entirely unreadable-- see the mess it produces below. 


On 2013-02-06, dspfun <dspfun@hotmail.com> wrote:
> Den onsdagen den 6:e februari 2013 kl. 18:58:28 UTC+1 skrev unruh:
>> It is always a good idea to tell us the problem you want to solve,
>> 
>> rather than how to impliment your solution. This question does not make
>> 
>> much sense. 
>> 
>> 
>> 
>> What in the world does "add IP-addresses to a computer's interface"
>> 
>> mean?
>> 
>> 
>> 
>> I suspect you are confused about routing etc, but maybe not, and are
>> 
>> just unclear.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On 2013-02-06, dspfun <dspfun@hotmail.com> wrote:
>> 
>> > Hi!
>> 
>> >
>> 
>> > What is the easiest/most common way to "automatically" (i.e. without a
>> 
>> > person having to do this from a terminal) and "remotely", on the same
>> 
>> > L2-network, add a number of IP-addresses to a computer's interface,
>> 
>> > for example eth0?
>> 
>> >
>> 
>> > It should be done either through any available networking application,
>> 
>> > "selfmade" C-program or "selfmade" script.
>> 
>> >
>> 
>> > It's "easy" to add the first IP-address to the remote computer via a
>> 
>> > DHCP server in computer1 which configures the first IP-address in
>> 
>> > computer2, but adding additional IP-addresses to the remote computer2
>> 
>> > on its same interface does not seem as obvious.
>> 
>> >
>> 
>> > So, for example, if there is a setup like this:
>> 
>> >
>> 
>> > Computer1 (eth0 192.168.1.1) --- Switch ---  Computer2 (eth0
>> 
>> > 192.168.1.2 (configured via DHCP) ).
>> 
>> >
>> 
>> > What would be a good way to add a number of IP-addresses (for example
>> 
>> > 10.10.10.10/24, 20.20.20.20/24, etc.) to Computer2 from Computer 1, in
>> 
>> > addition to the IP-address (192.168.1.3) configured via DHCP?
>> 
>> >
>> 
>> > Also, a number of routing entries/rules should be configured in
>> 
>> > computer2 from computer1 without manually doing this.
>> 
>> >
>> 
>> > Brs
>
> The problem to be solved is that computer1 will recieve (via some management system/program) configuration information (a number of IP-addresses to be configured on computer2) for computer2.

I have no idea what that means. computers typically have one single IP
addresses assigned to them. Do you really want a huge bunch of addresses
assigned to a single computer? How will these be used by the rest of the
world?  Or perhaps you mean that you want that computer to be able to
talk to a bunch of IP addresses. In that case you have to change the
routing tables. ("route add " for example).
"I have no idea what "configuration information" is.


>
> How should computer1 then add these IP-addresses to computer2 from a c-program or script?
>

No idea what it is that it is supposed to do. Once you figure it out how
to do it by hand, automating it will be easy. But if you have no idea
what you are doing, automating it will not make it easier.

[toc] | [prev] | [next] | [standalone]


#7240

FromAragorn <stryder@telenet.be.invalid>
Date2013-02-06 23:51 +0100
Message-ID<keumpi$4ml$1@dont-email.me>
In reply to#7238
On Wednesday 06 February 2013 23:17, unruh conveyed the following to 
comp.os.linux.misc...

> Please stop using googlegroups. Not necessarily because of its source
> of spam, but because it keeps sticking in blank lines into the posts.

I hear you on that... :-/

> Every line is converted into blank like plus that line. The result is
> almost entirely unreadable-- see the mess it produces below.

And it's going to get even worse.  Google is currently beta-testing a 
new version of Google Groups which supports "rich text", described 
rather vaguely on the test page as "supporting colors and fonts".

Imagine what a mess that's gonna make of Usenet... :-/

-- 
= Aragorn =
(registered GNU/Linux user #223157)

[toc] | [prev] | [next] | [standalone]


#7251

FromOctothorpe <Octothorpe@invalid.com>
Date2013-02-07 07:22 -0500
Message-ID<dsicu9-djo.ln1@crazy-horse.bildanet.com>
In reply to#7235
On Wed, 06 Feb 2013 13:09:42 -0800, dspfun wrote:

[putolin]

> The problem to be solved is that computer1 will recieve (via some
> management system/program) configuration information (a number of
> IP-addresses to be configured on computer2) for computer2.
> 
> How should computer1 then add these IP-addresses to computer2 from a
> c-program or script?

The definition of insanity is... doing the same thing over and over and 
expecting a different result.

Why are you people trying to solve this ones problem,  One can plainly 
see that he/her is driving you people crazy.

My advice is for you to simply move on.

[toc] | [prev] | [next] | [standalone]


#7257

Fromcipher <cipher@nospamforme.org>
Date2013-02-07 20:46 +0000
Message-ID<6atpcn.svf.17.2@news.alt.net>
In reply to#7251
On Thu, 07 Feb 2013 07:22:05 -0500, Octothorpe Inscribed upon the Golden
Tablets of Usenet thusly:

> On Wed, 06 Feb 2013 13:09:42 -0800, dspfun wrote:
> 
> [putolin]
> 
>> The problem to be solved is that computer1 will recieve (via some
>> management system/program) configuration information (a number of
>> IP-addresses to be configured on computer2) for computer2.
>> 
>> How should computer1 then add these IP-addresses to computer2 from a
>> c-program or script?
> 
> The definition of insanity is... doing the same thing over and over and
> expecting a different result.
> 
> Why are you people trying to solve this ones problem,  One can plainly
> see that he/her is driving you people crazy.
> 
> My advice is for you to simply move on.

And lacking details, what he/she wants seems very shady...

Anyone else notice that when asked a direct question as to what they want 
to accomplish, a sidestep occurs?



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 )\ (  ) /(    Cipher/Proud Member, Netscum Alumni Association
 )-(0^^0)-(    Bungmunch U./AHM Memorial Institute of F@x0r1n6/Dean
 )/ \\// \(    Colonel/1st Virginia Volunteers/CeSium Brigade
    (oo)       Registered Linux User #556617
   / ~~ \      Empire of APDD/#6-5p07/VLNOC Cohort #1407
 o@o     o@o   Keeper of the alt.CeSium FAQ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[toc] | [prev] | [next] | [standalone]


#7258

FromJ G Miller <miller@yoyo.ORG>
Date2013-02-07 21:30 +0000
Message-ID<kf16dr$s4t$1@dont-email.me>
In reply to#7257
On Thursday, February 7th, 2013, at 20:46:45h +0000, Cipher wrote:

> Anyone else notice that when asked a direct question as to what
> they want to accomplish, a sidestep occurs?

Sounds like somebody who would make a good politician!

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.os.linux.misc


csiph-web