*BSD News Article 81046


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!ddsw1!news.mcs.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!newsfeed.internetmci.com!in3.uu.net!news-in.iadfw.net!usenet
From: Brian Tidwell <Simbaka1@airmail.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: problems with routing using ppp...
Date: Fri, 18 Oct 1996 22:04:00 -0500
Organization: Dmage Inc.
Lines: 45
Message-ID: <32684520.B61@airmail.net>
Reply-To: Simbaka1@airmail.net
NNTP-Posting-Host: fw16-1.ppp.iadfw.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b6 (Win95; I)

Ok, here's the problem, besides the one in front of the keyboard :)...

Using 2.1.5, I go through the user ppp and am able to dial and login
manually, then packet mode takes over, everything _looks_ ok, but when I
try to do anything I get name lookup failures.  I can ping my
dynamically assigned ip, but get no response from the terminal server
that I dial into.  So, here are the details...

in sysconfig:
	network_interfaces="lo0 tun0"
	ifconfig_lo0="inet localhost"
	ifconfig_tun0="inet royce.airmail.net 0.0.0.0 netmask 0xffffff00"
#what kind of routing should I have here?
	defaultrouter=NO
	router=routed

in ppp.conf:
	default
	 set device /dev/cuaa0
	 set speed 19200
	 set dial "ATDT8858800"
	 ifaddr 0 0
	 add 0 0 HISADDR

in ppp.linkup:
	delete ALL
	add 0 0 HISADDR

the default gateway for my isp is supposed to be 0.0.0.0, and the
netmask is 255.255.255.0. Their nameservers are 204.178.72.1 and
204.178.72.1.  I've added that info to the resolv.conf file.  I'm kinda
stuck at this point.  I would really appreciate any help...feel free to
email! or post.

One more thing that looks strange...
When I boot I get:
	ifconfig: ioctl (SIOCAIFADDR)Destination Address Required
	tun0:flags=8010 <POINTTOPOINT, MULTICAST> mtu 1500

shouldn't that have an UP and RUNNING field in the tun0 args?

thanx again! :)

Royce Tidwell
roycet@airmail.net