Article View: comp.os.linux.networking
Article #471Re: Howto configure dhcpd?
From: Simon Wu
Date: Thu, 04 Oct 2001 15:24
Date: Thu, 04 Oct 2001 15:24
32 lines
2383 bytes
2383 bytes
Hello, You need to install the dhcpd related RPM. The edit the file /etc/dhcpd.conf. Make sure the DNS is the same as your ISDN's. Use 172.16.1.1 as the default gateway. Then start "/usr/sbin/dhcpd -cf /etc/dhcpd.conf eth1". If you want you internal subnet machines to be also able to access the internet, you need to have IP forwarding and IP MASQUERADING running in you server. Please refer to the IP masq howto. Simon "Alguem" <alguem@hotmail.com> wrote in message news:1002128007.792194@triceratops.centroin.com.br... > I have two network cards on my linux server: > eth0 - ISDN connection (DHCP Client) > eht1 - 172.16.1.1 (mask 255.255.255.0) > > In my subnet, the computers are clients for my DHCP server (172.16.1.1). > This server is also a gateway to the Internet, and the eth0 should have a > valid IP on Internet. > > How should I configure my DHCP server for my subnet and avoid conflict in > eth0? Or, should I have to make some extra configure on my eth0, to obtain > the IP from the correct DHCP server? > > Thanks > []s Augusto Oliveira > > >
Technical Details
Message-ID:
<DyQu7.14119$Uf2.2115613@news20.bellglobal.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed.sovam.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mailReferences:
<1002128007.792194@triceratops.centroin.com.br>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: faa64,49adb80d8c0218b X-Google-Attributes: gidfaa64,public X-Google-Thread: 10169e,49adb80d8c0218b X-Google-Attributes: gid10169e,public X-Google-Thread: 10669a,49adb80d8c0218b X-Google-Attributes: gid10669a,public X-Google-ArrivalTime: 2001-10-03 20:19:07 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed.sovam.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "Simon Wu" <simonwu@sympatico.ca> Newsgroups: comp.os.linux.networking,alt.os.linux,corel.linux.networking References: <1002128007.792194@triceratops.centroin.com.br> Subject: Re: Howto configure dhcpd? Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: <DyQu7.14119$Uf2.2115613@news20.bellglobal.com> Date: Thu, 4 Oct 2001 11:24:31 -0400 NNTP-Posting-Host: 65.92.56.84 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1002165539 65.92.56.84 (Wed, 03 Oct 2001 23:18:59 EDT) NNTP-Posting-Date: Wed, 03 Oct 2001 23:18:59 EDT Organization: Bell Sympatico