ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] dhcpd на алиасах одного интерфейса
Date: Wed, 20 Dec 2006 01:31:48 +1000
Message-ID: <458805E4.30009@sakhalin.ru> (raw)
In-Reply-To: <11db01c7234e$eac9e670$62fe0a0a@WORKER>

Konstantin Polanskiy wrote:
> Здравствуйте, все!
> 
> 
> dhcpd на алиасах одного интерфейса, можно ли поднять если на одном 
> интерфейсе есть два алиаса, напримар 192.168.1.0 и второй алиас 192.168.2.0
> 
> Если можно то как, что-то я нигде ненашел, но как то давно попадалась мне 
> такая дока....

Можно, всё можно - man dhcpd.conf на предмет shared-network.

Выглядит примерно так:

shared-network eth0 {
     subnet 192.168.1.0 netmask 255.255.255.0 {
         # здесь конфиг для сети 192.168.1.0
     }
     subnet 192.168.2.0 netmask 255.255.255.0 {
         # здесь конфиг для сети 192.168.2.0
     }
}

-- 
WBR, Dmitry Lebkov


      reply	other threads:[~2006-12-19 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-19  9:20 Konstantin Polanskiy
2006-12-19 15:31 ` Dmitry Lebkov [this message]

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=458805E4.30009@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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