Skip to Content.
Sympa Menu

baslinux - Re: [BL] dhcp vs static network addressing

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Jean-Philippe Piers <f5nlg AT tiscali.fr>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] dhcp vs static network addressing
  • Date: Fri, 23 May 2003 18:26:26 +0000

On Fri, 23 May 2003 08:31:08 -0500 (CDT)
James Miller <jamtat AT mailsnare.net> wrote:

Hi James ,
i use a mix at home , my "normal" pc's are on static , but if i comming with
my notebook it use DHCP

that's my config file for dhcpd


# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
option domain-name "ampr.org"; # << my home domain name
option domain-name-servers gateway.ampr.org; # << my DNS server

default-lease-time 86400;
max-lease-time 864000;

subnet 44.128.1.0 netmask 255.255.255.240 { # << my subnet with mask

range 44.128.1.12 44.128.1.14; # << the dhcp range ... (
only 3 machines it's enoughf )
option broadcast-address 44.128.1.15; # << the broadcast adress
option routers gateway.ampr.org; # << my router to internet
}


that's all and it work perfectly when friends comes with notebook they can
upload and download files , i also use a samba server ....

cheers
Jean-Philippe



> On Fri, 23 May 2003, Otto Werner wrote:
>
> >
> It seems to me (not from long experience, but from deduction) that
> implementing both would be much less of a problem for a client than for a
> server and/or whole network. On a client, one could probably create a
> simple script that would run on bootup and would ask the user to choose
> between dhcp or static addressing. The dhcp choice would start the dhcp
> daemon, while the static addressing choice would just execute ifconfig
> eth0 192.168.x.x . Having done very little script writing, I'd have to
> puzzle for a while over how to do this. But maybe others will have a
> ready idea of how it should look or will find my idea in error.
>
> James
> _______________________________________________
> BasLinux mailing list
> BasLinux AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/baslinux




Archive powered by MHonArc 2.6.24.

Top of Page