Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 15:12:51 -0500 (CDT)
From:      Nick Rogness <nick@rogness.net>
To:        FBSDQ <questions@FreeBSD.ORG>
Subject:   RE: Three nics routing problem
Message-ID:  <Pine.BSF.4.21.0207151450520.51729-100000@cody.jharris.com>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGCEHMCFAA.barbish@a1poweruser.com>

next in thread | previous 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


	Looks good...forwding enabled.

> 
> 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.

	What does the routing table on both "test" machines look
	like?  Are they using the FreeBSD machine as their default
	gateway?  What does traceroute reviel?

> 
> 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.

	The info listed above looks as if the box should just work.


Nick Rogness <nick@rogness.net>
 - Don't mind me...I'm just sniffing your packets




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?Pine.BSF.4.21.0207151450520.51729-100000>