LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2003, 05:16 PM   #1
scoobadiver
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Setting up DHCP Distribution


Looking or direction or information on setting up DHCP on a firewall. I have one NIC as a DHCP client from my IP provider. I would like to setup the 2nd NIC to bridge between my computer and the 1st NIC and to auto assign IP numbers to computers that use it as a gateway to the internet.

Thanks

Last edited by scoobadiver; 10-05-2003 at 05:20 PM.
 
Old 10-05-2003, 10:38 PM   #2
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
try this


$ cd /etc/
$ vi dhcpd.conf

# ENTER THE FOLLOWING (changing to suit your network)

ddns-update-style interim;

default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers primaryDNSip, secondardDNSip;
# option domain-name "example.com";

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.11 192.168.0.100;
}



# THEN!

$ cd /etc/sysconfig/
$ vi dhcpd

# Command line options here
# Where eth# is eth card connected to the local network
# you want to use DHCP for

DHCPDARGS=eth1


hope this helps
 
  


Reply



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
setting up dhcp abunsair Debian 1 07-11-2005 09:31 AM
Setting up DHCP Baix Linux From Scratch 1 06-19-2005 11:52 PM
setting up dhcp toddmvc Linux - Networking 2 08-20-2003 12:36 PM
ltsp dhcp distribution to terminals problem spoutnik Linux - Newbie 1 06-20-2003 01:13 PM
Setting up DHCP AFTER installation. RJWMU Linux - Newbie 3 05-17-2003 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:47 AM.

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