Chapter Nine: Advanced Installations | IP routes 124 |
|
|
Multiple connections
Consider the following scenario, which features an Internet and Corporate connection, each using one
192.168.1.5 | 192.168.1.4 | 192.168.1.3 | 192.168.1.2 |
Internet
192.168.1.1
DIVA LAN ISDN Modem
|
| ISDN |
|
|
| Ethernet |
|
| FAULT POWER |
B1 | B2 | D LINK |
| E1 | E2 E3 E4/C |
DIVA LAN ISDN Modem
ISP profile
Address negotiated with ISP
212.182.22.39B-channel
201.163.1.157B-channel
Address negotiated with corporate network or could be permanently assigned by the corporate administrator.
ISP |
ISDN
Network
Corporate profile
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.
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 |
This scenario requires three routes:
Route 3 is used to route traffic to the Corporate network (201.163.0.0). It is assigned to the Corporate connection.
Notice that two subnetworks are directly connected to the Corporate network. Since one of these subnetworks has the same network address (201.163), traffic addressed to users on this subnet will be properly routed.
Route 2 is required to send traffic to the second subnet (215.199.99.1). It is assigned to the Corporate connection.
Route 1 is the default route. It is assigned to the Internet connection. It matches any address. Therefore, any traffic that is not routed by Route 2 or 3 is routed by Route 1 to the Internet.