LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Manually specify network interfaces for DHCP (https://www.linuxquestions.org/questions/linux-networking-3/manually-specify-network-interfaces-for-dhcp-173113/)

NetAX 04-21-2004 09:30 PM

Manually specify network interfaces for DHCP
 
How do you manually specify a network interface when working with DHCP?

I cant use YaST because when it rewrites the file without checking the syntax and tries to restart it with the incorrect syntax. I cant do anything about that since it will write over the dhcp file i already i have.

The current configuration in YaST contains my one of my NIC's, eth0. Now i want to use my other NIC instead which is eth1. YaST cannot start and save the configuration properly, thats why i need to manually specify Network interfaces manually for dhcpd.

I need to know how to specify it so my dhcpd.conf file can use the proper NIC.

AutOPSY 04-22-2004 04:03 AM

try ifdown.

And Yast should be able to be configured for static IP addressing to eth devices.
'locate ifcfg-eth0'

in that directory, add a ifcfg-eth1 text file script with BOOTPROTO=static


All times are GMT -5. The time now is 05:18 PM.