Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 1996 18:34:32 -0500 (EST)
From:      Robert Nicholson <robert@steffi.mnsinc.com>
To:        questions@freebsd.org
Subject:   PPP
Message-ID:  <199602252334.SAA00316@steffi.mnsinc.com>

next in thread | raw e-mail | index | archive | help
OK, if anybody knows an easy way to view the handbook without a web
browser please let me know...

Anyway, I've just tried to get ppp going with tun0 and I think I'm
prepared to give up and go with what I know and try straight pppd
instead.  The routing seemed to be wrong with tun0 as no packets were
going out.

Also, what's putting all that traffic over the wire when I'm not
really using the link?

Did anybody else choose to do the same?

The way I'm use to setting things up is like this.

assining a bogus ip address to my machine.

such that my hosts table looks like.

127.0.0.1 	localhost 
255.255.255.255 	broadcasthost 
206.55.3.15 	news1.mnsinc.com news1 news 
192.42.172.1 	steffi.mnsinc.com steffi 

192.42.172.1 is totally bogus...

ifconfig -a reports.

lo0: flags=869<UP,LOOPBACK,NOTRAILERS,RUNNING>
        inet 127.0.0.1 netmask ff000000 
en0: flags=63<UP,BROADCAST,NOTRAILERS,RUNNING>
        inet 192.42.172.1 netmask ffffff00 broadcast 192.42.172.255
ppp0: flags=10<POINTOPOINT>
ppp1: flags=10<POINTOPOINT>

NOTE: en0 

I only should be telling ppp what my internet address is... /etc/hosts
should need to know about this.

When the link is down netstat -rn reports.

steffi:33# netstat -rn
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
127.0.0.1        127.0.0.1          UH          2      255  lo0
192.42.172       192.42.172.1       U           4      807  en0

When the link is up

Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
199.164.210.1    206.239.33.180     UH          0        0  ppp0
127.0.0.1        127.0.0.1          UH          6      287  lo0
206.239.33.180   127.0.0.1          UH          0        0  lo0
default          199.164.210.1      UG          1        9  ppp0
192.42.172       192.42.172.1       U           6      898  en0

so I'm going to copy this configuration over and I'm assuming it will
work. I'm thinking perhaps the kernel needs to be configured to use
pppd or a loadable module must be loaded?





-- 
                  "For I am Costanza, lord of the Idiots"
            (PGP key: send email with Subject: request pgp key)





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