ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Afanasov Dmitry <ender@atrus.ru>
To: community@altlinux.ru
Subject: Re: [Comm] dialin and routing
Date: Tue, 15 Feb 2005 17:38:59 +0300
Message-ID: <20050215143859.GA11927@nick.comp-mir.ru> (raw)
In-Reply-To: <20050215130825.GF12899@AKrasavin.localdomain>

On Tue, Feb 15, 2005 at 04:08:25PM +0300, Krasavin Andrey wrote:
> On Tue, Feb 15, 2005 at 03:53:33PM +0300, Afanasov Dmitry wrote:
> > > 192.168.1.133:192.168.1.134
> > юморист, тогда уж пропиши proxy_arp в options.ttyS0
> 
> Не могли
> бы поподробнее написать, почему так делать нельзя? Я думал, что
> человек, который будет подключаться к моему модему, должен будет
> получить ip-адрес из моей локалки.
почему ж нельзя, можно наверное... :) только это дело будет чуть-чуть
посложнее и позапутанне

единственное, что могу сказать: в данном варианте у тебя получается чушь с
адресами на интерфейсах. как я только что вычитал из man pppd:
<local_IP_address>:<remote_IP_address>
              Set  the local and/or remote interface IP addresses.

поэтому могу предположить, что у тебя на ppp0 и на eth0 один и тот же
адрес. почему бред - внятно не обьясню. могу точно сказать, что ядро в
таком случае не поймёт, каким интерфейсом пользоваться для работы с
192.168.1.134. bind() не пройдёт и всё такое.

более общее пояснение: "у тебя две физических сети (телефон и локалка), а
ip сеть одна и та же."

возможен так же вариант 192.168.1.x:192.168.1.134, где x != 133. "==" ни в
коем случае! будут глюки.

а proxy_arp тебе понадобится, если ты захочешь сделать доступным звонящий
хост из локалки без вырисовывание на каждой машине роута на 192.168.1.133.

> > в какой интерфейс валятся пакеты при ping 192.168.1.134? в ppp0 или eth0? 
> А как это посмотреть?
tcpdump, ethereal, iftop, iptraf, etc - снифферы, сетевые мониторы. ещё их
как-то обзывают, но я уж не упомню :)

> > а как с другой стороны?
> С другой стороны стоит винда. В логах ppp я вижу, что удаленная
> сторона успешно подключается.
что подулкчается я понял. меня route print (это для винды) инетерсовал

-- 
 С уважением,
 Афанасов Дмитрий


  reply	other threads:[~2005-02-15 14:38 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-15 11:15 Krasavin Andrey
2005-02-15 12:28 ` Krasavin Andrey
2005-02-17 13:04   ` Krasavin Andrey
2005-02-15 12:53 ` Afanasov Dmitry
2005-02-15 13:08   ` Krasavin Andrey
2005-02-15 14:38     ` Afanasov Dmitry [this message]
2005-02-18 11:11       ` Krasavin Andrey
2005-02-15 15:23     ` Genix
2005-02-15 15:35       ` Afanasov Dmitry
2005-02-17  8:46         ` Krasavin Andrey
2005-02-17  9:01           ` Afanasov Dmitry
2005-02-17  9:13             ` Krasavin Andrey
2005-02-16  6:10       ` Krasavin Andrey
2005-02-16  6:47         ` Afanasov Dmitry
2005-02-16  7:39           ` Krasavin Andrey
2005-02-16  8:04             ` Afanasov Dmitry
2005-02-16  8:14               ` Krasavin Andrey
2005-02-16  8:38                 ` Afanasov Dmitry
2005-02-16  9:00                   ` Krasavin Andrey
2005-02-16 11:47                     ` [Comm] [Summary] " Krasavin Andrey
2005-02-16 12:13                       ` Afanasov Dmitry
2005-02-16 12:22                         ` [Comm] " Genix
2005-02-16 12:38                         ` [Comm] [Summary] " Krasavin Andrey
2005-02-16 12:57                           ` Afanasov Dmitry
2005-02-16 13:06                             ` Krasavin Andrey
2005-02-16 13:27                               ` Afanasov Dmitry
2005-02-16 12:47                         ` Krasavin Andrey
2005-02-16 13:18                           ` Afanasov Dmitry
2005-02-16 13:41                             ` Krasavin Andrey
2005-02-16 13:59                             ` [Comm] " Genix
2005-02-16 14:10                               ` Afanasov Dmitry
2005-02-17  7:39                                 ` Genix
2005-02-17  8:13                                   ` thx! (Re: [Comm] dialin and routing) Afanasov Dmitry
2005-02-16 14:17                               ` [Comm] dialin and routing Krasavin Andrey
2005-02-16  8:26             ` Genix
2005-02-16  6:12       ` Krasavin Andrey
2005-02-16  6:25         ` Genix
2005-02-16  6:36           ` Krasavin Andrey
2005-02-16  6:52             ` Afanasov Dmitry
2005-02-16  6:51         ` Afanasov Dmitry
2005-02-16  7:29           ` Krasavin Andrey
2005-02-16  7:43             ` [Comm][JT] " Afanasov Dmitry
2005-02-16  8:00               ` Krasavin Andrey
2005-02-16  8:35                 ` Afanasov Dmitry
2005-02-16  8:58                   ` Krasavin Andrey
2005-02-16 14:44                     ` Sergey Lebedev

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=20050215143859.GA11927@nick.comp-mir.ru \
    --to=ender@atrus.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