--- Kjetil Tjensvold <[EMAIL PROTECTED]> wrote: > You do have 2 nic's? > But they dont get ip-adresses from yor ISP > dedicated. > Some ISP only support one dynamic IP-address at the > time and dont allow several PC's connected. > It seems that they dont receive any ip-adress at > all.If u have 2 nic's you must enable bridging > between > the 2 cards or run the linuxbox as a router.
I do have 2 NICs. eth0 is for the internel network and eth1 is connected to my DSL modem. I use rp-pppoe to automatically connect to my ISP apon boot. My Linux box is a router and IP masquerading works fine when my clients are manually configured with an IP address, subnet mask, gateway IP address, and DNS server addresses. For some reason the DHCP server on my Linux box doesn't seem to work anymore and I'd like to know how to fix that. > --- The Gyzmo <[EMAIL PROTECTED]> skrev: > > > --- Kjetil Tjensvold <[EMAIL PROTECTED]> wrote: > > > Have you enabled ip-forwarding and bridge on > your > > > linux-box. > > > I assume the clients is getting the ip adress > > > through > > > your linuxbox??? > > > > > > > In my ipchains script that runs on every boot I > > have: > > ----- > > ipchains -A forward -j MASQ > > echo 1 > /proc/sys/net/ipv4/ip_forward > > ----- > > > > My problem is with DHCP; IP forwarding works fine. > > > > > --- The Gyzmo <[EMAIL PROTECTED]> skrev: > > Hello > > > list > > > members. > > > > > > > > I've just configured my Red Hat 7.2 box as a > > > gateway > > > > for DSL and I've started using DHCPd again. > The > > > > problem is that the clients aren't getting an > IP > > > > address. I know the service is running because > I > > > did > > > > "ps-aux | grep dhcpd" and it shows that > > > > /usr/sbin/dhcpd is running. Here is the error > I > > > get > > > > on > > > > a Windows client when trying to renew the > > ethernet > > > > adapter: > > > > ----- > > > > Error > > > > > > > > DHCP Server Unavailible: Renewing Adapter > > > > ----- > > > > > > > > On the server, in /var/log/messages, this is > > what > > > is > > > > outputted when I try renewing the adapter in > > > > Windows: > > > > ----- > > > > Apr 21 12:08:57 commandcenter dhcpd: > DHCPREQUEST > > > for > > > > 172.16.11.1 from 00:c0:4f:a1:a3:53 via eth0 > > > > ----- > > > > > > > > On a Linux client when restarting the network > > > there > > > > is > > > > no error, but simply it uses an old address > that > > > was > > > > once assigned to it (don't know how long ago) > > and > > > in > > > > both the client's and server's > /var/log/messages > > > > there > > > > are no errors. > > > > > > > > Here is my /etc/dhcpd.conf file: > > > > ----- > > > > subnet 172.16.0.0 netmask 255.255.0.0 > > > > { > > > > option subnet-mask 255.255.0.0; > > > > > > > > option routers 172.16.10.1; > > > > > > > > option domain-name > > > > "bogus.domain"; > > > > > > > > option domain-name-servers 63.203.35.55, > > > > 206.13.28.12; > > > > > > > > option time-offset -18000; # Eastern > Standard > > > Time > > > > > > > > range dynamic-bootp 172.16.10.2 > 172.16.10.254; > > > > > > > > default-lease-time 64800; # 18 hrs. > > > > > > > > max-lease-time 86400; # 24 hrs. > > > > } > > > > ----- > > > > > > > > I've looked in some books and the DHCP > > mini-HOWTO > > > > and > > > > I think I've done everything right. Can > someone > > > help > > > > me? > > > > > > > > Thank you in advance. > > > > > > > > ===== > > > > ----- > > > > This message is from Serban Giuroiu, also > known > > > > online as The Gyzmo. > > > > < g y z m o b r o @ y a h o o . com > AIM > Screen > > > > Name: gyzmobro > > > > > > > > "Code Smarter, Not Harder" > > > > ~~~~~ > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Yahoo! Games - play chess, backgammon, pool > and > > > more > > > > http://games.yahoo.com/ > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Redhat-list mailing list > > > > [EMAIL PROTECTED] > > > > > > > > > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > ===== > > > Investigating the Norwegain 4.th Secret Service > > > The multiheaded animal. > > > > > > http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm > > > > > > > > > ______________________________________________________ > > > Sjekk snørapporter... > > > fra 500 ski-destinasjoner i Europa > > > på http://no.snow.yahoo.com/ > > > > > > > > ===== > > This message is from Serban Giuroiu, also known > > online as The Gyzmo. > > < g y z m o b r o @ y a h o o . com > AIM Screen > > Name: gyzmobro > > > > "Code Smarter, Not Harder" > > ~~~~~ > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Games - play chess, backgammon, pool and > more > > http://games.yahoo.com/ > > > > > > > > _______________________________________________ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > > https://listman.redhat.com/mailman/listinfo/redhat-list > > ===== > Investigating the Norwegain 4.th Secret Service > The multiheaded animal. > http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm > > ______________________________________________________ > Sjekk snørapporter... > fra 500 ski-destinasjoner i Europa > på http://no.snow.yahoo.com/ ===== This message is from Serban Giuroiu, also known online as The Gyzmo. < g y z m o b r o @ y a h o o . com > AIM Screen Name: gyzmobro "Code Smarter, Not Harder" ~~~~~ __________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list