From owner-freebsd-questions Mon Aug 26 20:35:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA03951 for questions-outgoing; Mon, 26 Aug 1996 20:35:41 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts16-line5.uoregon.edu [128.223.150.205]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA03934 for ; Mon, 26 Aug 1996 20:35:34 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id UAA00463; Mon, 26 Aug 1996 20:35:40 -0700 (PDT) Date: Mon, 26 Aug 1996 20:35:40 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: "Jay E. Erickson" cc: freebsd-questions@freefall.freebsd.org, Jay@nserver.gf-net.af.mil Subject: Re: TCP/IP config help? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 26 Aug 1996, Jay E. Erickson wrote: > I received my FreeBSD 2.1.5 CD set and had little problem loading it. > But I can't seem to get it to talk to the network. Can you elaborate on this? What happens? What errors do you get? > The box was running Linux so I don't think it's a hardware problem. > I can't make any kind of TCP connections with the box, but when I > do a >netstat -r it manages to lookup the names of the router and my > other Linux box. Hm..... > I've included excerpts of what I think are the important files. > > system boot messages > > lp0: TCP/IP capable interface > . > 1 3C5x9 board(s) found on ISA found at -x0300 > ep0: at 0x300-0x30f irq 10 on isa > ep0: aui/utp[*UTP*] address 00:20:af:dc:1f:07 > . > ep0: flags=8843 mtu 1500 > inet 132.10.1.16 netmask 0xffffff00 broadcast 132.10.1.255 > ether 00:20:af:dc:1f:07 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > add net default: gateway 132.10.1.1 As a note, the ep0 driver isn't in the best shape currently. I don't think any of these problems point to the driver, but keep it in mind. > >netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default b242-c7000-01 UGSc 0 0 ep0 > localhost localhost UH 0 4 lo0 > b242/24 link#2 UC 0 0 > b242-c7000-01 link#2 UHLW 1 0 > ns2 0:20:af:dc:1f:7 UHLW 1 10 lo0 > server 0:20:af:dc:34:d5 UHLW 0 25 ep0 966 > > >netstat -nr > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 132.10.1.1 UGSc 0 0 ep0 > 127.0.0.1 127.0.0.1 UH 0 4 lo0 > 132.10.1/24 link#2 UC 0 0 > 132.10.1.1 link#2 UHLW 1 0 > 132.10.1.16 0:20:af:dc:1f:7 UHLW 1 10 lo0 > 132.10.1.17 0:20:af:dc:34:d5 UHLW 0 26 ep0 941 Looks perfectly good here. > > > hostname="ns2.gf-net.af.mil" > > network_interfaces="ep0 lo0" > ifconfig_ep0="inet 132.10.1.16 netmask 255.255.255.0" > ifconfig_lo0="inet localhost" > > static_routes="" > > defaultrouter="132.10.1.1" > > routerflags=-q Try setting this to routerflags=NO Routed has been known to cause odd problems. > > > # @(#)networks 5.1 (Berkeley) 6/30/90 > local 127 # your comment > gfafb 131.10 > gfafb-netmask 255.255.255 # subnet mask for your-net > # Your subnets > b242 132.10.1 home I don't have anything in networks and it works fine. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major