1 |
This is small collection of useful scripts and configuration |
2 |
to get you started. |
3 |
|
4 |
Premise is simple: you have several modems connected to eth0 |
5 |
and you are using some other device (e.g. wifi, other network card) to |
6 |
connect to internet. |
7 |
|
8 |
We will configure two networks: |
9 |
|
10 |
192.168.1.240/28 |
11 |
10.0.0.0/8 |
12 |
|
13 |
First one is to accomodate Thompson's default setting of 192.168.1.254. |
14 |
|
15 |
Even if your internet connection uses gateway on 192.168.1.1 it will still |
16 |
work unless you are using IP addresses over 192.168.1.240. |
17 |
|
18 |
Then execute: |
19 |
|
20 |
./net.sh |
21 |
|
22 |
or with some other network device: |
23 |
|
24 |
./net.sh eth1 |
25 |
|