[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

2 DHCP IP's -> 1 Ethernet Device

I am trying to bind 2 dhcp addresses to 1 ethernet interface.  I know this is doable, but im not having any luck finding info on how to make it happen.  Can anyone assist?  Thanks.
0
axman505
Asked:
axman505
1 Solution
 
alextoftCommented:
Not sure it is doable to be honest. Whist DHCP is fairly universal, the manner in which differnet OS's bind additional IP addresses is not.

DHCP is designed to make WORKSTATION network configuration easier. 99.x% of workstations usually only ever require a single IP. Servers are a different matter, and are usually configured statically, for many reasons, but mainly because they don't want to be relying on other servers, plus they may have complex configurations, like multiple bindings.

Perhaps you could resolve your problem by using dns cnames (aliases)?
0
 
axman505Author Commented:
I need 2 seperate IP addresses, and DHCP is my only option for assignment.  The OS im using is Fedora Core 6
0
 
ShineOnCommented:
What is the DHCP server running on?
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
axman505Author Commented:
To my knowledge, the DHCP server is on a redhat box.
0
 
ShineOnCommented:
Usually, when you do multihoming, it's a static setup...  It's not often that a single physical interface is multihomed yet you want the addresses to be dynamic.

Can you describe the physical relationship between the two networks you want to bind to the same NIC?   That might help us figure out where to look...
0
 
TomBolandCommented:
The best way out is to spend the small amount of money for another NIC card (and possibly a small dekstop switch.) DHCP binds the address to MAC address, so that even if it did give you two addresses, (which it shouldn't,) it could cause routing and ARP problems in the future because there could be two IP addresses for the same NIC.

You could try setting up a virtual interface (eth0:1)  and assigning that to DHCP also, but your DHCP server may balk at that.

Tom Boland
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now