I have a Linux setup which consists of two interface. A local LAN interface and virtual interface.
ETH0: 150.10.15.194
PAN0: 192.168.255.209
I would like to set rules that route all ICMP echo messages from ETH0
to VA0
and vice verca.
I prefer the routing to be static by intertace and not IP. for instance,
If a packet arrives on ETH0
and the destination is not local, the packet should be routed to VA0
.
Same goes for packets that arrive from VA0
to ETH0
.
How can I achieve that ?