From owner-freebsd-questions Sun May 10 11:49:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21555 for freebsd-questions-outgoing; Sun, 10 May 1998 11:49:48 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21546 for ; Sun, 10 May 1998 11:49:43 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id LAA20355; Sun, 10 May 1998 11:49:38 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 10 May 1998 11:49:37 -0700 (PDT) From: Doug White Reply-To: Doug White To: Stephane Raimbault cc: freebsd-questions@FreeBSD.ORG Subject: Re: Unable to telnet to BSD from LAN In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 9 May 1998, Stephane Raimbault wrote: > /home/segr> netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default 24.64.10.1 UGSc 8 61 ed0 > 24.64.10/24 link#1 UC 0 0 > 24.64.10.1 8:0:3e:0:14:3c UHLW 8 0 ed0 > 927 > 24.64.10.20 8:0:3e:0:14:3c UHLW 0 1 ed0 > 812 > 24.64.10.238 0:20:a9:c:9f:53 UHLW 0 161 lo0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 192.168 link#2 UC 0 0 > 192.168.0.1 ff:ff:a9:c:a0:1 UHLW 0 4 lo0 Hm, no entries for ed1. You need to add a net route for 192.168.0.0. Otherwise your computer is going to send packets for that net out ed0 and the next upstream router will squash it. You need to run this command: route add -net 192.168.0.0 -interface 192.168.0.1 You may want to add this to /etc/rc.conf as a static route. > /home/segr> ifconfig -a > ed0: flags=8843 mtu 1500 > inet 24.64.10.238 netmask 0xffffff00 broadcast 24.64.10.255 > ether 00:20:a9:0c:9f:53 > ed1: flags=8843 mtu 1500 > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > ether ff:ff:a9:0c:a0:01 > lp0: flags=8810 mtu 1500 > sl0: flags=c010 mtu 552 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message