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/29 08:54] – [5. [CO1] Connecting the Platform] samer | qos_project [2017/11/29 09:04] – [5. [CO1] Connecting the Platform] samer | ||
---|---|---|---|
Line 97: | Line 97: | ||
</ | </ | ||
- | <code bash> | + | We note on the two routers that static routes are used in order to give access to the two LANs. Particularly, |
- | + | ||
- | # | + | |
- | + | ||
- | # | + | |
+ | As given below, the configuration of the TP-Link router shows the static addressing of the interface '' | ||
+ | |||
+ | <file bash / | ||
+ | # | ||
config interface ' | config interface ' | ||
option type ' | option type ' | ||
Line 111: | Line 111: | ||
option ip6assign ' | option ip6assign ' | ||
| | ||
- | # | + | # |
config interface ' | config interface ' | ||
option ifname ' | option ifname ' | ||
Line 127: | Line 126: | ||
option netmask ' | option netmask ' | ||
option gateway ' | option gateway ' | ||
+ | |||
+ | </ | ||
+ | |||
+ | <file bash / | ||
+ | # | ||
+ | All the network configuration on both routers (routing & addressing) are taken from / | ||
+ | |||
+ | On router GL-iNET, / | ||
+ | |||
+ | config interface ' | ||
+ | option force_link ' | ||
+ | option proto ' | ||
+ | option ipaddr ' | ||
+ | option netmask ' | ||
+ | option ip6assign ' | ||
+ | option _orig_ifname ' | ||
+ | option _orig_bridge ' | ||
+ | This interface (wifi) is configured with a static IP address 192.168.8.1/ | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option hostname ' | ||
+ | option proto ' | ||
+ | option ipaddr ' | ||
+ | option netmask ' | ||
+ | This interface (connected to the other router) is configured with a static IP address 10.0.0.1/24 | ||
+ | |||
+ | config route | ||
+ | option interface ' | ||
+ | option target ' | ||
+ | option netmask ' | ||
+ | option gateway ' | ||
+ | This route enables GL-iNET to reach the network 192.168.200.0/ | ||
- | </code> | + | </file> |
===== Extracts ===== | ===== Extracts ===== | ||
qos_project.txt · Last modified: 2021/08/28 09:58 by samer