From: Andrei Lomov <a.lomov@mail.ru> To: community@lists.altlinux.org Subject: Re: [Comm] eth0, eth1, eth2 Date: Sat, 09 Sep 2006 23:21:10 +0700 Message-ID: <eduplm$1gd$1@sea.gmane.org> (raw) In-Reply-To: <20060909140549.GP21561@osdn.org.ua> Michael Shigorin wrote: > On Sat, Sep 09, 2006 at 08:59:55PM +0700, Andrei Lomov wrote: >> > Вы говорите, что у вас 2 карты, а я вижу, что у вас подняты 3 >> > интерфейса, причём IP адрес eth0 и eth2 совпадают, из-за >> > этого совпадения у вас и проблемы. >> >> Дело все-таки не в этом... >> Написал другой адрес на eth2, не помогло: > > Здраасьте :-( Ой >> eth0 Link encap:Ethernet HWaddr 00:05:5D:81:2D:65 >> inet addr:10.1.1.1 Bcast:10.1.1.255 Mask:255.255.255.0 >> eth2 Link encap:Ethernet HWaddr 00:11:95:F5:2B:69 >> inet addr:10.1.1.11 Bcast:10.1.1.255 Mask:255.255.255.0 > > Почитайте что-нить про IP-сети и маршрутизацию, базовое. > Например, NET-4-HOWTO. Иду читать. Под рукой есть NET-3-HOWTO. > Вкратце -- при маске 255.255.255.0 Вам надо варьировать как > минимум третий байтик, например, на eth0 -- 10.1.1.0/24, > а на eth2 -- 10.1.2.0/24. Получается, что на интерфейсах заводятся отдельные сети -- на eth0 10.1.1.0, на eth2 10.1.2.0 ? Не понимаю зачем на каждом интерфейсе заводить свою сеть... Почему нельзя все оставить в одной сетке. Ладно, потом может быть пойму. Надо соединить двумя кабелями три машины, из них одна (M) смотрит наружу: S \ M-- / N Почему на разных интерфейсах нельзя одинаковый IP, не понятно... "Возможно использование одного адреса несколькими интерфейсами на одной машине, но как правило этого не делают" [NET-3-HOWTO] -- Всего доброго, А.Л.
next prev parent reply other threads:[~2006-09-09 16:21 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-09-09 4:06 Andrei Lomov 2006-09-09 4:42 ` Хихин Руслан 2006-09-09 13:59 ` Andrei Lomov 2006-09-09 14:05 ` Michael Shigorin 2006-09-09 16:21 ` Andrei Lomov [this message] 2006-09-09 16:25 ` Michael Shigorin 2006-09-09 16:48 ` Вадим Илларионов 2006-09-09 17:24 ` Хихин Руслан 2006-09-11 17:24 ` Andrei Lomov 2006-09-12 6:21 ` Шенцев Алексей Владимирович 2006-09-11 12:37 ` [Comm] [OBORONA-SPAM] " ABATAPA 2006-09-09 14:06 ` [Comm] " Sergei Boudnik 2006-09-11 11:27 ` Andrii Dobrovol`s`kii 2006-09-09 13:50 ` Michael Shigorin 2006-09-09 15:34 ` Andrei Lomov 2006-09-09 16:22 ` Michael Shigorin 2006-09-09 14:10 ` Sergey Vlasov 2006-09-09 17:12 ` Evgenii Terechkov
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='eduplm$1gd$1@sea.gmane.org' \ --to=a.lomov@mail.ru \ --cc=community@lists.altlinux.org \ --cc=lhome@academ.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