藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 網絡通訊


    

藍森林 http://www.lslnet.com 2006年7月26日 13:28

配雙ISP的一些問題


一條網通一條電信.內網有台服務器,雙IP地址(164.4.248.1和164.4.248.30 ).要求從電信某一段IP地址(222.222.127.0)訪問服務器時,走的是電信網絡,其餘都走網通.
設備是1721+2個1ENET
我做了以下配置
sh run
Building configuration...

Current configuration : 1358 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable password ***
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
no ip dhcp use vrf connected

!
ip cef
!
!
!
!
interface Ethernet0
description to dianxing
ip address 219.148.*.* 255.255.255.240
ip nat outside
ip virtual-reassembly
half-duplex
!
interface Ethernet1
description to wangtong
ip address 218.12.*.* 255.255.255.0
ip nat outside
ip virtual-reassembly
half-duplex
!
interface FastEthernet0
ip address 164.4.248.3 255.255.0.0
ip nat inside
ip virtual-reassembly
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 218.12.*.*
no ip http server
!
ip nat inside source list 1 interface Ethernet1 overload
ip nat inside source static 164.4.248.30 interface Ethernet0
ip nat inside source static 164.4.248.1 interface Ethernet1
ip nat inside source static tcp 164.4.248.3 23 interface Ethernet1 23
!
access-list 1 permit any
access-list 100 permit ip host 164.4.248.1 222.222.127.0 0.0.0.255
access-list 100 permit ip host 164.4.248.30 222.222.127.0 0.0.0.255
route-map dx permit 10
match ip address 100
set ip next-hop 219.148.*.*
!
!
control-plane
!

line con 0
line aux 0
line vty 0 4
password ***
login
!
warm-reboot
end

Router#

問題:用電信IP地址無法訪問服務器,網通訪問,但在內部使用時有多個服務功能不能使用,懷疑跟域名有關(因為在DNS解析回來的IP地址為內部IP地址時不會重新發到服務器上)

望達人給個解答!

關注中.....

你這配置有問題,包將從電信出口,包原地址確被nat成網通的地址,這樣問題就來了,速度會很慢,甚至不通。

不會走電信.我在電腦上TRACERT做是網通的線路,但是我TRACERT222.222.127.0的網段走的也是網通的線路.


Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com