I have an eth3 interface in a linux router, with an adsl modem. This adsl modem is in bridged mode, so the public IP is assigned to eth3 (say 220.127.116.11), and the modem is just not seen by my server.
I want to define a static route to a specific IP (18.104.22.168) through eth3, but I don't have a nexthop to set:
ip route add 22.214.171.124 dev eth3
is accepted but does not work (packets never make their way out).
ip route add 126.96.36.199 via 188.8.131.52 dev eth3
Does not work either.
If I set the modem in router mode, then I have a NATed address for the linux server (192.168.1.2), and IP address for the Adsl router (192.168.1.1), and I can do:
ip route add 184.108.40.206 via 192.168.1.1 dev eth3
Is it possible to define a static route through my adsl modem in bridged mode (first case), without having an explicit nexthop to give ?