Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-21-2004, 09:30 PM   #1
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
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.
Old 04-22-2004, 04:03 AM   #2
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Manually configuring DHCP for static IP -- cannot assign IP tristanlee85 Linux - Networking 3 10-16-2005 01:34 AM
SUSE: DHCP problem with two interfaces tbraun Linux - Networking 0 01-16-2005 08:13 PM
manually changing DHCP settings minm Linux - Newbie 2 01-10-2005 01:28 PM
Virtual network interfaces that use dhcp titakker Linux - Networking 1 09-23-2003 12:10 AM
debian DHCP/manually settings pe2338 Linux - Networking 0 08-14-2003 04:38 AM > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration