Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 12:58:39 +1000
From:      "Sysadmin" <freebsd@m2mtechnology.com>
To:        <freebsd-net@FreeBSD.ORG>
Subject:   Packet routing
Message-ID:  <NEBBIONCAPPDEJNFIAEGEEHFCAAA.freebsd@m2mtechnology.com>

next in thread | raw e-mail | index | archive | help
Can anyone tell us how to get FreeBSD to route packets? This should be an
easy question, infact all the documentation that we have read says that
FreeBSD should route packets simply by setting the line gateway_enable="YES"
in rc.conf.

What we have a gateway machine with 6 interfaces on individual networks (1
external, 5 internal).

interfaces:
ex0	203...
vr0	10.0/16
vr1	10.1/16
vr2	10.2/16
vr3	10.3/16
vr4	10.4/16

We want the gateway to route packets across the internal networks. eg. a
machine on network 10.0/16 should be able to reach a machine on 10.1/16 (or
any 10.*/16 network) via the gateway. What happens is that the packet just
doesn't get routed. A traceroute show the packet reach the gateway but it
doesn't get any further.

Could it be anything to do with the network number 10? Obviously this is in
the range of non-routable networks. Does this mean that when FreeBSD
recieves a packet from a 10 network, that is not destined for itself, it
silently drops the packet?

We have looked at all the kernel build options and we have tried the generic
kernel, to no effect.

This is what our routing table looks like:

Internet:
Destination        Gateway            Flags      Netif Expire
default            203.36.202.65      UGSc        ex0
10/16              link#1             UC          vr0 =>
10.0.255.255       ff:ff:ff:ff:ff:ff  UHLWb       vr0
10.1/16            link#2             UC          vr1 =>
10.2/16            link#3             UC          vr2 =>
10.2.0.50          0:10:a4:1:db:18    UHLW        vr2   1004
10.3/16            link#4             UC          vr3 =>
10.4/16            link#5             UC          vr4 =>
127.0.0.1          127.0.0.1          UH          lo0
203.36.202.64/26   link#6             UC          ex0 =>
203.36.202.65      0:c0:7b:73:19:c6   UHLW        ex0   1019
203.36.202.80      52:54:0:e5:56:b    UHLW        ex0    359



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




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