Difference between revisions of "XUELK-TN-001: Configuring SBC Lynx as industrial router"
(→Implementation) |
(→Network topology) |
||
Line 14: | Line 14: | ||
The following devices are connected to these LANs: | The following devices are connected to these LANs: | ||
*a PC connected to the main LAN (IP address = 192.168.0.28) | *a PC connected to the main LAN (IP address = 192.168.0.28) | ||
− | + | *main LAN switch | |
− | + | *SBC Lynx equipped with two Ethernet interfaces | |
− | + | **primary interface (eth0) connected to main LAN (IP address = 192.168.0.209) | |
− | + | **secondary interface (eth1) connected to secondary LAN (IP address = 192.168.11.209) [1] | |
− | + | *secondary LAN managed switch (IP address = 192.168.11.239) | |
− | + | *WiFi access point connected to secondary LAN (IP address = 192.168.11.241) | |
Secondary LAN managed switch and access point integrate a web server, accessible at port 80. Two IP forwarding rules have been be set up in order to make web servers accessible at 192.168.0.209:80 and 192.168.0.209:8080: | Secondary LAN managed switch and access point integrate a web server, accessible at port 80. Two IP forwarding rules have been be set up in order to make web servers accessible at 192.168.0.209:80 and 192.168.0.209:8080: |
Revision as of 15:01, 9 August 2016
Introduction[edit | edit source]
Nowadays IP networks are become popular in industrial environments. To limit infrastructure costs, these networks are often built ased on-trivial routing configurations are needed
This article shows how to configure SBC Lynx to implement a router that manages data packet forwarding between two different LANs.
Network topology[edit | edit source]
The following image shows a simplified block diagram of the network topology that has been used for testing this configuration.
There are two LANs:
- main LAN (192.168.0.0/24)
- secondary LAN (192.168.11.0/24).
The following devices are connected to these LANs:
- a PC connected to the main LAN (IP address = 192.168.0.28)
- main LAN switch
- SBC Lynx equipped with two Ethernet interfaces
- primary interface (eth0) connected to main LAN (IP address = 192.168.0.209)
- secondary interface (eth1) connected to secondary LAN (IP address = 192.168.11.209) [1]
- secondary LAN managed switch (IP address = 192.168.11.239)
- WiFi access point connected to secondary LAN (IP address = 192.168.11.241)
Secondary LAN managed switch and access point integrate a web server, accessible at port 80. Two IP forwarding rules have been be set up in order to make web servers accessible at 192.168.0.209:80 and 192.168.0.209:8080:
- 192.168.0.209:80 <-> 192.168.11.241:80
- 192.168.0.209:8080 <-> 192.168.11.239:80
[1] For simplicity, secondary interface has been implemented with an USB/Ethernet adapter (TBD) connected to USB port. For a real-world production environment, it is recommended the use of both iMX6UL Ethernet MAC controllers. To do that, a plugin board connected to the one piece connector (J45/J52) can be used. For more details please refer to sales department.
Implementation[edit | edit source]
To enable routing functionality, the well known netfilter/iptables packet filtering framework has been added and configured to default software provided along with XUELK.
TBD
Enabling logging[edit | edit source]
TBD