Kitz Forum
Broadband Related => Broadband Hardware => Topic started by: Weaver on August 08, 2018, 02:23:17 AM
-
Is there a way that I can specify a default gateway in the XML config?
-
Is there a way that I can specify a default gateway in the XML config?
Hmm . . .
A "default gateway" to where? And what process would you expect to use that "default gateway"? To "The Internet"? To the VMG1312-B10A itself? Then there is the question of from where?
I'm probably a bit dim today (weather taking its toll), so could you rephrase the question, please.
Looking at the saved configuration file, from the VMG1312-B10A in The Cattery, which is configured in modem/router/WAP mode, I see the following --
[Duo2 ZyXEL_VMG1312-B10A]$ grep -i gateway config*txt
<InternetGatewayDevice>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.2</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.3</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.LANUSBInterfaceConfig.1</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.X_404A03_WlanAdapter.WlVirtIntfCfg.1</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.X_404A03_WlanAdapter.WlVirtIntfCfg.2</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.X_404A03_WlanAdapter.WlVirtIntfCfg.3</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.X_404A03_WlanAdapter.WlVirtIntfCfg.4</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.WANDevice.7.WANConnectionDevice.1.WANPPPConnection.1</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.X_404A03_WlanAdapter.WlVirtIntfCfg.1</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.X_404A03_WlanAdapter.WlVirtIntfCfg.2</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.X_404A03_WlanAdapter.WlVirtIntfCfg.3</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.X_404A03_WlanAdapter.WlVirtIntfCfg.4</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1</InterfaceReference>
<InterfaceReference>InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.5</InterfaceReference>
<X_404A03_GatewayUsed>TRUE</X_404A03_GatewayUsed>
<DefaultConnectionService>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1</DefaultConnectionService>
</InternetGatewayDevice>
[Duo2 ZyXEL_VMG1312-B10A]$
I doubt that the above is relevant. :-\
-
@Burakkucat, the default gateway setting to accompany the netmask value in the LAN IP setup, which would be the address of the firebrick as it is the gateway to the internet, set on those two-mode LANs as 192.168.n.254 whereas the modem's admin i/f is set to 192.168.n.1 (see FB config snippets poss). The modem does not know how to reach nodes outside the subnet defined by the netmask, which is set to be a /24 arbitrarily. I think that is the thing stopping eg DNS, NTP etc from working in the modem.
-
Personally I cant really see a need for the modem to have internet connectivity. I guess NTP so the time is right, but what for? I've tried in the past to enable logging with little success and with my stats server (still beavering away at it little by little) I just calculate the different between the modems reported time and the browsers to get proper labels for data.
-
johnson, is correct - it is not critical. I just felt an irrational need to 'do the right thing' if it was easy. DNS is more valuable. I can, and have lived without it having internet access.
It is just that if it is easy then I would do it.
-
Ah, I now see the question clearly and my answer is "I don't know". :(
-
It isn't supposed to have a default gateway.
You can set static routes to get NTP working. This fixes the times on the logs.
You can probably do the same for DNS, but the modem isn't supposed to be doing DNS.