sonjaya wrote:
i have 2 router like bellow:
internet--router1----route2--lan
detail :
1. router1
interface internet = 192.168.0.10/24
gw = 192.168.0.2
interface to router2= 192.168.1.10 /24
2. router2
interface to router1 = 192.168.1.11/24
gw = 192.168.0.10
interface to lan= 192.168.2.1/24
router2's gateway is set to 192.168.0.10 but has no interface on that
network. Perhaps you intended it to be 192.168.1.10?
You'll also need a static route on router1 for 192.168.2.0/24 via
192.168.1.11 unless router2 is nat'ting for "lan". Same deal for
whatever device is at 192.168.0.2 for both the 192.168.1.0/24 and
192.168.2.0/24 networks.
i have set all router like this :
- all PF is disable
- in rc.conf i set = routed="-q"
What's the purpose of this? Judging by the documentation, it would cause
routed to only listen to RIP advertisements but not send out any.
Perhaps you wanted -s? That would theoretically get rid of your need to
set static routes.
--
Jason Stubbs