Adding a Static Route

SR and SC Series NTP Servers Help and Support: Adding a Static Route
Models that this article applies to:

SR Series: SR7110, SR9210, SR9750, SR9850, SR9860D
SC Series: SC7105, SC9205, SC9705

Summary

On occasions, your network configuration may require you to add static routes to the NTP time servers routing table. This can be easily achieved by using the ‘route add’ function in the ‘Additional Ethernet Configuration’ tab of the ‘Network Configuration’ menu.

Tips

From a PC on the same network as the NTP server, open a web-browser session.

Enter the IP address of the NTP server in question. This should display the NTP servers ‘login’ screen. Enter the administrators password (default: ‘admin’).

The NTP server’s main status and configuration menu should now be displayed.

Select the ‘Network’ tab to go to the ‘Network Configuration Menu’.

From the network configuration menu, select ‘Additional Ethernet Configuration’.

The ‘Additional Ethernet Configuration’ menu allows additional network configuration commands to be entered in script form.

To add a static route, use the ‘route add’ function.

eg. route add -net 172.30.0.0 netmask 255.255.255.0 gw 10.0.0.250 eth0

When all the required routes have been added, select the ‘Save Config’ tab, to save the configuration.

The NTP server will need to be restarted in order for the new configuration to take effect. After restarting, check the NTP servers system log to ensure the ‘route add’ commands were successfully completed.

Static routes can be removed by deleting the appropriate ‘route add’ command from the ‘Additional Ethernet Configuration’ script and restarting the NTP server..

Route Function Syntax:

route add ‘address family’ ‘target’ netmask ‘Nm’ gw ‘Gw’ If

Where:

‘address family’ – use the specified address family. Typically, -net or -host.
‘target’ is the destination network or host.
‘ Nm’ the network mask to be used.
‘Gw’ route packets via the specified gateway.
‘If’ force the route to be associated with the specified device. Typically, ‘eth0’ (or ‘eth1’ for SR9860D).

Share: