From: Igor Solovyov <is-anti@mail.ru> To: mandrake-russian@linuxteam.iplabs.ru Subject: Re: [mdk-re] two addresses Date: Sun Jan 21 22:07:01 2001 Message-ID: <E14KPph-0005ns-00@smtp2.port.ru> (raw) In-Reply-To: <20010121195916.B22104@avilink.net> Hi ! On Sun, 21 Jan 2001 19:59:17 +0200 Alexander Bokovoy <ab@avilink.net> wrote: AB> On Sun, Jan 21, 2001 at 09:55:35PM -0500, Igor Solovyov wrote: AB> > Нужно на один интерфейс два адреса назначить. AB> Если есть /etc/sysconfig/network-scripts/ifcfg-eth0, AB> то второй адрес будет описан в AB> /etc/sysconfig/network-scripts/ifcfg-eth0:0, AB> третий -- в /etc/sysconfig/network-scripts/ifcfg-eth0:1, и так далее, AB> только в них нужно DEVICE соответственно будет eth0:0, eth0:1 и т.д. AB> Главное -- в ядре должна быть поддержка IP address aliases. Спасибо! А в /etc/conf.modules для eth0:0 алиас прописывать нужно? AB> > И еще, если не трудно, подскажите чем можно сделать такую вещь: AB> > приходит пакет на <адрес>:<порт>, отправить его на <другой адрес>:<другой порт> AB> Можно. В зависимости от того, куда перенаправление идет (внутрь сети или наружу) по-разному. AB> В первом случае -- это обыкновенный редирект, который лучше делать через xinetd. AB> Во втором случае -- iproute2/iputils. Нужно так: приходит на внешний интерфейс рутера, а перенаправляется на один из хостов в локалке. Т.е. через xinetd делать? А взять его, насколько я понимаю, можно в Sisyphus? -- Best regards! Igor Solovyov Zlatoust, Russia
next prev parent reply other threads:[~2001-01-21 22:07 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-01-21 19:56 Igor Solovyov 2001-01-21 21:02 ` Alexander Bokovoy 2001-01-21 22:07 ` Igor Solovyov [this message] 2001-01-21 23:01 ` Alexander Bokovoy
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=E14KPph-0005ns-00@smtp2.port.ru \ --to=is-anti@mail.ru \ --cc=mandrake-russian@linuxteam.iplabs.ru \ /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