LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 768|回复: 4

怎样配置网站的双线路?

[复制链接]
发表于 2008-4-3 22:10:38 | 显示全部楼层 |阅读模式
我的本地服务器是双网卡,希望实现双IP双线,在解析域名的时候:

http://www.buyer.org.cn为网通 ... 址:168.0.0.2)

http://sourcer.cn为电信线路 ... 查看本地ip)

(以上两个域名都是将@纪录和www纪录分别指向电信和网通的外网ip地址)

以上两个域名指向都是同一服务器上的相同空间。

但现在网通的线路能正常访问。
电信的线路则访问不了。在本地的服务器上用电信的域名和IP都能访问;但远程电信域名和IP都不能访问!

还有哪些地方需要配置?
发表于 2008-4-4 02:03:00 | 显示全部楼层
iptable....
iproute2....
ipdatabase:http://ftp.apnic.net/apnic/dbase ... se-client-v3.tar.gz
配合使用

网上有篇文章还不错
http://server.ccw.com.cn/yyjq/htm2006/20060511_08HBX.htm
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-4 08:58:22 | 显示全部楼层
我的本地服务器是双网卡,希望实现双IP双线,在解析域名的时候:

http://www.buyer.org.cn为网通 ... :192.168.0.2)

http://sourcer.cn为电信线路 ... ip:192.168.1.2)

(以上两个域名都是将@纪录和www纪录分别指向电信和网通的外网ip地址)

以上两个域名都希望指向同一服务器上的相同空间。

但现在网通的线路能正常访问。
电信的线路则访问不了。在本地的服务器上用电信的域名和IP都能访问;但远程电信域名和IP都不能访问!

还有哪些地方需要配置?

ping的结果:
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\LiHui>ping sourcer.cn

Pinging sourcer.cn [218.17.39.163] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 218.17.39.163:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Documents and Settings\LiHui>ping 218.17.39.163

Pinging 218.17.39.163 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 218.17.39.163:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Documents and Settings\LiHui>
是apache的配置需要修改吗?如果是,是查哪方面的配置?
回复 支持 反对

使用道具 举报

发表于 2008-4-4 17:06:20 | 显示全部楼层
不是已经给你说了么
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-4 17:32:23 | 显示全部楼层
不可以将两个域名直接指向两个ip吗?

我在3楼的内容本是如下的,但发表后变了!
我的本地服务器是双网卡,希望实现双IP双线,在解析域名的时候:

http://www.buyer.org.cn为网通 ... :192.168.0.2)

http://sourcer.cn为电信线路 ... ip:192.168.1.2)

(以上两个域名都是将@纪录和www纪录分别指向电信和网通的外网ip地址)

以上两个域名都希望指向同一服务器上的相同空间。

但现在网通的线路能正常访问。
电信的线路则访问不了。在本地的服务器上用电信的域名和IP都能访问;但远程电信域名和IP都不能访问!

还有哪些地方需要配置?

ping的结果:
[quote]


Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\LiHui>ping sourcer.cn

Pinging sourcer.cn [218.17.39.163] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 218.17.39.163:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Documents and Settings\LiHui>ping 218.17.39.163

Pinging 218.17.39.163 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 218.17.39.163:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Documents and Settings\LiHui>
是apache的配置需要修改吗?如果是,是查哪方面的配置?[/quote]
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表