I'm pretty sure this is just a basic configuration issue - but I'm totally lost here...
I finally managed to correct (command line) the configuration of the D-Link 320B ADSL 2+ Modem, and when being on the same host as the assigned public IP, you can go to the Internet fine - no problem. I didn't imagine that Modems could be such pieces of Junk under the surface.
I have the following setup (Note - IP's logically modified). RB493G connected to a D-Link ADSL2+ Modem.
The "transfer Lan" between the RB493G and the D-Link 320B is the 192.168.1.0/24 - I can't change the subnet on the ADSL-Modem. It always resets it to
/24 - if anyone knows a Decent ADSL2+ Modem Annex A that works on the Networks of ISP Free/France, please let me know. I'd gladly trash that one ...
It took me days to figure out that it screwed the setup.
[smurphy@gw-sollan-RB493G] /ip> Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK INTERFACE 0 ;;; Service Network - 2 Ethernet Ports connected 192.168.21.6/29 192.168.21.0 Bridge-Service 1 ;;; Local Area Network 10.0.21.254/24 10.0.21.0 Bridge-Lan 2 ;;; Modem LAN / Transfer Network 192.168.1.2/24 192.168.1.0 ether1 3 D 82.XXX.XXX.XXX/32 82.XXX.XXX.XXX Bridge-World # DST-ADDRESS PREF-SRC GATEWAY DISTANCE 0 ADS 0.0.0.0/0 192.168.1.1 0 1 ADC 10.0.21.0/24 10.0.21.254 Bridge-Lan 0 2 ADC 82.XXX.XXX.XXX/32 82.XXX.XXX.XXX Bridge-World 0 3 ADC 192.168.1.0/24 192.168.1.2 Bridge-World 0 4 ADC 192.168.21.0/29 192.168.21.6 Bridge-Service 0
As you see, the Public IP gets assigned dynamically over DHCP client configured on the RB493G. This setup works also when connected directly to my computer (Linux/Ubuntu).
Making a Ping, and providing the Ping command the public-IP as source - works:
/ping 22.214.171.124 src-address=82.XXX.XXX.XXX HOST SIZE TTL TIME STATUS 126.96.36.199 56 53 34ms 188.8.131.52 56 53 33ms 184.108.40.206 56 53 33ms 220.127.116.11 56 53 33ms sent=4 received=4 packet-loss=0% min-rtt=33ms avg-rtt=33ms max-rtt=34ms
I tried providing the Nat/masquerading rule a source-IP - but it didn't work.
chain=srcnat action=masquerade src-address=82.XXX.XXX.XXX out-interface=Bridge-World
However, I do have to configure the RB493G to use a DHCP Client, as the router dynamiclly then assigns the mac-address on his side. If use static IP's - the Mac Address won't be linked to the right IP.
Anyone could give me a hint before I jump ??? :}