Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!ix.netcom.com!netcom.com.nojunkemailplease.com!not-for-email From: nobody@not.for.email (Timothy J. Lee) Subject: Re: User PPP (iijppp) and routing Message-ID: <timleeED1Dwo.MF6@netcom.com> Followup-To: comp.unix.bsd.freebsd.misc Sender: timlee@netcom12.netcom.com Reply-To: see-signature-for-email-address---ads-not-welcome References: <timleeECzGL5.6Ms@netcom.com> <c4ltp5.jm1.ln@shift.utell.net> Date: Wed, 9 Jul 1997 05:29:12 GMT Lines: 67 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44132 brian@awfulhak.org, brian@utell.co.uk writes: |In article <timleeECzGL5.6Ms@netcom.com>, | nobody@not.for.email (Timothy J. Lee) writes: |> brian@awfulhak.org, brian@utell.co.uk writes: |>|What does "netstat -rn" say ? |> |> Before using ppp: |> |> Routing tables |> |> Internet: |> Destination Gateway Flags Refs Use Netif Expire |> 10.0.0.2 10.0.0.2 UH 0 10 lo0 |> 127.0.0.1 127.0.0.1 UH 0 14 lo0 |> |> After connecting with ppp: |> |> Routing tables |> |> Internet: |> Destination Gateway Flags Refs Use Netif Expire |> default xxx.xxx.xxx.57 UGSc 0 0 tun0 |> 10.0.0.2 10.0.0.2 UH 0 10 lo0 |> 127.0.0.1 127.0.0.1 UH 0 14 lo0 |> xxx.xxx.xxx.57 xxx.xxx.xxx.81 UH 1 0 tun0 |> |> where xxx.xxx.xxx.57 is a SunOS 4.1.3 machine running pppd at the other |> end, and xxx.xxx.xxx.81 is the IP address assigned by the other end to |> the FreeBSD 2.2.1 machine. I cannot get to anything on xxx.xxx.xxx, |> including xxx.xxx.xxx.81, after connecting with ppp. |[.....] | |Ok, so this says that you're xxx.xxx.xxx.81 and the other side is |xxx.xxx.xxx.57. | |Is xxx.xxx.xxx.57 not the "IP address of the remote host" (from your |original question) ? telnet xxx.xxx.xxx.57 should work ok. It does not work. Neither do "telnet xxx.xxx.xxx.81" or "telnet 127.0.0.1" or "telnet 10.0.0.2". xxx.xxx.xxx.57 is the IP address of the remote host (the SunOS 4.1.3 machine running pppd). BTW, others have done PPP connections to xxx.xxx.xxx.57 with PPP programs running on other OSes. |As far as the local IP is concerned, you can't get |at xxx.xxx.xxx.81 without a line in ppp.linkup: | |add MYADDR 255.255.255.255 127.0.0.1 I added this line to $HOME/.ppp.linkup ; it had no effect. Giving that line on the ppp command line appears to hang it (only kill -9 will unhang it). |I'm assuming you've got a recent ppp - there's one on |http://www.freebsd.org/~brian/ppp-2.2-970701.tar.gz. |The MYADDR stuff above won't work for FreeBSD <= 2.2.2. I have FreeBSD 2.2.1 and the ppp program that came with the 2.2.1 CD distribution in "The Complete FreeBSD" book. -- ------------------------------------------------------------------------ Timothy J. Lee timlee@ Unsolicited bulk or commercial email is not welcome. netcom.com No warranty of any kind is provided with this message.