alhthough i didnt read the code of dhcp server...usually when a dhcp client 
request enters one of the physical nic that has an ip address bind to it.. that 
nic's ip address is the bases to compare its dhcp configuration file in the 
subnet declaration.... 

with regards to your problem... you have a single nic which binds two different 
network logically... the primary ip address binds to your nic is the bases to 
compare to your subnet declaration... let say your primary ip address is in the 
192.168.0.0/24 network and your secondary ip address is in the 172.16.0.0/24 
network... inside your 192.168.0.0/24 subnet declaration.. you have to map the 
mac address of the pc inside the 172.16.0.0/24 network to whatever ip address 
you want to assign in the 172.16.0.0/24 range...i didnt try it but it will more 
likely to work but in a tedious task...

to make your life simple.. just acquire another network card.... network card 
is cheap nowadays.... and you separate the broadcast domain of your two 
networks versus to one nic...

fooler.
  ----- Original Message ----- 
  From: croilan cruz 
  To: [email protected] 
  Sent: Tuesday, April 17, 2007 11:25 AM
  Subject: [plug] Re: help dhcp


  Greetings,

  is it possible to configure dhcp from linux box with multiple network eg. 
first network 192.168.0.0/24 second network 172.16.0.0/24 with only one nic 
card.
  many thanks....

  froilan,
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to