From owner-freebsd-questions Sat Nov 8 15:12:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA29405 for questions-outgoing; Sat, 8 Nov 1997 15:12:13 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from murkwood.gaffaneys.com (dialup5.gaffaneys.com [208.155.161.55]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA29395 for ; Sat, 8 Nov 1997 15:12:06 -0800 (PST) (envelope-from zach@gaffaneys.com) Received: (from zach@localhost) by murkwood.gaffaneys.com (8.8.7/8.8.6) id RAA03665; Sat, 8 Nov 1997 17:11:41 -0600 (CST) From: Zach Heilig Message-ID: <19971108171141.36463@gaffaneys.com> Date: Sat, 8 Nov 1997 17:11:41 -0600 To: questions@freebsd.org Subject: Arg! networking problem driving me nuts Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ok, I am stumped. I have two machines on either end of a lap-link parallel cable. One I will call stable (running 2.2.5-stable) and one I will call current (running 3.0-971022-SNAP). What must I do to make packets flow from 'stable' to 'current' (they do flow in the other direction). I am sure there is something I am missing, but I haven't a clue what. stable (10.0.0.1) has the lap-link cable on lp1: lpt1 at 0x278-0x27f irq 5 on isa lpt1: Interrupt-driven port lp1: TCP/IP capable interface current (10.0.0.2) has the other end of the cable on lp0: lpt0: at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface stable$ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 208.155.161.51 UGSc 5 0 tun0 10/24 lp1 USc 1 0 lp1 10.0.0.1 127.0.0.1 UGHS 0 0 lo0 127.0.0.1 127.0.0.1 UH 2 209 lo0 208.155.161.51 208.155.161.55 UH 6 0 tun0 current$ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.0.0.1 UGSc 0 0 lp0 10/24 lp0 USc 1 0 lp0 10.0.0.2 127.0.0.1 UGHS 0 168 lo0 127.0.0.1 127.0.0.1 UH 1 0 lo0 current$ telnet stable Trying 10.0.0.1... [hangs], but on the other machine, I see: stable$ netstat -n Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 10.0.0.1.23 10.0.0.2.1029 SYN_RCVD udp 0 0 127.0.0.1.53 *.* udp 0 0 208.155.161.21.53 *.* udp 0 0 10.0.0.1.53 *.* stable$ ifconfig lp1 lp1: flags=8851 mtu 1500 inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00 stable$ route get 10.0.0.2 route to: current destination: current interface: lp1 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 16384 16384 0 0 0 0 1500 3527 current$ ifconfig lp0 lp0: flags=8851 mtu 1500 inet 10.0.0.2 --> 10.0.0.1 netmask 0xffffff00 current$ route get 10.0.0.1 route to: stable destination: stable interface: lp0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 This setup works when I run with msdos and use the appropriate drivers. -- Zach Heilig