ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alexander Volkov <vaa@altlinux.org>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] DHCP, etcnet и статический адрес
Date: Mon, 7 Dec 2009 11:29:47 +0300
Message-ID: <20091207082947.GE8754@vladregion.ru> (raw)
In-Reply-To: <4B192084.2040803@post.ru>

On 2009-12-04 17:45:24 +0300, Anton Ukolov wrote:
AU> Alexander Volkov пишет:
AU> >А что там рулить-то? У меня так и сделано, 
AU> >маршруты просто пускаются через
AU> >статику из того-же ifup-post
AU> >  
AU> Предположим у Вас на одном физическом 
AU> интерфейсе 2 ip-адреса, первый 
AU> динамический, второй дополнительный- 
AU> статика. Адреса из подсети, допустим 
AU> 192.168.1.1/24 и .192.168.1.2/24. Вам нужно на 
AU> определенный хост отправлять пакеты 
AU> только с адреса 192.168.1.2/24. Сама система по 
AU> умолчанию подставит первичный адрес, т.е. 
AU> 192.168.1.1, т.о. здесь уже скорее всего 
AU> придется SNAT использовать, может возможно 
AU> и более по-умному это сделать, но у меня 
AU> щас голова уже не варит... =)
AU> Как мне кажется, примение ната уже несет 
AU> в себе усложнение системы, что в 
AU> дальнейшем может вылезти в виде 
AU> каких-нибудь неочевидных граблей...
AU> 
ip r ad "определенный хост" via "gate" src 192.168.1.2
--
 Regards, Alexander



  parent reply	other threads:[~2009-12-07  8:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 15:08 Anton Ukolov
2009-12-03 15:17 ` Andrii Dobrovol`s`kii
2009-12-04  6:58   ` Anton Ukolov
2009-12-03 16:03 ` Владимир Саломатин
2009-12-04  6:55   ` Anton Ukolov
2009-12-03 17:37 ` Denis Klimov
2009-12-04  7:06   ` Anton Ukolov
2009-12-04 12:24     ` Michael Shigorin
2009-12-04 14:24       ` Anton Ukolov
2009-12-04 14:27         ` Alexander Volkov
2009-12-04 14:45           ` Anton Ukolov
2009-12-04 15:28             ` Владимир Саломатин
2009-12-07  8:29             ` Alexander Volkov [this message]
2009-12-04 13:11 ` Владимир Саломатин
2009-12-04 13:33   ` Alexander Volkov
2009-12-04 16:27 ` Yuriy Kashirin
2009-12-08 15:09   ` Anton Ukolov

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=20091207082947.GE8754@vladregion.ru \
    --to=vaa@altlinux.org \
    --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