qos_project
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
qos_project [2017/11/23 14:56] – [5. [CO1] Connecting the Platform] carine | qos_project [2017/11/29 08:52] – [5. [CO1] Connecting the Platform] samer | ||
---|---|---|---|
Line 75: | Line 75: | ||
| | ||
</ | </ | ||
+ | |||
+ | In order to analyse the addressing and routing on the platform, we need to look carefully on the interface configuration and routing tables of the different devices. | ||
+ | |||
+ | Let us start with the routing devices. The routing table of the GL-iNet is shown using the command ``ip route`` and gives the following: | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | 10.0.0.0/24 dev eth0 proto kernel | ||
+ | 192.168.8.0/ | ||
+ | 192.168.100.0/ | ||
+ | 192.168.200.0/ | ||
+ | 10.0.0.2 of the TP-LINK router | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | |||
Routing table of GL-iNet: | Routing table of GL-iNet: | ||
- | 10.0.0.0/24 dev eth0 proto kernel | + | 10.0.0.0/24 dev eth1 src 10.0.0.2 # connection to directly connected network 10.0.0.0/24 |
- | 192.168.8.0/24 dev wlan0 proto kernel | + | 192.168.100.0/24 via 10.0.0.1 |
- | 192.168.100.0/24 dev eth1 proto kernel | + | 10.0.0.1 of the GL-iNet router |
- | 192.168.200.0/24 via 10.0.0.2 | + | 192.168.200.0/24 dev br-lan |
+ | |||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | # | ||
+ | |||
+ | # | ||
+ | |||
+ | config interface ' | ||
+ | option type ' | ||
+ | option ifname ' | ||
+ | option proto ' | ||
+ | | ||
+ | option netmask ' | ||
+ | option ip6assign ' | ||
+ | |||
+ | # | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | # | ||
+ | option proto ' | ||
+ | option ipaddr '10.0.0.2' | ||
+ | option netmask ' | ||
+ | |||
+ | # | ||
+ | |||
+ | config | ||
+ | option interface ' | ||
+ | option target '192.168.100.0' | ||
+ | option netmask ' | ||
+ | option gateway '10.0.0.1' | ||
+ | |||
+ | |||
+ | </ | ||
+ | ===== Extracts ===== | ||
+ |
qos_project.txt · Last modified: 2021/08/28 09:58 by samer