我刚刚部署了一对Cisco Catalyst 3550交换机和一对Alteon 184 Web交换机进行负载均衡。 我可以ping所有的RIP和VIP到/从Alteon。
拓扑之前:(服务器)< – >(Alteon)< – >(Internet)
拓扑现在:(服务器)< – >(3550)< – > Alteon < – >(Internet)
思科端口configuration(Alteon上行链路端口):
description LB_1_PORT_9_PRIMARY switchport access vlan 10 switchport mode access switchport nonegotiate speed 100 duplex full
Alteon端口9configuration(VLAN 10 WAN):
>> Main# /c/port 9/cur Current Port 9 configuration: enabled pref fast, backup gig, PVID 10, BW Contract 1024 name UPLINK >> Main# /c/port 9/fast/cur Current Port 9 Fast link configuration: speed 100, mode full duplex, fctl none, auto off
思科configuration(负载均衡服务器端口):
description LB_1_PORT_1_PRIMARY switchport access vlan 30 switchport mode access switchport nonegotiate speed 100 duplex full
Alteon端口1configuration(VLAN 30负载平衡局域网):
>> Main# /c/port 1/cur Current Port 1 configuration: enabled pref fast, backup gig, PVID 30, BW Contract 1024 name LB_PORT_1 >> Main# /c/port 1/fast/cur Current Port 1 Fast link configuration: speed 100, mode full duplex, fctl both, auto on
我的每台服务器都在vlan 10和vlan 30上正常通信。
我曾尝试打开Alteon上的VLAN标记,但似乎导致所有通信停止工作。
当我在任何一个networking服务器上运行tcpdump -i vlan30时,我都会看到正常的ARP通信和一些STP通信,这些通信可能是也可能不是问题的一部分:
... 15:00:51.035882 STP 802.1d, Config, Flags [none], bridge-id 801e.00:11:5c:62:fe:80.8041, length 42 15:00:51.493154 IP 10.1.1.254.33923 > 10.1.1.1.http: Flags [S], seq 707324510, win 8760, options [mss 1460], length 0 15:00:51.493336 IP 10.1.1.1.http > 10.1.1.254.33923: Flags [S.], seq 3981707623, ack 707324511, win 65535, options [mss 1460], len gth 0 15:00:51.493778 ARP, Request who-has 10.1.3.1 tell 10.1.3.254, length 46 etc...
我不确定我是否提供了足够的信息,请让我知道是否有必要。
谢谢!
你可以在这个在线实验室练习Alteon设备:
从我可以告诉的是,你的问题是你做了两个vlans,你把负载均衡器中的服务器隔离开来了。 你的设置是不必要的复杂
如果vlan 30是你的“负载平衡器vlan”,那么3550上的每个端口最有可能在访问vlan 30上。
你不需要在负载均衡器上configurationvlan,除非你真的需要在多个vlan上。 将vlan 30放在负载平衡器上并不意味着它与您的服务器在同一vlan 30上。 因此,要么closures负载平衡器上的vlans,要么设置每个交换机端口为中继vlan 10和30,然后启用vlan标记。