home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / sys5 / r4 / 1160 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.8 KB

  1. Xref: sparky comp.unix.sys5.r4:1160 comp.unix.questions:15288 biz.comp.telebit.netblazer:13 comp.protocols.tcp-ip:5845 comp.unix.sysv386:17694
  2. Newsgroups: comp.unix.sys5.r4,comp.unix.questions,biz.comp.telebit.netblazer,comp.protocols.tcp-ip,comp.unix.sysv386
  3. Path: sparky!uunet!gator!larry
  4. From: larry@news.rn.com (Larry Snyder)
  5. Subject: SLIP connections and ifconfig/netstat/route problems
  6. Message-ID: <C0I4BC.2Ix@news.rn.com>
  7. Organization: Gator Communications - Feeds-R-Us 219-289-3745 
  8. Date: Thu, 7 Jan 1993 20:45:11 GMT
  9. Lines: 31
  10.  
  11. my netstat -rn shows (after a re-boot):
  12.  
  13. Destination          Gateway              Flags    Refcnt Use        Interface
  14. 127.0.0.1            127.0.0.1            UH       0      0          lo0
  15. 192.207.21.3         192.207.21.3         UH       0      0          sl0
  16. 192.207.21.3         192.207.21.3         UH       0      0          sl0
  17. default              192.207.21.3         UG       5      1366       sl0
  18. 192.190.77           192.190.77.1         U        0      0          eth0
  19.  
  20. I bring the machine up with:
  21.  
  22. cp /etc/inet/resolv.conf.orig /etc/inet/resolv.conf
  23. /usr/sbin/slipattach /dev/term/b01s 192.207.21.195 netblazer-ip 38400
  24. /usr/sbin/ifconfig "sl0" gator netblazer-ip netmask 255.255.255.0 up
  25. cp /etc/inet/resolv.conf.conf /etc/inet/resolv.conf
  26. /usr/sbin/in.named
  27. /usr/sbin/route add default netblazer-ip 1
  28.  
  29. Now, if I don't add the above ifconfig line, route fails with
  30. "network is unreachable" on the above route command.  I need
  31. to add the ifconfig line in order for the route add default....
  32. to take effect.
  33.  
  34. Any ideas why I need to specify another ifconfig (besides the
  35. default that comes up enabled with slip)?
  36.  
  37. larry
  38.  
  39. -- 
  40. Larry Snyder                                    internet: larry@gator.rn.com
  41. keeper of the Gator                                  uucp: uunet!gator!larry
  42.