problem with routnig

Bruce M. Simpson bms at FreeBSD.org
Wed Sep 27 06:19:16 PDT 2006


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


More information about the freebsd-net mailing list