2 ips for one client nic

Sergey E. Ponomarev <pse@aaanet.ru> pse at aaanet.ru
Tue Jul 15 08:29:16 UTC 2014


Hi,
   I've read all over the man and can't find such a simple function as 
to assign 2 ips from different subnets to one client.
   Searching inet gives nothing.
   Could anyone tell me is it possible at all?

   tried 2 configs with no luck
   win client takes only first ip

First:
   subnet 10.0.0.0 netmask 255.255.255.0 {
    option routers 10.0.0.1;
    deny unknown-clients;
    host C1_1 { hardware ethernet 1c:6f:65:56:63:71; fixed-address 
10.0.0.5; }
   }
  subnet 10.0.1.0 netmask 255.255.255.0 {
   deny unknown-clients;
   host C1_2 { hardware ethernet 1c:6f:65:56:63:71; fixed-address 
10.0.1.5; }
  }

Second:
   subnet 10.0.0.0 netmask 255.255.255.0 {
    option routers 10.0.0.1;
    deny unknown-clients;
   }
  subnet 10.0.1.0 netmask 255.255.255.0 {
   deny unknown-clients;
}
  host C1_1 { hardware ethernet 1c:6f:65:56:63:71; fixed-address 
10.0.0.5, 10.0.1.5; }

-- 
Best regards,
  Ponomarev Sergey



More information about the dhcp-users mailing list