目前就是一個內部網路兩個外部網路
mail /www server 放在內部網路
另外還有其他 Server
目的是指定一個 public ip 指定到內部的 ip
只是這個 public ip 是分別在不同網段 ADSL
以下設定是可以 work
可惜效率異常低落
還請有經驗的網友協助解決 debug
192.168.1.3 是 mail server
192.168.1.2 是 www server
211.71.21.52 是 mail server 所對應之外部 ip
61.222.24.27 是 www server 所對應之外部 ip
PS: 如果只設定單一網段, 將另一路 ADSL disable
例如我只留下 61.222.24 的網段, 將 www, mail 都設置在
該網段....
ip route 也只剩下該網段的設定..則一切都很正常, 效率也很好
===============Router configure===============
enable
config ter
no service udp-small-servers
no service tcp-small-servers
int fastEthernet 0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
no ip mroute-cache
no ip route-cache
no fair-queue
no shutdown
ip address
exit
int ethernet 1/2
ip address 211.71.21.53 255.255.255.248
ip nat outside
no ip mroute-cache
no ip route-cache
no shutdown
exit
int ethernet 1/3
ip address 61.222.24.29 255.255.255.248
ip nat outside
no ip mroute-cache
no ip route-cache
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 ethernet 1/3 61.222.24.25
ip route 0.0.0.0 0.0.0.0 ethernet 1/2 211.71.21.49
ip nat inside source static 192.168.1.3 211.71.21.52
ip nat inside source static 192.168.1.2 61.222.24.27
!www
書籤