From: Eugene Prokopiev <john@rmts.donpac.ru> To: community@altlinux.ru Subject: [Comm] Dial-in server & remote Windows in local network Date: Wed, 19 May 2004 15:59:44 +0400 Message-ID: <40AB4C30.2030409@rmts.donpac.ru> (raw) Здравствуйте! Необходимо по диалапу впустить компьютер с виндой в локальную сеть. Для этого был поднят dial-in на ALM 2.2: 1. Установлены ppp и mgetty 2. В конфигах написано следующее: /etc/mgetty+sendfax/login.config: /AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug * - - /bin/login @ /etc/mgetty+sendfax/mgetty.config: debug 4 fax-id 49 115 xxxxxxxx speed 57600 port ttyS1 debug 4 data-only y speed 57600 /etc/ppp/options: lock login auth netmask 255.255.255.0 modem crtscts refuse-chap require-pap mtu 576 mru 576 proxyarp ms-dns 192.168.102.180 options.ttyS1: 192.168.102.180:192.168.102.1 pap-secrets: * myserver.myprovider.ru "" * /etc/inittab: ... T1:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS1 ... Результат: Винда дозванивается и получает адрес 192.168.102.1, как и планировалось. Но в качестве default router у нее 192.168.102, а хотелось бы 192.168.102.180. Как это сделать? Кроме того, даже если на винде прописать route add 0.0.0.0 mask 0.0.0.0 192.168.102.180 (а старый маршрут на 0.0.0.0 предварительно удалить), винда не видит никого (т.е. ICMP-запросы не проходят) дальше 192.168.101.180, т.е. той машины, на которой и поднят dial-in. У dial-in сервера есть следующие интерфейсы: eth1: Link encap:Ethernet HWaddr 00:60:97:5D:98:63 inet addr:192.168.101.180 Bcast:192.168.101.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1107586 errors:3 dropped:0 overruns:0 frame:3 TX packets:853124 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:187998617 (179.2 Mb) TX bytes:640668251 (610.9 Mb) Interrupt:11 Base address:0xd000 ppp0: Link encap:Point-to-Point Protocol inet addr:192.168.102.180 P-t-P:192.168.102.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:576 Metric:1 RX packets:24 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1390 (1.3 Kb) TX bytes:124 (124.0 b) Форвардинг включен, iptables опущен. На всех машинах в локальной сети dial-in сервер прописан как default router, и они видят эту диалапную машину и по ICMP, и по SMB. Правда пакеты ходят странно: tcpdump -i ppp0 утверждает, что всех удачных запросах (из локальной сети на диалапную машину) задействован внешний интернетовский ip-адрес, сидящий на eh0. tcpdump -i eth0 и mtr/traceroute утверждают обратное. Короче, полный бред. Помогите разобраться. Надо впустить винду в локальную сеть по-человечьи. -- С уважением, Прокопьев Евгений
next reply other threads:[~2004-05-19 11:59 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-05-19 11:59 Eugene Prokopiev [this message] 2004-05-19 12:24 ` Sergey V. Golovin 2004-05-19 13:03 ` Eugene Prokopiev 2004-05-19 13:15 ` Sergey V. Golovin 2004-05-19 18:05 ` Eugene Prokopiev 2004-05-19 19:27 ` Anatol B. Bazjukin 2004-05-20 3:37 ` Sergey V. Golovin 2004-05-20 4:31 ` Eugene Prokopiev
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=40AB4C30.2030409@rmts.donpac.ru \ --to=john@rmts.donpac.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