From owner-freebsd-hackers Tue May 20 12:45:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA21721 for hackers-outgoing; Tue, 20 May 1997 12:45:26 -0700 (PDT) Received: from cypher.net (black@zen.pratt.edu [205.232.115.155]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA21716 for ; Tue, 20 May 1997 12:45:20 -0700 (PDT) Received: (from black@localhost) by cypher.net (8.8.5/8.7.1) id PAA10385; Tue, 20 May 1997 15:08:36 -0400 Date: Tue, 20 May 1997 15:08:36 -0400 (EDT) From: Ben Black To: Brian Reichert cc: freebsd-hackers@FreeBSD.ORG Subject: Re: can't find my gateway with ep0 interface In-Reply-To: <19970520142720.04568@numachi.numachi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk turn off plug and pray with the 3com dos utilities (3c5x9cfg.exe?). On Tue, 20 May 1997, Brian Reichert wrote: > Folks- > > I am trying to make use of one of those nasty 3Com boards via the UTP > port. > > However, I can't seem to set a route to my gateway. > > I have rebuilt the kernel, such that the device probes. > > I have applied the funky 'link' options as per the ep(4) manpage. > > But, when I try to add the route, all I get is 'network is > unreachable'. > > I've pored over the FAQ, the manpages for route, ifconfig, and ep, as > well as the mailing list archives for -question, and -hackers, but to > no avail. > > This card, with these settings, does work under Dos95 and NT, so I'm > confident the hardware works. > > I below have introduced what I hope is useful information, so if anyone > can help me dig this out, I'd appreciate it... > > -- > Brian 'you Bastard' Reichert reichert@numachi.com > 37 Crystal Ave. #303 > Derry NH 03038-1713 USA Intel architecture: the left-hand path > > ------------------------------------------------- > > % uname -a > FreeBSD 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: Tue May 20 12:16:27 GMT 1997 root@:/usr/src/sys/compile/AOBRIEN i386 > > % dmesg > [...] > 1 3C5x9 board(s) on ISA found at 0x210 > ep0 at 0x210-0x21f irq 11 on isa > ep0: aui/utp/bnc[*UTP*] address 00:20:af:d2:c7:ef > [...] > > % ifconfig ep0 down > % ifconfig ep0 inet link0 link1 debug > % ifconfig ep0 up > > % ifconfig ep0 > ep0: flags=8847 mtu 1500 > inet 194.94.223.253 netmask 0xffffff00 broadcast 194.94.223.255 > ether 00:20:af:d2:c7:ef > > % route add default 199.94.223.1 > writing to routing socket: Network is unreachable > add net default: gateway 199.94.223.1: Network is unreachable > > % netstat -in > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll > lp0* 1500 0 0 0 0 0 > ep0 1500 00.20.af.d2.c7.ef 393 0 1 0 0 > ep0 1500 194.94.223 194.94.223.253 393 0 1 0 0 > tun0* 1500 0 0 0 0 0 > sl0* 552 0 0 0 0 0 > lo0 16384 26 0 26 0 0 > lo0 16384 127 127.0.0.1 26 0 26 0 0 > > % netstat -nr > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 194.94.223 link#2 UC 0 0 > 194.94.223.253 0:20:af:d2:c7:ef UHLW 1 26 lo0 >