免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4110 | 回复: 12
打印 上一主题 下一主题

solaris 两块网卡使用同一IP [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-14 16:52 |只看该作者 |正序浏览
因为做冗于,要求两个网卡使用同一IP,并接入不同的交换机,能实现吗?\r\n\r\n如果能的话,怎么实现呢?

论坛徽章:
0
13 [报告]
发表于 2006-09-18 21:39 |只看该作者
1,可以使用IPMP\r\n2,两个接口不同的交换机一定要划在同一vlan中,可以二层互访的

论坛徽章:
0
12 [报告]
发表于 2006-09-18 20:55 |只看该作者
Example\r\n有双网卡的服务器的IP地址使用Multipathing 技术 \r\n\r\n其实与实际不一样的就是IP地址,以及网口类型,根据实际情况需要修改内容。 \r\n\r\nmultipathing test IP 10.170.1.81 \r\nmultipathing test IP 10.170.1.82 \r\nLogical IP 10.170.1.80 \r\nGroup Name mswitch \r\nNetwork Card ge0,ge1 \r\n\r\n一:使用命令方式(机器重新启动将失效) \r\n1:Become superuser. \r\n2:如果ge0,ge1被配置了IP,请使用如下命令清除ge0,ge1上配置信息 \r\nifconfig ge0 unplumb \r\nifconfig ge1 unplumb \r\n\r\n3:使用如下命令配置multipathing \r\nifconfig ge0 plumb 10.17.1.80 group mswitch netmask + broadcast + up \r\n(使ge0可用,配置ge0的IP为Loical IP 10.17.1.80、使ge0为mswitch组的一块网卡) \r\nifconfig ge0 addif 10.170.1.81 deprecated -failover netmask + broadcast + up \r\n(配置ge0的test ip为10.170.1.81) \r\nifconfig ge1 plumb 10.170.1.82 group mswitch netmask + broadcast + deprecated -failover standby up \r\n(配置ge1为mswitch 组的另外一块网卡,它的test ip为10.170.1.82 并且这块网卡为standby) \r\n4:以上为所有的配置命令,使用ifconfig –a命令将看到ge0、ge0:1、ge1的IP分别为10.17.1.80、10.17.1.81、10.17.1.82 \r\n5:测试。拔掉ge0的网线,使用ifconfig –a会发现10.170.1.80的地址failover到了ge1:1上。10.170.1.80这个地址可以正常使用。插回网线,会发现ge1:1没有了,10.17.1.80又回到了ge0上。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
11 [报告]
发表于 2006-09-18 15:57 |只看该作者
Sun Trunking software 是要另购的吧?

论坛徽章:
0
10 [报告]
发表于 2006-09-18 15:56 |只看该作者
一开始我也是朝着方面考虑,APA技术和Trunking。\r\n这个其实是有一个特殊的驱动吧?要安装包含驱动的应用软件包?

论坛徽章:
0
9 [报告]
发表于 2006-09-18 15:43 |只看该作者
I don\'t think so.\r\n\r\nSun Trunking 1.3 software allows you to aggregate up to four Sun GigabitEthernet adapter card ports or up to sixteen 10/100 Sun FastEthernet adapter card ports into a single virtual link or trunk. Once aggregated, these point-to-point links act as a single \"fat pipe\" to provide increased bandwidth and high availability, enabling higher aggregated data transfer rates than any single Sun GigabitEthernet or FastEthernet adapter card link.

论坛徽章:
0
8 [报告]
发表于 2006-09-18 14:11 |只看该作者
用IPMP,你在网上用google一下,或在本BBS中搜索一下以可以找到的。不过不能用负载均衡,只能冗余。

论坛徽章:
0
7 [报告]
发表于 2006-09-18 13:29 |只看该作者
是同时设置为1.20么?还是仅仅只是虚拟地址为1.20(任何时候只有一个1.20的地址),一个网卡失败以后另外一个网卡自动接管,和双机类似?

论坛徽章:
0
6 [报告]
发表于 2006-09-18 13:23 |只看该作者
肯定是可以的。我们两个网卡 1.21 1.22对外是1.20

论坛徽章:
0
5 [报告]
发表于 2006-09-15 09:56 |只看该作者
By using IPMP, you can configure one or more physical interfaces into an IP multipathing group, or IPMP group. After configuring IPMP, the system automatically monitors the interfaces in the IPMP group for failure. If an interface in the group fails or is removed for maintenance, IPMP automatically migrates, or fails over, the failed interface’s IP addresses. The recipient of these addresses is a functioning interface in the failed interface’s IPMP group. The failover feature of IPMP preserves connectivity and prevents disruption of any existing connections. Additionally, IPMP improves overall network performance by automatically spreading out network traffic across the set of interfaces in the IPMP group. This process is called load spreading。\r\n\r\n嗬嗬,可以实现
  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP