3 - ip default gateway, 4 - ip static route – Perle Systems IOLINK-520 User Manual

Page 28

Advertising
background image

Applications

2.8 — IOLINK-520 & IOLINK-PRO Installation & Applications Guide

2.1.2.3 - IP Default Gateway

An IP default gateway is an IP router that is resident on the local IP network that this

IOLINK router is connected to and is used to route IP frames for destination networks that

do not exist in the routing table. When an IP frame is received that is destined for a

network that is not listed in the routing table of the IOLINK router, the router will send the

IP frame to the default gateway. If the device originating the IP frame is on the same LAN

as the IOLINK router, the router will then send an ICMP redirect message to the

originating device. Any future IP frames for that destination network will then be sent

directly to the default gateway instead of the IOLINK router.

A default gateway may be configured if there are a large number of routes that will pass

through another router to a larger network. An example of this would be a router that is

used to connect to the Internet. All of the routers on the LAN would have the Internet

access router as the default gateway.

2.1.2.4 - IP Static Route

With its default settings, the IOLINK-520 & IOLINK-PRO will automatically learn the

routes to other devices on the network through RIP messages. In some instances it may be

desirable to have a predetermined or static route that will always be used to reach certain

devices, such as when one specific router is to be used to reach a destination IP network.

The static route will have precedence over all learned RIP routes even if the cost of the RIP

learned routes is lower.

Edit Static Route

Location: Main

!

Configuration

!

Packet Services Set-up

!

IP Routing Set-up

!

IP Routes

!

Edit Route

!

Destination ( IP Address & Mask)

!

Next Hop (Remote site ID or

IP Address & Mask)

!

Cost

!

Add

Each static IP route is defined in the Edit Route menu. The destination

network IP address is specified when you first enter the menu and then the

IP address , alias or ID number of the next hop route and the cost may be

defined. Finally, select Add to add the route to the routing table.

Once static IP routes are defined, they may be viewed with the Show Static Routes

command from the IP Routes menu.

Configuration:

When the IP routing protocol is set to none, static routes will be used to route

Note

traffic. The mask size must also be defined when creating a static

route entry. The subnet mask is required to allow a static route to be created

to a different IP network address. See the previous section for an explanation

of

masks.

"

"

"

"

Advertising