View previous topic :: View next topic |
Author |
Message |
The_Bell Apprentice
Joined: 01 Jul 2002 Posts: 157
|
Posted: Thu Sep 11, 2003 1:59 am Post subject: DHCP Server to assign static IP addresses for two NICs |
|
|
I've got a server running a DHCP server where other machines connecto to get access to the internet.
For two of the computers I want to assign static IP addresses, I have added the code to do this using the hostname and MAC NIC of the machines I want to connect.
But one of those computers has two NICs connected to the server, and I want the DHCP server to assign one IP for one of the NICs and another for the other NIC. But I cannot put two host HOSTNAME directives separately because when the server parses the second one it tells me that hostname HOSTNAME already exists.
Anyone know how could I handle this?
Thanks. _________________ Live long and prosper |
|
Back to top |
|
|
fbleagh Tux's lil' helper
Joined: 13 Jun 2002 Posts: 98
|
Posted: Thu Sep 11, 2003 2:17 am Post subject: |
|
|
dns would require each ip to have a different name associated.
so your gonna have hostname and hostname1
-- some adapter channeling might be possible , but im not sure |
|
Back to top |
|
|
fbleagh Tux's lil' helper
Joined: 13 Jun 2002 Posts: 98
|
Posted: Thu Sep 11, 2003 2:48 am Post subject: |
|
|
there is another thing u can do but its tricky
Bonding of nics -- 1 ip address - 2 nics
check out /usr/src/linux/Documentation/networking/bonding.txt |
|
Back to top |
|
|
|