From: Anton Ukolov <kabinet216@post.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] DHCP, etcnet и статический адрес
Date: Fri, 04 Dec 2009 17:45:24 +0300
Message-ID: <4B192084.2040803@post.ru> (raw)
In-Reply-To: <20091204142707.GD8754@vladregion.ru>
Alexander Volkov пишет:
> А что там рулить-то? У меня так и сделано, маршруты просто пускаются через
> статику из того-же ifup-post
>
Предположим у Вас на одном физическом интерфейсе 2 ip-адреса, первый
динамический, второй дополнительный- статика. Адреса из подсети,
допустим 192.168.1.1/24 и .192.168.1.2/24. Вам нужно на определенный
хост отправлять пакеты только с адреса 192.168.1.2/24. Сама система по
умолчанию подставит первичный адрес, т.е. 192.168.1.1, т.о. здесь уже
скорее всего придется SNAT использовать, может возможно и более
по-умному это сделать, но у меня щас голова уже не варит... =)
Как мне кажется, примение ната уже несет в себе усложнение системы, что
в дальнейшем может вылезти в виде каких-нибудь неочевидных граблей...
--
С уважением,
Антон Уколов
next prev parent reply other threads:[~2009-12-04 14:45 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 [this message]
2009-12-04 15:28 ` Владимир Саломатин
2009-12-07 8:29 ` Alexander Volkov
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=4B192084.2040803@post.ru \
--to=kabinet216@post.ru \
--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