From owner-freebsd-hackers Tue May 20 11:28:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA17517 for hackers-outgoing; Tue, 20 May 1997 11:28:07 -0700 (PDT) Received: from numachi.numachi.com (numachi.numachi.com [198.175.254.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA17458 for ; Tue, 20 May 1997 11:27:58 -0700 (PDT) Received: (from reichert@localhost) by numachi.numachi.com (8.6.12/8.6.12) id OAA19840; Tue, 20 May 1997 14:27:21 -0400 Message-ID: <19970520142720.04568@numachi.numachi.com> Date: Tue, 20 May 1997 14:27:20 -0400 From: Brian Reichert To: freebsd-hackers@freebsd.org Subject: can't find my gateway with ep0 interface Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.68 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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