firewall

  1. There are four interfaces on our router: Local1 (for connecting internal network1), Local2 (for connecting internal network2), Public1 (connected to the ISP1), Public2 (connected to the ISP2). I want to route local1 with gateway from ISP1 and local2 with gateway from ISP2. Access from local1 must be trough ISP1 adn local2 trough ISP2…

  2. There are 2 DNS from two ISP( ISP1 and ISP2) , how to share each dns to each local network.

1: Policy routing. Mark traffic entering the router on local 1 and policy route to ISP 1. Examples in the manual.

2: Setup DNS server on the router using ISPs DNS servers as forwarders. Supply the router IP address as DNS option in DHCP to clients.

Regards

Andrew