Hello everyone, I’ve been trying to route traffic through 2 LTE interfaces so I followed a guide online and created the following Address Lists
add address=10.0.0.0/16 list=PrivateIPAddresses
add address=192.168.0.0/16 list=PrivateIPAddresses
add address=172.16.0.0/12 list=PrivateIPAddresses
The weird thing is that I couldn’t get the lte1.fake to work… I could ping but the DNS didn’t work at all…
What I found out, is that I made a “typo” on one of the address lists, what I wrote was:
add address=192.168.0.0.16 list=PrivateIPAddresses
Can someone please explain to me what I wrote, I mean what is 192.168.0.0.16??? Should routeros stop me from writing something foolish like that, or is it something that I’m just not aware of?? (my quess is the second!!!)
Thanks in advance
Yeah that odd… But what’s going on is 192.168.0.0.16 becomes a string, so address-list thinks it’s DNS lookup. And DNS lookups in address-list are valid, so it allows you to add with what you think is an invalid address= but to RouterOS is a DNS query for “192.168.0.0.16”
True, the number be valid (e.g. in-addr.arpa), so it just the top-level that isn’t checked… But…then again it matches /ip/dns/static logic: that’s allows defining an all number domainname in an A record (name=192.168.0.0.24).
Even more prudent…be have some “status” to know the DNS lookup failed. e.g. using “bad.gooogle.coom” also doesn’t show any error – but I’ve run into fat fingering a domain name myself before – only visual clue is address-list doesn’t populate any dynamic entries…