From: iLya Bryzgalow <ill@krumn.oilnet.ru> To: community@altlinux.ru Subject: Re: [Comm] Простейшая сеть Date: Thu, 2 Oct 2003 09:49:50 +0400 Message-ID: <20031002094950.6bf2937f.ill@krumn.oilnet.ru> (raw) On Tue, 30 Sep 2003 22:01:35 +0700 Andrei Lomov <lomov@math.nsc.ru> wrote: > > Спасибо, я уж подумал, что на тривиальный вопрос > народ поленится отписать :) > > > Хочется сделать не просто чтобы абы как заработало, > но что-то более-менее разумное... > В совете нуждаюсь. > > > В сообщении от 30 Сентябрь 2003 14:40 iLya Bryzgalow написал(a): > > On Tue, 23 Sep 2003 21:50:01 +0700 > > > > Andrei Lomov <lomov@math.nsc.ru> wrote: > > > Хотелось бы поднять простейшую сеть из двух машин > > > с PCI-карточками fast ethernet, соединенными витой парой. > > > Выход наружу пока не предполагается. > > > > > > Одна машина ALM 2.2 как сервер приложений. > > > Вторая BCL 6.2 (486). > > > > > > Кроме ftp хотелось бы завести netfs. > > > > > > Никогда этого не делал, и не знаю, с чего начать, > > > что почитать в первую очередь. > > > > cat /usr/doc/initscripts-*/* /usr/share/doc/initscripts-5.49.1/sysconfig.txt А вначале лучше почитать Эви Немет "Руководство системного администратора UNIX" > > > > Как в оффтопике. > > 1. Даешь машинам имена. > > В /etc/sysconfig/network нужно что-то вписать? > NETWORKING=yes > FORWARD_IPV4=false > HOSTNAME=name.dname > DOMAINNAME=dname NETWORKING=yes FORWARD_IPV4=yes HOSTNAME=comp1.home DOMAINNAME=home В /etc/sysconfig/network-scripts/ifcfg-eth0 надо прописать типа: DEVICE=eth0 BOOTPROTO=static IPADDR=172.16.1.1 NETMASK=255.255.255.0 NETWORK=172.16.1.0 BROADCAST=172.16.1.255 ONBOOT=yes > > Можно ли обойтись без domainname, или не стоит? > (localhost.localdomain, name.dname)? Для двух машин (3,4,5... без сервера) можно обойтись без домена, а можно и с именем домена. Как в /etc/hosts пропишешь, так и будет по имени находить. 172.16.1.1 comp1.home comp1 172.16.1.2 comp2.home comp2 ..... Можно и так #ping comp1 можно и так #ping comp1.home > > Это не то же, что группа в оффтопике? они могут быть не связаны. Если запустишь самбу (сервис для вындовых сетей) Линуксовая машина будет видна и в Винде. > > > 2. Присваиваешь адреса (например 1.1.1.1 и 1.1.1.2) > > Когда появится выход во внешнюю сеть, > адреса нужно будет переопределить? Возьми адреса из специальных областей: 172.16.x.x 10.x.x.x При подключении к Инету внутренние адреса не будут вылезать наружу. Наружу будет свой адрес, внутри свой, между ними маршрутизация. > > > 3. В /etc/hosts прописываешь соответствия <имя> <адресс> > > 4. Запускаешь сервисы (ftp, netfs, http, samba,...) > > 5. Энджёишся. > > А что это такое 5-й пункт? :) Опечатка енджёишься :-) enjoy :-))))))))) > Зря перешел в приват, в листе если я ошибся, поправят. Пишу в лист, т.к. твой сервер мое письмо не принял. > > -- > Всего доброго, > > Andrei Lomov, > Sobolev Inst Math -- =-iLya Bryzgalow aka iLL-LinuxUser#301257-= =-Linux-=-Astronomy-=-Krasnodar-=-Russia-= _ I don't smoke, so wish to you! (_) ___ ___ JID:ill@jabber.org / / / / / / JID:illinux@jabber.ru / / / /__ / /__ http://illinux.boom.ru /__/ /_____//_____/ mailto:ill@krumn.oilnet.ru =-ALT Linux Sisyphus (20030930)
next reply other threads:[~2003-10-02 5:49 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-10-02 5:49 iLya Bryzgalow [this message] 2003-10-02 6:10 ` Mike Lykov 2003-10-02 6:38 ` Alexandr R. Ogurtzoff
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=20031002094950.6bf2937f.ill@krumn.oilnet.ru \ --to=ill@krumn.oilnet.ru \ --cc=community@altlinux.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