LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp wants to provide two different NIC cards (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-wants-to-provide-two-different-nic-cards-716277/)

sajina 04-02-2009 04:26 AM

dhcp wants to provide two different NIC cards
 
Sir,

I want to provide dhcp in different NIC which are eth3 and eth2 .
eth2 has the IP address of 192.168.3.1 and eth3 has the IP address of 192.168.4.1. I want to provide dhcp to 192.168.3.0network and also for 192.168.4.0 network.All these are done in ubuntu server.Please anyone give me a solution.

farslayer 04-02-2009 09:35 AM

man dhcpd.conf shows examples of creating scopes for multiple subnets in your DHCP server.

The network cards on your client PC will get an address based on the Network they are connected to.

Depending on how things are connected in your network you may need to configure a dhcp-relay agent on your Router or the PC acting as a router between the various subnets.


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