ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilya Palagin <tux@fioc.kz>
To: community@altlinux.ru
Subject: Re: [Comm] ppp netmask help
Date: Fri, 31 Jan 2003 00:34:13 +0600
Message-ID: <3E397025.6060302@fioc.kz> (raw)
In-Reply-To: <20030130182934.73023b6d.Maxim.Savrilov@socenter.ru>

Maxim.Savrilov@socenter.ru wrote:
> On Thu, 30 Jan 2003 13:17:17 +0600
> Maxim.Savrilov@socenter.ru wrote:
> 
> 
>>>Снова сделайте все по HOWTO и дайте сюда вывод команды route в
>>>момент, когда клиент на линии. Следует также проверить наличие
>>>опции FORWARD=TRUE в /etc/sysconfig/network.
>>
>>сервер держит внутреннюю сетку, так что с форвардом все в порядке
>>
В смысле "держит" - из внутренней сети есть связь с интернетом через ppp0?

> на сервере
> # route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.0.9     0.0.0.0         255.255.255.255 UH    0      0        0 ppp1
> 217.70.124.223  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         217.70.124.223  0.0.0.0         UG    0      0        0 ppp0
> # iptables -t nat -nvL
> Chain POSTROUTING (policy ACCEPT 13265 packets, 738K bytes)
>  pkts bytes target     prot opt in     out     source               destination         
>  7150  378K MASQUERADE  all  --  *      ppp0    0.0.0.0/0            0.0.0.0/0
все правильно (у вас, я так понимаю, нет cтатического IP адреса? Если 
есть, то лучше использовать SNAT)

> 
> на клиенте
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.0.1     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 ppp0
> 
И здесь порядок.

А можно взглянуть на /etc/ppp/options* ?  У меня ситуация такая же - 
dial-up. Но при этом все клиенты - и на eth*, и на ppp* без проблем 
работают.




  reply	other threads:[~2003-01-30 18:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30  5:22 Maxim.Savrilov
2003-01-30  6:25 ` Ilya Palagin
2003-01-30  7:17   ` Maxim.Savrilov
2003-01-30 10:36     ` Oleg K. Artemjev
2003-01-30 12:29     ` Maxim.Savrilov
2003-01-30 18:34       ` Ilya Palagin [this message]
2003-01-30 11:03 ` Максим Ярушин
2003-01-30 11:21   ` Maxim.Savrilov
2003-01-30 11:35     ` [Comm] Почта (Postfix & POP3) Maxim Ivanov
2003-01-30 11:45       ` Ilya Palagin
2003-01-30 11:58       ` Pavel S. Khmelinsky
2003-01-30 12:24         ` Maxim Ivanov
2003-01-30 13:32         ` [Comm] Re: [Comm][JT] " Dmitry Lebkov
2003-01-30 14:21           ` Pavel S. Khmelinsky

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=3E397025.6060302@fioc.kz \
    --to=tux@fioc.kz \
    --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