Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-25-2004, 10:43 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 3

Rep: Reputation: Disabled
Multiple addresses on one NIC via DHCP - possible?


Client server is a RH box.

Is it possible to configure one NIC to obtain more than 1 IP from a DHCP server? I'd like to configure:


to all have IPs from the same subnet, assigned from the same DHCP server, ie:

eth0 ->
eth0:0 ->
eth0:1 ->

Tried using the dhcp-client identifier in the dhcpd.conf, ala

host server {
dhcp-client-identifier "server";
host server2 {
dhcp-client-identifier "server2";
host server3 {
dhcp-client-identifier "server3";

Then calling, on the client:

dhcpcd -I server eth0
dhcpcd -I server2 eth0:0
dhcpcd -I server3 eth0:1

It seems like it's trying to read the /etc/sysconfig/network-scripts/ifcfg-eth0:? files, as it complains about a missing device in ifcfg-eth0:0.

If I try using the MAC address in the server config, I only get one IP and the usual ifcfg-eth0:0 missing dev complaint.

If I mod those ifcfg-* files back to a static config, all works properly.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding multiple IP Addresses to same NIC Harlin Linux - Networking 4 10-26-2005 05:10 AM
multiple ip addresses on 1 nic? houler Linux - Networking 4 04-26-2005 03:53 PM
Binding multiple IP addresses to a nic card Natalie Linux - Networking 9 08-12-2003 08:27 PM
Multiple addresses for a single NIC grub Programming 1 08-04-2003 02:24 AM
Multiple IP addresses on one NIC hrr Linux - Networking 2 03-07-2003 12:04 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration