Routed and netmask...

Thiago Esteves de Oliveira thiago.e.o at gmail.com
Sat Feb 3 20:34:30 UTC 2007


Hi,

I'm using "FreeBSD 6.2 Stable" with routed to connect networks(gateway)....


   THE INTERNET
             |
             |
--------------------------------
|  eee.eee.eee.0/26  |
--------------------------------
             |
             |
       eee.eee.eee.11/26
       ROUTER
       iii.iii.iii.1
             |
             |
     --------------------
     |  iii.iii.iii.0/24 |  "My Network"
     --------------------


The problem...

The system is routing, but only to iii.iii.iii.0/26 .

Look... my rc.conf

ifconfig_em0="inet iii.iii.iii.1 netmask 255.255.255.0"
ifconfig_sk0="inet eee.eee.eee.11 netmask 255.255.255.192"

defaultrouter="eee.eee.eee.1"
router_enable="YES"
router_flags="-s"
gateway_enable="YES"
router="/sbin/routed"


...


More information about the freebsd-questions mailing list