From owner-freebsd-questions Sat Jun 12 16:55:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id B9A9814E3D for ; Sat, 12 Jun 1999 16:55:10 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA57348; Sun, 13 Jun 1999 00:55:05 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA28618; Sun, 13 Jun 1999 00:54:19 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199906122354.AAA28618@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Ilia Chipitsine Cc: questions@FreeBSD.ORG Subject: Re: ppp question In-reply-to: Your message of "Sat, 12 Jun 1999 22:36:37 +0600." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sun, 13 Jun 1999 00:54:17 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > i need to set up a ppp connection = > = > 195.54.15.228 < ---- > 195.54.15.86 = > (my machine) (server) > = > it's not Class C network, so I tried to > include = > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.254.0 0.0.0.0 > or = > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.0.0 0.0.0.0 > to /etc/ppp/ppp.conf set ifaddr 195.54.15.228 195.54.15.86 255.255.255.0 may be more straight to the point :-) > it connects well, but 'ifconfig -a' gives > tun0: flags=3D8051 mtu 1500 > inet 195.54.15.228 --> 195.54.14.86 netmask 0xffffff00 > ^^ > i expected 0xfffffe00 here > = > why ? i suspect that is the reason why it doesn't even ping other = > side of peer. Netmasks are ignored for point-to-point links... this shouldn't have = anything to do with your problem, but the latest versions of ppp = *should* get the netmask right. Take a look at the FAQ (http://www.FreeBSD.org/FAQ/userppp.html) to = get some hints on how to diagnose your problem. > Regards, (=EE=C1=C9=CC=D5=DE=DB=C9=C5 =D0=CF=D6=C5=CC=C1=CE=C9=D1) > = > Ilia Chipitsine (=E9=CC=D8=D1 =FB=C9=D0=C9=C3=C9=CE) -- = Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message