Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2002 17:33:26 +0200
From:      Roelof Osinga <roelof@eboa.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Three nics routing problem
Message-ID:  <3D304846.7020300@eboa.com>

next in thread | raw e-mail | index | archive | help
I've got a routing problem the answer to which eludes me.

The situation is as follows. The box (4.6) has three NICs:

rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 10.0.1.55 netmask 0xffffff00 broadcast 10.0.1.255
         ether 00:e0:4c:39:00:32
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 10.0.0.55 netmask 0xffffff00 broadcast 10.0.0.255
         ether 00:60:97:14:31:a7
         media: Ethernet 10base2/BNC
ep1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 212.187.0.39 netmask 0xfffff800 broadcast 212.187.7.255
         ether 00:60:97:e4:98:db
         media: Ethernet 10baseT/UTP

The ep1 connects to the CATV external connection. The ep0 to the local coax
cable and finally the rl0 to a "switchlet". The idea was to start moving to
the UTP network. However, the box fails to comply.

Diagrammatically it looks like this:

CATV <--- ep1
           ep0 <---> test's ed0 as 10.0.0.10
               <---> other boxes
           rl0 <---> test's rl0 as 10.0.1.100
               <---> other stuff

Destination        Gateway            Flags    Refs      Use  Netif Expire
default            212.187.0.1        UGSc       35   338854    ep1
10/24              link#2             UC          2        0    ep0
10.0.0.2           0:0:e8:ef:7b:fb    UHLW        9    87347    ep0   1139
10.0.1/24          link#1             UCc         1        0    rl0
127.0.0.1          127.0.0.1          UH          2    17851    lo0
212.187.0/21       link#3             UC          2        0    ep1
212.187.0.1        0:30:7b:94:31:c8   UHLW       29        4    ep1   1200
212.187.7.255      ff:ff:ff:ff:ff:ff  UHLWb       0        5    ep1

frl:~/samba/NOTAS$ sysctl -a|grep forward
net.inet.ip.forwarding: 1
net.inet.ip.fastforwarding: 0

Even with forwarding enabled it does not forward. My workstation can connect
to 10.0.1.100 but only through the coax cable (the test box also has forwarding
enabled). When I unplug that cable it can no longer reach the test box. Which
is unfortunate.

The frl box will of course always communicate with the test box. But it will
not forward packets from the 10.0.0. net to the 10.0.1. net without resorting
to the coax net.

If someone knows what I'm overlooking, please inform!

Roelof

-- 
_______________________________________________________________________
eBOAź                                               est. 1982
http://eBOA.com/                                    tel. +31-58-2123014
mailto:info@eBOA.com?subject=Information_request    fax. +31-58-2160293


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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