[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NETVAERK] Flere instanser af DHCPD på samme box



On Tue, 06 Dec 2005 22:42:43 +0100
René wrote:

> Jeg har en server (FC4), der virker som gateway for mit lille netværk. 
> For at spare en box har jeg sat et trådlst netkort i boxen, og kan fint 
> benytte dette som AP (Det kører godt nok i Ad-Hoc mode, men virker fint).
> 
> Næste skridt er så selvfølgeligt at få DHCP tildelte IP'er på de 
> trådløse klienter.
> 
> Mit problem ligger i at jeg har én DHCPD instans kørende på LAN-kortet i 
> boxen. Jeg lavet en kopi af /etc/rc.d/init.d/dhcpd og kaldet denne 
> dhcpd-wireless. Jeg har lavet en tilsvarende kopi af 
> /etc/sysconfig/dhcpd. I en originale fil har jeg DHCPDARGS=eth1
> og i "wireless-udgaven" har jeg
> DHCPDARGS="-cf /etc/dhcpd-wireless.conf -lf 
> /var/lib/dhcp/dhcpd-wireless.leases wlan0"
> 
> jeg kan fint starte dhcpd med både den ene og den anden konfiguration, 
> så længe jeg kun kører én ad gangen, men ikke dem begge på samme tid?
> 
> Jeg skulle jo ellers mene at dhcpd kun skulle lytte på det angivne 
> interface? Eller virker det som et filter.. således at programmer binder 
> sig til alle interfaces, men kun svarer på request på det ene der er 
> opgivet?
> 
> Håber at nogle her kan hjælpe, jeg er efterhånden ret blank selv :(


Hvorfor skal du starte to DHCP'er? Kan man ikke have én til både
det ene og det andet interface? Det kan man i hvert fald med
den gamle DHCPD fra "Internet Software Consortium". man dhcpd siger bl.a.:

  COMMAND LINE
       The  names of the network interfaces on which dhcpd should
       listen for broadcasts may  be  specified  on  the  command
       line.   This  should  be  done  on  systems where dhcpd is
       unable to identify non-broadcast  interfaces,  but  should
       not  be  required on other systems.  If no interface names
       are specified on the command line dhcpd will identify  all
       network  interfaces which are up, elimininating non-broad­
       cast interfaces if possible, and listen  for  DHCP  broad­
       casts on each interface.



-- 
donald_j_axel donax snabela get2net.dk -- http://d-axel.dk/


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-01-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *