Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 14:19:12 +0100
From:      "Bruce M. Simpson" <bms@FreeBSD.org>
To:        Marko Lerota <marko.lerota@zg.t-com.hr>
Cc:        freebsd-net@freebsd.org
Subject:   Re: problem with routnig
Message-ID:  <451A7A50.7090803@FreeBSD.org>
In-Reply-To: <86d59h4syy.fsf@sparrow.local>
References:  <86d59h4syy.fsf@sparrow.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Marko Lerota wrote:
> route_lan2="-net 192.168.2.0 -netmask 255.255.255.0 -iface xl0"
> route_lan2="-net 192.168.2.0 -netmask 255.255.255.0 192.168.1.1"
>   
Neither of these subnet routes should be necessary as 192.168.2.0/24 is 
already directly connected via fxp0.

Do you still see the problem without this route installed?

The netstat output you posted contains the directly-connected subnet 
route 192.168.2.0/24 which is automatically added when you configure the 
interface address.

Regards,
BMS



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