Subject: Disjoint ethernet segment routing problems
To: None <netbsd-help@netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: netbsd-help
Date: 04/11/1999 04:01:58
platform-i386 (running current as of 4/9/99)

HELP again please *8^(((  I can't make this work.

I'm seeing more problems with the configuration below:


  206.100.6.73  (ISP) --- 206.100.6.205 (ISP?)
         |
         |
         |
  206.100.6.74  (FlowPoint WAN side)
   +-----------+
+--| FlowPoint |
|  +-----------+                                         (172.16.89.40/29)
|                                                       (205.216.89.40/29)
|  rtr                      newhouse                     big-box
|  205.219.89.41 <-->  205.219.89.46 +----------------+  205.216.89.45 (172.16.89.45)
+------------DSL connection----------|de1          de0|-------hub
 (Flowpoint LAN side)                |                |       |||
                                     |  rockhead.com  |       |||
                                     |   NetBSD box   |   +---+|+---+
                       c528574-a     |                |   |    |    |
    24.1.4.193   <-->  24.1.4.200/32 |                |   |    |   .44
 -----------cable connection---------|ne0             |   |   .43  glorias-pc
 (@home)                             +----------------+  .42   w95
                                       router box         pimin

Router box is compiled with option GATEWAY and when I run:

   /usr/sbin/sysctl -w net.inet.ip.forwarding

I get:

   net.inet.ip.forwarding = 1

/etc/ifconfig.de0:
   inet 205.219.89.45 netmask 255.255.255.248 broadcast 205.219.89.47

/etc/ifconfig.de1:
   inet 205.219.89.46 205.219.89.41 netmask 255.255.255.255

Router box shows:

   Destination        Gateway            Flags     Refs     Use    Mtu  Interface
   default            link#2             UCS         0        0      -  de1 =>
   default            205.219.89.41      UGS         2      409      -  de1
   24.1.4.200/32      link#3             UC          0        0      -  ne0
   127.0.0.1          127.0.0.1          UH          1       26      -  lo0
   172.16.89.40/29    link#1             UC          0        0      -  de0
   172.16.89.42/32    00:40:05:a0:4e:b2  ULS2        6     3462      -  de0
   172.16.89.43/32    00:40:05:36:72:a7  ULS2        0        0      -  de0
   172.16.89.44/32    00:40:05:42:c3:b8  ULS2        0        0      -  de0
   205.219.89.40/29   link#1             UC          0        0      -  de0
   205.219.89.41      205.219.89.46      UHS         0        0      -  de1                <<<<<<<<
   205.219.89.42/32   00:40:05:a0:4e:b2  ULS2        0       95      -  de0
   205.219.89.43/32   00:40:05:36:72:a7  ULS2        0        0      -  de0
   205.219.89.44/32   00:40:05:42:c3:b8  ULS2        0        0      -  de0
   205.219.89.45      00:40:05:a0:41:2a  UHL         0        8      -  lo0
   205.219.89.46      00:40:05:42:35:d0  UHL         0        2      -  lo0 =>
   205.219.89.46/32   link#2             UC          0        0      -  de1

from netstat -nr.

As soon as I do:

   ping <some remote address>

I get the route for .41 changed to:

   205.219.89.41      link#1             UHL         0        0      -  de0                <<<<<<<<

I can't get to any address on the DSL link beyond .46.

I've tried to use the -iface on the route command.  I can get the system to take 
the options but, it don't seem to do anything.  I don't understand what I'm doing 
wrong???



TIA,
Paul