Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 1997 17:11:41 -0600
From:      Zach Heilig <zach@gaffaneys.com>
To:        questions@freebsd.org
Subject:   Arg! networking problem driving me nuts
Message-ID:  <19971108171141.36463@gaffaneys.com>

next in thread | raw e-mail | index | archive | help
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<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> 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: <UP,HOST,DONE,WASCLONED,PROTO3>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
   16384     16384         0         0         0         0      1500      3527 

current$ ifconfig lp0
lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> 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: <UP,HOST,DONE,WASCLONED>
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971108171141.36463>