Re: lug-bg: dhcpd
- Subject: Re: lug-bg: dhcpd
- From: teodor@xxxxxxxxxx (Teodor Georgiev)
- Date: Fri, 18 May 2001 15:46:38 +0200
----- Original Message -----
From: Stoian Mishev <stuckoff@xxxxxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Friday, May 18, 2001 1:59 PM
Subject: lug-bg: dhcpd
> imame slednata situacia
> edna C class mreva (primerno 192.168.1.0/24)
> w LAN-a sa zakacheni okolo 100 PC-ta (wsqko e s nqkakwo IP i daden GW
Linux-a
> kojto e na 192.168.0.1)
> no she se smenq dostawchika i IP-tata shte sa primerno 10.0.0.0/24
> bih iskal da pusna DHCPd kojto da rapryskwa IP-tata po MAC adresi
> ta wyprosa mi e kak naj lesno da wzema MAC addressite na wsichki LAN-ki w
> mrevata i da naprawq conf file za dhcp-to ? warianta za kojto se seshtam e
> naj slovnia .... wzemam na wqka mashina MAC-a i posle wywevdam na ryka,
koeto
> nqma smisyl da obqsnqwam che e dosta slovno i wremezaemashto :)))
> ta nqkoj ako e imal podoben problem i go reshil po-inteligentno pls. reply
:)
>
kogato pingnesh dadena mashina v LAN mrezha, pri ARP preobrazuvaneto
ressolvnatiq MAC adres se
pazi v t.nar. "arp cache", koito po default se syhranqva 2min maiche...
ta ide mi slednata ideq. ako imash iproute instaliran, che s nego sum go
pravil.
puskash edin script, da ti naobikoli s ping sichkite mashini (po IP).
posle samo karash iproute da ti izvadi MAC adresite i s edno scriptche
(awk,cut) si gi pribirash v nuzhniq format
kato pyrviq pich.
> --
> stuckoff
> e-mail: stuckoff@xxxxxxxxxxxx
> ICQ #: 5079105
> GSM: 088/435168
>
===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
Zagora
>
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
- Относно:
- lug-bg: dhcpd
- Изпратено от: stuckoff@xxxxxxxxxxxx (Stoian Mishev)
|