cat interfaces # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 edit /etc/init.d/dhcp # Defaults INTERFACES="eth1" Larry Hunsicker wrote:
--Another couple of questions, folks: I have a system with two NICs, one pointing outward to a cable modem that needs to be set up with DHCP, and one pointing inward to support my home network that I configure with static IP addresses. I have gotten and installed dhcp3-client. Two questions: How do I get DHCP initialized; i.e., how do I get the dhcp-client files installed into the init.d and rc*.d files? How do I assure that the first NIC is configured by DHCP, but the other one with static ips? Many thanks in advance to any help you all can give me. Larry Hunsicker
=================================================================
= Management is doing things right; leadership is doing the =
= right things. - Peter Drucker =
=_______________________________________________________________=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf =
= www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone =
=================================================================
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]