Gentoo Archives: gentoo-user

From: Nilesh Govindarajan <contact@××××××××.com>
To: Gentoo User Mailing List <gentoo-user@l.g.o>
Subject: [gentoo-user] Network configuration - Two ips one from dhcp & other static
Date: Sat, 07 Jan 2012 07:58:57
Message-Id: 4F07FAF9.4030607@nileshgr.com
1 Well, the title tells the question clearly; how do I configure network
2 such that the first ip is obtained via dhcpcd and other is static?
3 config_eth0="dhcp <static>" doesn't work.
4
5 As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0
6 <ip> netmask <netmask>
7
8 Is there a direct way?
9
10 --
11 Nilesh Govindarajan
12 http://nileshgr.com

Replies

Subject Author
[gentoo-user] Re: Network configuration - Two ips one from dhcp & other static Nilesh Govindarajan <contact@××××××××.com>