Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 13:50:59 +0500
From:      "Denis I. Morozov" <frozer@tumgasa.ru>
To:        freebsd-net@FreeBSD.ORG
Subject:   Cant to up PPP
Message-ID:  <02031513505907.01094@darkstar>

next in thread | raw e-mail | index | archive | help
Hi all!

I'm try to setup PPP-link between my FreeBSD 4.5 boxes, I have leased line 
and two a-sinchro modems for link connected to COM1 ports. Also I wrote in 
/etc/ppp/ppp.conf in Router1

========== ppp.conf ==============
default:
 set device /dev/cuaa0
 set log Phase Chat LCP IPCP CCP tun command

comlink:
 set speed 115200
 set mtu 576
 set mru 576
 set ifaddr 192.168.12.1 192.168.12.2 255.255.255.252 0.0.0.0
 add default HISADDR

========= ppp.conf END ==========

in Router2 everithing is same, exclude: 
 set ifaddr 192.168.12.2 192.168.12.1 255.255.255.252 0.0.0.0

Ok, I start ppp with command:
# ppp -dedicated comlink
Working in dedicated mode
Using interface tun0
#

All indicators on my modem says that link is up and everinthing ok. I see 
what ifconfig utility said:
ppp0: flags=8010<POINTOPOINT, MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,MULTICAST> mtu 1500
	inet6 fe80:2d0:4cff:fe49:a97%tun0 prefixlen 64 scopeid 0x8
So, MTU value not set (1500 must be 576) and IP not set. 
What I doing wrong?

-- 
Denis I. Morozov
--
PGP Key: D38CD5C8 - Keyserver:  www.keyserver.net
Key fingerprint = 365D 04F2 A90A 764C DE4F F7ED B2A2 CF78 D38C D5C8
mailto: frozer@tumgasa.ru

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02031513505907.01094>