Multiple IP's
David Peterson
davidp at wirelessconnections.net
Thu Jun 27 19:42:02 UTC 2013
I like that option. I will give that a try and see if it helps.
David
-----Original Message-----
From: dhcp-users-bounces+davidp=wirelessconnections.net at lists.isc.org
[mailto:dhcp-users-bounces+davidp=wirelessconnections.net at lists.isc.org] On
Behalf Of Peter Rathlev
Sent: Thursday, June 27, 2013 3:15 PM
To: Users of ISC DHCP
Subject: RE: Multiple IP's
On Thu, 2013-06-27 at 10:38 -0400, David Peterson wrote:
> The main issue is not which interface is listening, only which IP
> address responds. I think the only fix is to have multiple NICs with
> routing statements to the NIC.
Not exactly elegant, but you might be able to use something like this:
ip route add 198.51.100.0/24 via 192.0.2.1 dev eth0 src 192.0.2.10 ip
route add 203.0.113.1/24 via 192.0.2.1 dev eth0 src 192.0.2.20
If dhcpd lets the kernel choose a source address that should work. It
happens to affect any traffic towards those net that haven't already
selected a source address, not just dhcpd. But it should work.
--
Peter
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users
More information about the dhcp-users
mailing list