DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

vigor 166 dns and time in bridgemode

  • peterbr
  • Topic Author
  • Offline
  • New Member
  • New Member
More
18 Apr 2021 12:44 #1 by peterbr
vigor 166 dns and time in bridgemode was created by peterbr
Hello

Im using a vigor 166 in bridge mode on a BT VDSL connection.

I noticed that the IP configuration settings are very limited.
- No default route setting
- No default gateway setting
- No option to set time

After a bit of digging around in the command line options, I can see ntp is set to synchronise the time.
DrayTek> sys time show
*************** System Time ***************
Current System Time: [2000 Jan 01 Sat 00:31:34]
Time Server: [pool.ntp.org]
Time Zone Index: [24]. GMT+00:00
Send NTP Request Through: Auto
*********************************************
However dns is not setup so the timeserver name cannot be resolved. I also cannot find a cli command to set dns, nothing in the ip command to do this.
DrayTek> show dns
%% Domain name server settings:
% LAN1 Primary DNS: [Not set]
% LAN1 Secondary DNS: [Not set]

Is this an bug/anomaly in the latest 166 firmware version??

Peter

Please Log in or Create an account to join the conversation.

More
18 Apr 2021 13:16 #2 by piste basher
Replied by piste basher on topic Re: vigor 166 dns and time in bridgemode
I imagine that those additional settings are only available if you set the 166 to "Router" mode; they will not be available in bridge/modem mode.

But why would you want to do that, presumably you are using a "proper" grown-up router behind the 166 ?

Please Log in or Create an account to join the conversation.

  • peterbr
  • Topic Author
  • Offline
  • New Member
  • New Member
More
18 Apr 2021 16:37 #3 by peterbr
Replied by peterbr on topic Re: vigor 166 dns and time in bridgemode
Having the correct time is important when looking at diagnostic info. There might be other processes in the background that might require a correct time setting too. Currently using a HH5 with openwrt as bridge modem and having correct time there made diagnosing issues must easier. Simple things as reporting network outages to BT .

Please Log in or Create an account to join the conversation.

  • adrianh54
  • User
  • User
More
18 Apr 2021 17:15 #4 by adrianh54
Replied by adrianh54 on topic Re: vigor 166 dns and time in bridgemode

peterbr wrote:
Hello

Im using a vigor 166 in bridge mode on a BT VDSL connection.

I noticed that the IP configuration settings are very limited.
- No default route setting
- No default gateway setting
- No option to set time




Peter, in Bridge/modem mode there are no settings to configure as the device is running as a modem not a router. The modem passes the connection to your router which is where you set all the time and routing functions.

Please Log in or Create an account to join the conversation.

  • peterbr
  • Topic Author
  • Offline
  • New Member
  • New Member
More
19 Apr 2021 09:44 #5 by peterbr
Replied by peterbr on topic Re: vigor 166 dns and time in bridgemode
In Bridge mode it still has IP functionality.
You can still use it's configured IP address to access the 'modem' via ssh or http. snmp access should also work, have not tried that yet.
Just hook up the second LAN port to your main router or network switch that uses the same subnet as the 'modem' IP address.
Best to do is to add a static entry in your DHCP server for the 'modem' IP address. This way there is no risk of having the IP address used twice. (unless you manually set it on an other node in your network ;-) )

I've added a default route using the cli to my home gateway. This seems to have done the trick. It now picks up the correct time;
DrayTek> sys time show
*************** System Time ***************
Current System Time: [2021 Apr 19 Mon 09:39:12]
Time Server: [pool.ntp.org]
Time Zone Index: [24]. GMT+00:00
Send NTP Request Through: Auto
*********************************************
ip route status

Codes: C - connected, S - static, R - RIP, * - default, ~ - private
S~ 0.0.0.0/ 0.0.0.0 via 192.168.0.1, IF0
C~ 192.168.0.0/ 255.255.255.0 is directly connected, IF0

Please Log in or Create an account to join the conversation.

  • hornbyp
  • User
  • User
More
19 Apr 2021 12:57 #6 by hornbyp
Replied by hornbyp on topic Re: vigor 166 dns and time in bridgemode

peterbr wrote:
Just hook up the second LAN port to your main router or network switch that uses the same subnet as the 'modem' IP address.


This is one of the 'odd-ball schemes', I alluded to, in your other thread on the subject.

You might wish to check that the Router and Modem will perform a cold-start in this configuration. The last time I tried this method, I was plagued with PPPoE traffic travelling in an ever increasing loop between the two. It wasn't fixable through Firewalling; unplugging the extra cable and re-plugging after startup was necessary.

Please Log in or Create an account to join the conversation.