Tema: Re: apie dhcp
Autorius: emnt
Data: 2009-04-08 10:50:29
echo 'ifconfig rl0 ether 11:22:33:44:55:66' >/etc/start_if.rl0

blah wrote:
> sita pavyko padaryti vietoj ifconfig_rl0 parasius ifconfig_rl0_alias0, bet 
> iskilo kitas sunkumas kaip paroutint
> rc.conf dabar atrodo taip:
> ---------------
> ifconfig_rl0_alias0="link xx:xx:xx:xx:xx:xx"
> ifconfig_rl0="DHCP"
> ifconfig_re0="inet 192.168.1.1 netmask 255.255.255.0"
> default_router="192.168.1.1"
> gateway_enable="YES"
> dhcpd_enable="YES"
> -----------------
> 
> o dhcpd.conf
> --------------
> option domain-name "bzzzz.lt";
> option subnet-mask 255.255.255.0;
> 
> default-lease-time 86400;
> max-lease-time 86400;
> ddns-update-style none;
> 
> subnet 192.168.1.0 netmask 255.255.255.0 {
>     range 192.168.1.150 192.168.1.200;
>     option routers 192.168.1.1;
> }
> -----------------
> kitas kompas su win pasigauna dhcp, bet internetas neveikia..
> gal kazko cia dar truksta ar tie visi subnet, netmask blogai surasyti ?
> 
> be to pastoviai kraunantis daro DHCPREQUEST on rl0 to 255.255.255.255 port 
> 67 kol nenutraukiu cntrl+c, gal galima sita kazkaip sutvarkyti?
> 
> dekui
> 
> "blah" <blah@blah.bl> wrote in message 
> news:gr5ivl$fd4$1@trimpas.omnitel.net...
>> kaip padaryti kad automatiskai uzsikrautu dhcp?
>> per konsole suvedus:
>> ifconfig rl0 link xx:xx:xx:xx:xx:xx
>> dhclient
>> viskas suveikia, tada bandau i /etc/rc.conf irasyti
>> ifconfig_rl0="ether xx:xx:xx:xx:xx:xx"
>> ifconfig_rl0="DHCP"
>> bet rebootinus nepakeicia mac'o ir kaip manau todel nepagauna dhcp
>> gal ne taip/ne cia reikia keisti mac'a ?
>> dekui
>>
> 
>