*BSD News Article 92694


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.se.dataphone.net!nntp.uio.no!newsfeeds.sol.net!uwm.edu!newsspool.doit.wisc.edu!wiscnews.wiscnet.net!NewsWatcher!user
From: godfreja@cs.uwec.edu (Jason Godfrey)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Help! "no route to host" message
Date: 3 Apr 1997 21:05:03 GMT
Organization: UWEC Student ACM
Lines: 38
Message-ID: <godfreja-0304971509170001@137.28.251.242>
NNTP-Posting-Host: 137.28.251.242
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5733

Hello everyone.

   I'm trying to configure my NetBSD/i386 box to use a static slip line. I
issue the following commands:

      slattach -h -s 38400 /dev/tty00
      ifconfig sl0 137.28.225.242 137.28.2.1 netmask 0xffff0000 up
      route add default 137.28.2.1

  which works fine on my Mac running a post 1.2 netbsd kernel. However, on
the PC running a custom 1.2 kernel I get a "no route to host" error when I
try to ping / telnet / etc.

   I've been playing with this for quite awhile and I'm running out of
ideas here. Can anyone help me?

   Info
   ------
        The PC is running a custom NetBSD 1.2 kernel, but I had the same problem
                with GENERICOTHER 1.2 and 1.2.1
        The Mac was running a post 1.2 -current kernel from around November.

Netstat -rn reports
--------------------
Routing tables
Internet:
Destination      Gateway            Flags     Refs     Use    Mtu  Interface
default          137.28.2.1         UGS         0        1      -  sl0
127.0.0.1        127.0.0.1          UH          2       24      -  lo0
137.28.2.1       137.28.225.242     UH          1        0      -  sl0
137.28.225.242   127.0.0.1          UGHS        0        0      -  lo

Ifconfig sl0 reports
---------------------
sl0: flags=c011<UP,POINTOPOINT,LINK2,MULTICAST> 
inet 137.28.225.242 --> 137.28.2.1 netmask 0xffff0000 

  Thanks in advance for any help.....