ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] dhcp раздача IP только известным MAC
Date: Mon, 06 Jul 2009 14:36:25 +0300
Message-ID: <m3k52m6o1y.fsf@mrkooll.tdr.pibhe.com> (raw)
In-Reply-To: <4A51DA0D.70205@eor.samara.ru> (=?utf-8?B?ItCa0L7RgNC+0YI=?= =?utf-8?B?0LrQvtCyINCT0LXQvtGA0LPQuNC5Iidz?= message of "Mon\, 06 Jul 2009 16\:03\:41 +0500")

Коротков Георгий writes:

> Maxim Tyurin пишет:
>> Коротков Георгий writes:
>>
>>   
>>> как сделать чтобы сервер dhcp обслуживал только определенные MAC адреса
>>> без жесткой привязки MAC - IP
>>>     
>>
>> Разрешить определенные MAC адреса в iptables. Остальные запретить.
>>   
> сурово, из пушки по воробьям
> получается нужен отдельный сервер тогда для dhcp

Совсем не обязательно
dhcp это udp порт 67-68
iptables -I INPUT -i $LAN_IFACE -p UDP --sport 67:68 --dport 67:68 ...

-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
   ___                                 
  / _ )__ _____  ___ ____ _______ _____
 / _  / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/  \_,_/___/
               /___/  

  reply	other threads:[~2009-07-06 11:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06  7:37 Коротков Георгий
2009-07-06 10:24 ` Maxim Tyurin
2009-07-06 11:03   ` Коротков Георгий
2009-07-06 11:36     ` Maxim Tyurin [this message]
2009-07-06 14:24       ` Коротков Георгий
2009-07-06 14:52         ` Maxim Tyurin
2009-07-07 13:51           ` Olvin
2009-07-07 16:05             ` Коротков Георгий
2009-07-08  7:20               ` Olvin  
2009-07-08  7:39                 ` Dmitriy Kruglikov
2009-07-24 19:47                 ` Michael Shigorin
2009-07-06 13:27 ` [Sysadmins] dhcp ÒÁÚÄÁÞÁ IP ÔÏÌØËÏ ÉÚ×ÅÓÔÎÙÍ MAC MisHel64
2009-07-08 13:13   ` [Sysadmins] dhcp раздача IP только известным MAC Коротков Георгий
2009-07-12 18:55     ` George V. Kouryachy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3k52m6o1y.fsf@mrkooll.tdr.pibhe.com \
    --to=mrkooll@bungarus.info \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git