public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nilesh Govindarajan <contact@nileshgr.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Network configuration - Two ips one from dhcp & other static
Date: Tue, 10 Jan 2012 08:00:04 +0530	[thread overview]
Message-ID: <4F0BA2AC.9010702@nileshgr.com> (raw)
In-Reply-To: <loom.20120109T180938-58@post.gmane.org>

On Mon 09 Jan 2012 10:44:02 PM IST, James wrote:
> Nilesh Govindarajan <contact <at> nileshgr.com> writes:
>
>
>>> Well, the title tells the question clearly; how do I configure network
>>> such that the first ip is obtained via dhcpcd and other is static?
>>> config_eth0="dhcp <static>" doesn't work.
>
> Did you look at /etc/conf.d/net.example  for hints?
>
>>> As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0
>>> <ip> netmask <netmask>
>
>
> Maybe not launch your script for a few minutes (timing?) via crontab
> if nothing else works?
>
>
> James
>
>
>
>
>

I did read that. I'm pretty peculiar about reading docs, so that I 
don't have to face an RTFM from the ML or IRC ;-)
The first time it didn't work properly. The second time it did. May be 
I'd made some mistake or so.

-- 
Nilesh Govindarajan
http://nileshgr.com



      reply	other threads:[~2012-01-10  2:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-07  7:57 [gentoo-user] Network configuration - Two ips one from dhcp & other static Nilesh Govindarajan
2012-01-07  8:10 ` [gentoo-user] " Nilesh Govindarajan
2012-01-07  8:23   ` Pandu Poluan
2012-01-07  8:25     ` Nilesh Govindarajan
2012-01-09 17:14   ` James
2012-01-10  2:30     ` Nilesh Govindarajan [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=4F0BA2AC.9010702@nileshgr.com \
    --to=contact@nileshgr.com \
    --cc=gentoo-user@lists.gentoo.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