FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
894 views 2 comments
by

Hi all

I've a RUTX12 Router (newest Firmware, RUTX_R_00.02.04.3)

I have found the Article to define a specified DNS Server in the DHCP-Options:
https://community.teltonika-networks.com/838/specify-dns-server-s-in-dhcp-server-settings-rut240?show=838#q838

The problem ist - i can't enter an Option like this example:
6,8.8.8.8

Always get the red error message, that only the following characters are supported: A-Z, 0-9 and -
But in the example I need to enter a , to separate the DHCP-option from the IP adress
And of course the . to define the IP-Adress.

How can I enter this option?
Should i use the CLI? Which commands I need to set it in the CLI?

Is anyone here who can help me please?
Oliver

1 Answer

0 votes
by anonymous

Hi,

It is a known issue and will be fixed with a new firmware release.

For a temporary solution with CLI you can do this:

  • Go to CLI, login and navigate to /etc/config with cd /etc/config
  • After that execute vi dhcp to start editing interface within dhcp file.
  • Press letter "I" on your keyboard to start editing.
  • Find "config dhcp 'lan' in file and there should be an option list dhcp_option, if there's nothing like that add it yourself below all the other options in config dhcp 'lan'.
  • It should look something like that
  • You can write anything there and if it's correct - it should work.
  • After you've done inserting this option press "ESC" on your keyboard and write :wq to save and quit editing.
  • Reboot your router and everything should work as it supposed to.
EB.
by
Nice, it works, thanks :)
by anonymous
This does not work on 07.02.6  

It appears that the "." were lost as "8888" is not a valid IP address.
 

You need to enter the line as

     list dhcp_option '6,8.8.8.8'

I used

    list dhcp_option '6,8.8.8.8,1.1.1.1"

For two DNS servers