ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andy Gorev <gorev@mailru.com>
To: community@altlinux.ru
Subject: Re: [Comm] dial-in troubles...
Date: Fri, 27 Dec 2002 12:11:39 +0200
Message-ID: <3E0C275B.2030609@mailru.com> (raw)
In-Reply-To: <54173695180.20021226100214@scs-900.ru>

Evgeny Yugov wrote:
> Здравствуйте All,
> 
> Почему не пингается приконнекченный клиент?
> Имеем:
> 
> [root@bug /]cat /etc/ppp/options
> auth
> crtscts
> lock
> modem
> ms-dns 10.10.10.51
> ms-dns 10.10.0.200
> ms-dns 192.168.7.52
> nodefaultroute
> refuse-chap
> require-pap
> debug
> kdebug 8
> #proxyarp
> 
> Кстати из списка ms-dns как я понял берутся только 2 последних?
Это да.

> 
> [root@bug /]# cat /etc/ppp/options.ttyS1
> # 10.1.0.1:10.1.0.2
  ^^ зачем коммент?
какой командой стартует pppd ?

> 
> [root@bug /]# cat /etc/ppp/pap-secrets
> prem        *       ""              10.1.0.2
> 
> [root@bug /]# cat /proc/sys/net/ipv4/ip_forward
> 1
> 
> в итоге при коннекте
> ppp0 10.1.0.1
> у клиента адрес 10.1.0.2
> 
> но ping 10.1.0.2 не прокатывает
> и ping присвоенных dns со стороны клиента тоже...
> где грабли?
iptables -nL ?
tcpdump -ni ppp0 ?

> 
> У клиента на сетевой ифейс все назначается нормально...
route -n |grep 10.1.0.2 ?

> 
> до кучи:
> [root@bug /]# ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:04:76:8E:FE:A7
>           inet addr:10.10.4.90  Bcast:10.10.255.255  Mask:255.255.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:885173 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:90923 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0
>           RX bytes:76708050 (73.1 Mb)  TX bytes:24469064 (23.3 Mb)
> 
На этот интерфейс можно повесить 10.1.0.2 с маской /32

-- 
С Уважением,
Андрей Горев



  reply	other threads:[~2002-12-27 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-26  4:02 Evgeny Yugov
2002-12-27 10:11 ` Andy Gorev [this message]
2003-01-04  9:07   ` Re[2]: " Evgeny Yugov
2003-01-04 20:51     ` Andy Gorev

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=3E0C275B.2030609@mailru.com \
    --to=gorev@mailru.com \
    --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