Hi,
somehow I think I make a stupid mistake in my setup but I cannot find it.
The scenario is the following:
- I’ve got two WAN links (one DSL, one cable)
- the cable WAN link is connected to a cable modem running in bridge mode
- the cable modem is listening with a webinterface on 192.168.100.1
I can reach the webinterface of the cable modem without doing any setup on the RB2011. My assumption is that just works as long as the cable WAN link is my default route since otherwise I would not know how the packets could reach the modem. In most cases this is also true. But I might do some loadbalancing or specific routing from certain devices through the other WAN link. So I tried to add specific routing configuration to always reach the modem when targetting 192.168.100.1.
Now strange enough I totally fail configuring that so it works.
My routing table looks like this:
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 192.168.249.254 1
1 ADS 0.0.0.0/0 188.195.240.254 1
2 S 0.0.0.0/0 192.168.249.254 2
3 A S 10.123.2.0/24 192.168.252.8 1
4 ADC 10.123.128.0/18 10.123.166.209 vlan-ffgw 0
5 ADC 188.195.240.0/24 188.195.240.7 ether2-Cable 0
6 X S ;;; Route to cable modem management console (somehow not working)
192.168.100.0/24 ether2-Cable 1
7 ADC 192.168.248.0/24 192.168.248.254 bridge-dmz 0
8 ADC 192.168.249.0/24 192.168.249.8 ether1-DSL 0
9 ADC 192.168.250.0/24 192.168.250.254 bridge-local 0
10 A S 192.168.251.0/24 192.168.250.8 1
11 ADC 192.168.252.0/24 192.168.252.254 vlan-freifunk 0
Please note: The first entry is a route with routing-mark. Didn’t know how to output just the main routing table.
The route I have tried (6, is currently disabled as it does not work as explained.)
While I tried to debug the routing with the packet sniffer I was watching the ether2-Cable interface when the route was enabled but to my surprise no packets to or from 192.168.100.1 were recorded. I see them as long as the route is disabled though.
Additional hints: ether2-Cable is a srcnat interface.
Any idea what I’m doing wrong?