|
2 NIC with static and dynamic IP
Hi,
I have 2 NIC installed in my debian machine which is also running a dhcp server (range 10.11.12.1-10.11.12.20. I want eth0 IP assigned by the DHCPserver and eth1 to be a static IP from different network (10.8.4.23).
If I make the changes in /etc/network/interfaces file, it all works for few mins and then the static IP automatically changes to a DHCPserver assigned IP. How do I resolve this issue?
I found by googling that ways to do is
1. deny eth1 in the dhcpd.conf using deny unknown-hosts;
But I dont want to deny all unknown host. I want to deny only a specific MAC. I couldn't find the exact line I need to include in my dhcpd.conf file by googling. It will be grat if someone can help me with this.
2. Second option was to set the static IP by DHCPserver. But since the static IP is on different network, I am not sure how to include this.
Please let me know.
Thanks,
Karthik
|