From: Andrei Lomov <a.lomov@mail.ru> To: community@lists.altlinux.org Subject: [Comm] настроить рутер Date: Tue, 27 Feb 2007 22:18:32 +0600 Message-ID: <es1lkq$okv$1@sea.gmane.org> (raw) Помогите разобраться... На машине (ALM 2.4) поднято два сетевых интерфейса: Файл: ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=172.22.22.22 NETMASK=255.255.255.128 GATEWAY=172.22.22.1 ONBOOT=yes DNS=81.1.1.1 Файл: ifcfg-eth1 DEVICE=eth1 BOOTPROTO=static IPADDR=10.1.1.1 NETMASK=255.255.255.0 NETWORK=10.1.1.0 BROADCAST=10.1.1.255 ONBOOT=yes В /etc/rc.d/rc.local прописано /sbin/iptables -t nat -A POSTROUTING -s 10.1.1.3 -d 0.0.0.0/24 -j SNAT --to-source 172.22.22.22 На второй машине (ALC 3.0), подключенной к первой через eth1, прописан интерфейс /etc/net/ifaces/eth0 Файл: ipv4address 10.1.1.3/24 Файл: ipv4route default via 10.1.1.1 Мыслилось так, чтобы ходить со второй машины в интернет сквозь первую. Ан нет. На первой машине ping 81.19.69.28 во внешнюю сеть идет нормально, На второй машине ping 10.1.1.1 на первую машину идет нормально. На второй машине ping 81.19.69.28 (попытка выйти во внешнюю сеть) дает "100% packet loss". Где это я кривлю? -- Всего доброго, А.Л.
next reply other threads:[~2007-02-27 16:18 UTC|newest] Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-27 16:18 Andrei Lomov [this message] 2007-02-27 16:28 ` Andrii Dobrovol`s`kii 2007-02-27 16:34 ` [Comm] настроить рутер [JT] Andrei Lomov 2007-02-27 16:46 ` Andrii Dobrovol`s`kii 2007-02-27 16:50 ` Andrei Lomov 2007-02-27 16:57 ` Anatol B. Bazyukin 2007-02-27 17:01 ` Andrii Dobrovol`s`kii 2007-02-28 8:42 ` Andrii Dobrovol`s`kii 2007-02-28 12:43 ` [Comm] настроить рутер Andrei Lomov 2007-02-28 14:05 ` Andrii Dobrovol`s`kii 2007-02-28 14:45 ` Andrei Lomov 2007-02-28 15:49 ` Andrii Dobrovol`s`kii 2007-02-28 13:59 ` [Comm] настроить рутер [JT] Andrei Lomov 2007-02-28 14:39 ` Andrii Dobrovol`s`kii 2007-02-27 17:04 ` [Comm] настроить рутер Nikolay A. Fetisov 2007-02-28 12:09 ` Andrei Lomov 2007-02-28 12:30 ` Kostarev Alexey 2007-02-28 12:52 ` Andrei Lomov 2007-02-28 15:03 ` Vyatcheslav Perevalov 2007-02-28 15:33 ` Andrei Lomov 2007-02-27 17:40 ` Kosserior 2007-02-28 12:03 ` Andrei Lomov 2007-03-04 10:38 ` [Comm] Трафик Faizov Alisher 2007-03-04 10:54 ` Serge 2007-03-04 12:12 ` Faizov Alisher 2007-03-04 12:42 ` Serge 2007-03-04 14:48 ` Denis G. Samsonenko 2007-03-04 18:31 ` Алексей Синицын 2007-03-04 18:37 ` Denis G. Samsonenko 2007-03-04 19:01 ` Алексей Синицын 2007-03-04 19:29 ` Алексей Синицын 2007-03-04 19:57 ` Motsyo Gennadi aka Drool 2007-03-04 20:16 ` Алексей Синицын 2007-03-09 11:54 ` Chernetsky Andrey 2007-04-27 15:45 ` [Comm] пользователь и su - Vasiliy 2007-04-27 16:10 ` Damir Shayhutdinov 2007-05-02 14:24 ` Yuri Shulika 2007-03-05 1:44 ` [Comm] Трафик Denis G. Samsonenko 2007-03-04 10:54 ` Motsyo Gennadi aka Drool
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='es1lkq$okv$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