Chapter Nine: Advanced Installations | IP routes 125 |
|
|
Routing on the local LAN
The DIVA LAN ISDN Modem lets you create your own local area network. In some instances, this network, or the DIVA LAN ISDN Modem itself, will be connected to another network via a bridge or router. Consider this scenario, which adds another LAN to the previously discussed example:
150.150.5.2 150.150.5.3 150.150.5.4
150.150.5.1
192.168.1.4 192.168.1.3 192.168.1.2 | Internet |
192.168.1.5
ISP |
ISP profile
192.168.1.1 |
|
|
| Address negotiated with ISP |
|
|
|
| ||||||
|
|
| 212.182.22.39 |
| ||||||||||
|
|
|
|
|
|
|
|
|
| ISDN | ||||
DIVA LAN ISDN Modem |
|
|
|
|
|
|
|
|
| |||||
|
| ISDN |
|
|
| Ethernet |
|
|
|
|
|
|
| |
B1 B2 D LINK | E1 E2 E3 E4/C | FAULT POWER |
|
|
|
| Network | |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| DIVA LAN ISDN Modem | 201.163.1.157 |
| |||||||||||
| Address negotiated with corporate |
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| network or could be permanently |
|
|
|
|
|
|
|
|
|
|
|
|
|
| assigned by the corporate |
|
|
|
|
|
|
|
|
|
|
|
|
|
| administrator. |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Corporate profile | 201.163.1.1 | Corporate | ||
|
|
|
|
|
|
|
|
|
|
| DNS Server | |||
|
|
|
|
|
|
|
|
|
|
| Permanent address | |||
|
|
|
|
|
|
|
|
|
|
| and Gateway | |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Corporate
Network
LANLAN
201.163.10.1 | 215.199.99.1 |
Permanent address | Permanent address |
Routes
Route 1 = 0.0.0.0 with a mask of 0. Assigned to Internet connection.
Route 2 = 215.199.99.0 with a mask of 24. Assigned to Corporate connection. Route 3 = 201.163.0.0 with a mask of 16. Assigned to Corporate connection.
Route 4 = 150.150.0.0 with a mask of 16. Assigned to the LAN interface. Gateway address is 192.168.1.5
Assuming that RIP (discussed in the next section), is not being used on the LAN, this scenario requires an additional route.
Route 4 is used to route traffic to the new LAN connected to the computer with address 192.168.1.5 This route is assigned to the LAN interface, which means that instead of traffic being sent onto the ISDN link, it is forwarded onto the LAN. The LAN address of the destination is required, because unlike the ISDN link, where only one device exists at the other end of the connection, more than one device is connected to the LAN. So, the gateway address for this route is 192.168.1.5, which is the computer that provides access to the destination LAN. Of course, this computer must be properly configured to forward the datagrams it receives onto the other LAN.