32 | | |
33 | | |
| 32 | * Scripts: |
| 33 | * Routing tables have been changed to allow two tunnels. There is an additonal table, sat. This table has one rule, that for traffic from 216.226.242.242 to landing1, it should go via the sat modem. It is added to the ip rules just before the main table. |
| 34 | * To view routes, type {{{ip r show}}} |
| 35 | * |
| 36 | {{{ |
| 37 | native@ses1:~$ ip r show |
| 38 | default via 23.24.73.166 dev em2 |
| 39 | 10.41.0.0/16 dev ses_sat proto kernel scope link src 10.41.200.55 |
| 40 | 10.100.0.0/16 dev ses_ground proto kernel scope link src 10.100.200.55 |
| 41 | 23.24.73.160/29 dev em2 proto kernel scope link src 23.24.73.161 |
| 42 | 128.6.192.147 via 23.24.73.166 dev em2 src 23.24.73.161 |
| 43 | 192.168.14.0/24 dev veth1 proto kernel scope link src 192.168.14.4 |
| 44 | 192.168.14.0/24 dev veth2 proto kernel scope link src 192.168.14.101 |
| 45 | 216.226.242.240/30 dev em1 proto kernel scope link src 216.226.242.242 |
| 46 | }}} |
| 47 | * To view extra table, type {{{ip r show table sat}}} |
| 48 | * |
| 49 | {{{ |
| 50 | native@ses1:~$ ip r show table sat |
| 51 | 128.6.192.147 via 216.226.242.241 dev em1 |
| 52 | }}} |
| 53 | * To show rules, type {{{ip rule show}}} |
| 54 | * |
| 55 | {{{ |
| 56 | native@ses1:~$ ip rule show |
| 57 | 0: from all lookup local |
| 58 | 32765: from 216.226.242.242 lookup sat |
| 59 | 32766: from all lookup main |
| 60 | 32767: from all lookup default |
| 61 | }}} |