----\
|
|(公网IP)
+-------+
| ADSL |
+-------+
|
|
*---------------------------------------------------------------------------------------------------------*
| 硬件RouteOS 5 多个内网段在这里做了桥接 |
*---------------------------------------------------------------------------------------------------------*
| |
| |
..|................................................................|.................................
. | PPPoE .
. | wan +--------------+ .
. \-----| D-link route1| .
. +--------------+ .
. | | 192.168.0.10 wan +--------------+ 原方案: .
. | \-------------------------------| D-link route2| 用一个路由器建隔离网段 .
. | +--------------+ .
. | 192.168.0.1 lan1 (外网网关) 192.168.10.10 | (内网网关) .
..........|........................................................|.................................
| |
| |
*---------------------------------------------------------------------------------------------------------*
| RouteOS[跑在ESXi虚机里] 建立多个lan网段 和 vlan网段 |
*---------------------------------------------------------------------------------------------------------*
| 192.168.0.10 lan1 192.168.10.10 | lan2 | lan3... |vlan1 |vlan2
| (内网网关) |
| |
| bridge0 bridge1 |
| 外网段:192.168.0.0 内网段:192.168.10.0 |
| |
| ### 一台物理机和它的虚拟机 begin ### |
========+========================================================+========
| |
| xenbr0 +--------------------------------+ xenbr1 |
|----------| mini xenserver (宿主机) |------------|
| +--------------------------------+ |
| |
| eth0 +--------------------------------+ eth1 |
|----------| vpn, proxy (vpn网关) |------------|
| +--------------------------------+ |
| |
| eth0 +--------------------------------+ eth1 |
|----------| nginx, php-fastcgi, mysql5 |------------|
| +--------------------------------+ |
| |
| eth0 +--------------------------------+ eth1 |
|----------| apache2, mod_php, mysql5 |------------|
| +--------------------------------+ |
| |
| eth0 +--------------------------------+ eth1 |
|----------| resin, 流媒体服务器 |------------|
| +--------------------------------+ |
| |
| eth0 +--------------------------------+ eth1 |
|----------| 其它平行虚拟机 …… |------------|
| +--------------------------------+ |
========+========================================================+========
| ### 一台物理机和它的虚拟机 end ### |
| |
| eth0 +--------------------------------+ eth1 |
|----------| 其它平行物理机 或IP设备…… |------------|
| +--------------------------------+ |
| |
- |
+----------------------------------------+
|192.168.10.20 | |
+---------+ +---------+ +---------+
| 笔记本1 | | 笔记本2 | | 物理机3 |
+---------+ +---------+ +---------+