B
B
Benedictus2019-06-04 10:33:28
Computer networks
Benedictus, 2019-06-04 10:33:28

Can I use PBR to configure Redirect to a specific L2 port and not to the next hop IP?

Good afternoon.
Tell me if it is possible to configure "hard" traffic redirection to a specific router port using PBR or other mechanisms.
As an example: The router passes through itself the traffic of subnets 10.172.60.0/24 and 10.172.70.0/24. Normally, they go through the Eth0 port. A piece of iron is connected to Eth1, which is "not visible" to the router (it cannot respond to ARP). So, is it possible to redirect all packets using PBR where src IP is from 10.172.70.0/24 (or using the dst IP filter) to the Eth1 port?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
YaDr, 2019-06-05
@Benedictus

You can hang it on eth1 /31st and make a static arp for ip to which we will redirect.
If there is a goal "do not change headers" - then you need to look for a router with acc. functionality. Maybe the scheme "mirror on eth1 + hang egress acl on eth0, dropping everything."
The question is too general. Something specific cannot be answered without knowing the model of the equipment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question