Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2007 00:47:16 +0100
From:      "Grzegorz Pluta" <grzegorz.pluta@segi.pl>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Routed and netmask...
Message-ID:  <20070203234729.A33A113C4A5@mx1.freebsd.org>
In-Reply-To: <c46abf9d0702031208m1cbdf554p7fc7dddf6d5bf20a@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
If eee.eee.eee.0/26 is a separate network (wich i guess it is) there needs
to be a routing device there too. How can a packet find its way to the
internet? The router sees only eee.eee.eee.o network on its port (not
mentioning the iii.iii.iii.0 network from wich the packet travels)

It is also possible that im missing something. Your network visualization is
kinda weird...
The top interface address is wrong. It cant be eee.eee.eee.11 with /26 mask.
The lowest address with this mask is 193.

What actually is this eee network? How did you connect your eee network to
the internet? For me it makes little sense...

Sorry if im wrong. Please explain more!
Cheers,
greg
> 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"





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070203234729.A33A113C4A5>