Date: Sun, 10 May 1998 11:49:37 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: Stephane Raimbault <segr@segr.ml.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Unable to telnet to BSD from LAN Message-ID: <Pine.BSF.3.96.980510114615.4464C-100000@gdi.uoregon.edu> In-Reply-To: <Pine.BSF.3.96.980509160450.3611A-100000@segr.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 24.64.10.238 netmask 0xffffff00 broadcast 24.64.10.255 > ether 00:20:a9:0c:9f:53 > ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > ether ff:ff:a9:0c:a0:01 > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980510114615.4464C-100000>