TP-RA-007-0-EN - (IP Addressing Basics)
TP-RA-007-0-EN - (IP Addressing Basics)
Basics
Standard Training
TP-RA-007-1-EN (2014 – V1)
1
Network & Gateway
2
What’s a Network?
3
Network & Gateway
IP Controller GateWay
associated to each A B C
Ethernet Controller (EC) EC EC D E F
EC EC EC
EC EC EC
IP Address : XXX.XXX.XXX.XXX
Subnet Mask: XXX.XXX.XXX.XXX
Network 1
Default Gateway: XXX.XXX.XXX.XXX Network 2
4
Network & Gateway
A IP_ADR_A = 10.0.0.67
IP Contr. Mask_A = 255.255.255.0
Gateway_A = 10.0.0.2
Eth. Contr.
B IP_ADR_B = 10.0.0.85
Mask_B = 255.255.255.0
IP Contr.
Gateway_B = 10.0.0.2
Eth. Contr.
E IP_ADR_E = 10.1.0.19
Mask_E = 255.255.255.0
IP Contr.
Gateway_E = 10.1.0.24 10.0.0.2
Eth. Contr.
10.1.0.24
The Gateway checks if the IP address of E is compatible with one of its controllers
if NOT, it will return a "No Match Address" notification to A
if YES, it will perform an IP Forwarding via the matching Controller
6
Network & Gateway
E IP_ADR_E = 10.1.0.19
Mask_E = 255.255.255.0
IP Contr.
Gateway_E = 10.1.0.24 10.0.0.2
Eth. Contr.
10.1.0.24
Note that:
- A gateway has 2 (or more) network controllers (network interfaces).
7
Internet
o DNS
o DHCP
o Private versus public IP addresses
o Firewall
o Proxy
8
Domain Name Servers (DNS)
9
Domain Name Servers (DNS)
The ping we just made was possible because the computer was linked to
a DNS that translated the domain name www.ewon.biz into its IP address.
Just check by typing [ipconfig /all] in your cmd prompt
10
Dynamic Host Configuration (DHCP)
DHCP Request
for IP address
11
Dynamic Host Configuration (DHCP)
13
Firewall
14
Firewall
Incoming traffic
Internet
Outgoing traffic
15
Proxy
Proxy advantages :
o Speed up access to resources
(using caching)
o Log / audit usage
o Scan transmitted content for
malware before delivery.
o Block access to unauthorized
sites,
o etc.
16
Proxy
The user must encode the proxy settings in every application that
needs to access Internet:
o IP address (or PC name, domain name, etc)
o Port used
o Username/Password
You also need to encode these information in your eCatcher or your eWON
17
How applications communicate
o TCP and UDP
o Ports
18
TCP or UDP
Application data
UDP
Application data
TCP UDP
TCP
An identification number is
assigned to each application
to determine which packets
are for them.
20
Standard Ports
Example:
A Web server generally uses Port 80
A web client sends requests to the web server addressing Port 80
Telling a web client to browse http://www.ewon.biz
is equivalent to ask for www.ewon.biz:80
or, after DNS translation 91.121.140.152:80
21
VPN
o OpenVPN
22
What is VPN?
23
OpenVPN
24
Applied to Talk2M
25
eWON is a gateway
• By default eWON uses the Plug‘n Route function for Talk2M connections.
With Plug’n Route eWON will make think to the PLC that the request is initiated
by the eWON itself and not by the remote PC.
No Gateway is required on the PLC side
• If not using the Plug‘n Route function, the Ethernet device(s) behind the
eWON must have the eWON LAN as default Gateway.
Must be configured in the parameters of the Ethernet device.
Best reboot the Ethernet device after changing IP address or gateway
28
Routing on the PC side
• The IP address of your PC must not be compatible with the remote LAN
network
Make sure that Company 1 LAN <> eWON LAN,
otherwise routing through VPN is not possible
30
Used ports
These outgoing ports must be open on the Firewall (eWON side and
31
PC side). HTTPS Port is generally open to allow secured Web access.
Thank You
Follow us www.ewon.biz
32