hi > On Tue, Oct 06, 2015 at 06:49:29AM +0200, Holger Glaess wrote: >> hi >> >> just a simple question >> >> how can i setup an kind of "default route" in rdomain 0 >> to , for example , rdomain 2. >> >> i have 3 rdomain >> >> the default one >> one with the internet connection ( rdomain 1 ) >> one for my wlan ( rdomain 2 ) >> >> the routing between wlan to internet is still working( test "route -n -T >> 2 >> exec ping 8.8.8.8" ), >> but if use the wlan client my local ( forward ) dns server in rdomain 0 >> he diden't got an anser as result that the dns server can not reach >> any externel dns server. > > You need to use pf to move packets between rdomains. Look for the rtable > keyword. >
i try somthing like that for rdomain 0 ( lan_if ) pass out on lan_if from any to any rtable 2 ( internet ) nat-to (pppoe0) or pass out rdomain from any to any rtable 2 nat-to (pppoe0) same with "in" because an simple ping to 8.8.8.8 in ( or on ? ) rdomain 0 ( direct on the router ) is no working. there is no default route at rdomain 0 holger > -- > :wq Claudio