[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Routed and netmask...
- To: freebsd-questions_(_at_)_freebsd_(_dot_)_org
- Subject: Re: Routed and netmask...
- From: Nikos Vassiliadis <nvass_(_at_)_teledomenet_(_dot_)_gr>
- Date: Mon, 5 Feb 2007 10:12:17 +0200
- Cc: Thiago Esteves de Oliveira <thiago_(_dot_)_e_(_dot_)_o_(_at_)_gmail_(_dot_)_com>
On Saturday 03 February 2007 22:08, Thiago Esteves de Oliveira wrote:
> 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"
>
routed uses by default ripv1, which is clasful.
That means that your net/26 surely won't work.
I doubt your other_net/24 is a C class network,
(from 192.0.0.0/24 to 223.255.255.0/24).
Use explicitly ripv2("-P ripv2") and see what's
going on. You can use rtquery to query routed.
Check the neighbour routeds as well. Be sure
to check the in-kernel routing table using
"netstat -r".
Hope this helps, Nikos
_______________________________________________
freebsd-questions_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org