I have 2 ISP provider going to the same router
ADDRESS NETWORK INTERFACE
0 192.168.0.1/24 192.168.0.0 LAN0-0
1 192.168.2.1/24 192.168.2.0 wlan0
2 192.168.1.1/24 192.168.1.0 LAN1-0
3 192.168.3.1/24 192.168.3.0 wlan1
4 D yy.yy.yy.yy/32 yy.yy.yy.yy DSL1 (STATIC IP)
5 D xx.xx.xx.xx/32 xx.xx.xx.xx DSL0
Traffic from 192.168.0.1/24 and 192.168.2.1/24 (bridge0) will leave from DSL0
Traffic from 192.168.1.1/24 and 192.168.3.1/24 (bridge1) will leave from DSL1
95 ;;; toDSL1 chain=prerouting action=mark-routing new-routing-mark=toDSL1 passthrough=no src-address=192.168.1.0/24 dst-address-list=!local-address
96 ;;; toDSL0 chain=prerouting action=mark-routing new-routing-mark=toDSL0 passthrough=no src-address=192.168.0.0/24 dst-address-list=!local-address
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 DSL1 1 (toDSL1)
1 A S 0.0.0.0/0 DSL0 1 (toDSL0)
2 ADC 192.168.0.0/24 192.168.0.1 bridge0 0
3 ADC 192.168.1.0/24 192.168.1.1 bridge1 0
4 ADC 192.168.2.0/24 192.168.2.1 wlan0 0
5 ADC 192.168.3.0/24 192.168.3.1 bridge1 0
6 ADC xx.xx.xx.xx/32 xx.xx.xx.xx DSL0 0
DSL1
7 A S ;;; route from router for primary NTP
xx.xx.xx.xx/32 DSL0 1
I am receiving icmp traffic (ping) from DSL1 and DSL0 and I would like the router to respond.
Since the packet gets generated from the router, how do I tell the router to send the respond packet to the appropriate interface?
Thanks
TONY