Answer the question
In order to leave comments, you need to log in
How to set up Policy-based Routing on cisco so that there is a redirect to a stub?
How to set up Policy-based Routing on cisco so that a client with an ip from the 172.17.0.0/16 network,
when accessing any site, gets to the stub page?
PS
Examples from the Internet did not help.
Answer the question
In order to leave comments, you need to log in
How to configure Policy-based Routing on ciscoPlease specify the device model and firmware version (operating system).
How to set up Policy-based Routing on cisco so that a client with an ip from the 172.17.0.0/16 network, when accessing any site, gets to the stub page?Not sure if PBR will help here. As one of the options - to close the traffic outside with the help of ACL and give any internal IPv4 address to all DNS(A) requests. The former is used on border routers, the latter on the DNS server.
Can you help with an example? Clambered all that is possible. On dns it is possible somehow through view. But there are no examples either.Here are links to examples of using view: 1 , 2 . Here are links to examples of how to resolve all hostnames to a given IPv4 address: 1 , 2 .
view internal {
match-clients { 172.17.0.0/16; };
zone "." IN {
type master;
file "db.fakeroot";
};
};
$ORIGIN .
$TTL 1D
@ IN SOA @ none. ( 0 1D 1H 1W 3H );
IN NS @
* IN A a.b.c.d
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question