How do I configure port-channel trunk ports between a Dell 6248 and ESX 3.5

I have four virtual machines and each need to be in their own VLAN. I have the 6248 configured for VLANs. I had a separate NIC for each virtual machine and everything worked fine. I now want to use two NICs on the ESX to handle the traffic for all four VLANs. I have set the VLAN IDs on the virtual NICs and I have configured the virtual switch to load balance using "Route based on ip hash". On the 6248 I have configured port-channel 1 and set the switchport mode to trunk and allowed the VLANs I want to use. One the ethernet ports I have added them to channel-group 1 mode auto.

If I do a Show Interfaces Port-channel 1 it shows both interfaces as being Inactive.  What else do I need to configure to get this to work?

Thanks
neothinkAsked:
Who is Participating?
 
neothinkConnect With a Mentor Author Commented:
Well it is now working in production.  It seemed from your post that I only needed to define the trunks/vlans in the port-channel but it looks like they need to be defined on the ethernet port and the port-channel.

Thanks for the help.  :)
0
 
bgoeringCommented:
Take a look at this EE thread: http://www.experts-exchange.com/Networking/Misc/Q_25096361.html

Sounds like what you are trying to do

Good Luck
0
 
neothinkAuthor Commented:
Thanks for the link but it doesn't mention VLANs which is what I need.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
bgoeringCommented:
Hmmm, something like this should work. It wil create vlan 10 as "native" vlan, 100, 101, and 102 as tagged

Interface  port-channel 1
description lag_1
switchport mode general
switchport general pvid 10
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan remove 1
switchport general allowed vlan add 10 untagged
switchport general allowed vlan add 100 tagged
switchport general allowed vlan add 101 tagged
switchport general allowed vlan add 102 tagged
exit
interface ethernet 1/g2
channel-group 1 mode auto
exit
interface ethernet 1/g3
channel-group 1 mode auto
exit

Let me know - its been a while since I looked at Dell switches (more cisco stuff now)
0
 
bgoeringCommented:
if mode general isn't supported on your switch - try with mode trunk, if you want vlan 1 to be native, change pvid 10 to pvid 1, get rid off vlan remove 1 - you shouldn't have to add vlan 1 untagged as it is default.

Good luck
0
 
neothinkAuthor Commented:
I know my ESX network is working correctly because if I remove the switch and just use one patch cable to connect the two NICs, I can ping both sides. Using the switch as it is currently configured, I can't ping to the other side.

I have moved into a lab so I can try commands without messing up my working network. Here is my config so far. Obviously there is no IP routing taking place yet. Currently I am just testing with VLAN 214.

!Current Configuration:
!System Description "PowerConnect 6248, 2.2.0.3, VxWorks5.5.1"
!System Software Version 2.2.0.3
!
configure
vlan database
vlan  10,20,101-120,201-280
exit
stack
member 1 2
member 2 2
member 3 2
member 4 2
exit
ip address 192.168.2.1 255.255.255.0
interface vlan 214
name "Regular VLAN14"
routing
ip address  10.127.179.209  255.255.255.248
ip ospf cost 10
exit


!
interface ethernet 1/g1
channel-group 1 mode auto
exit
!
interface ethernet 1/g2
channel-group 1 mode auto
exit
!
interface ethernet 1/g3
channel-group 1 mode auto
exit
!
interface port-channel 1
description 'lag_1'
switchport mode general
switchport general pvid 10
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10
switchport general allowed vlan add 101-102,205,214,219-220 tagged
switchport general allowed vlan remove 1


exit
exit
0
 
neothinkAuthor Commented:
I think I have this all figured out.  I'll let you know if/when I do.
0
 
neothinkAuthor Commented:
OK, I have the trunk ports figured out.

configure
interface ethernet 1/g1
switchport mode trunk
switchport trunk allowed vlan add 205,214,219-220
switchport trunk allowed vlan remove 1
exit
interface ethernet 1/g2
switchport mode trunk
switchport trunk allowed vlan add 205,214,219-220
switchport trunk allowed vlan remove 1
exit
interface ethernet 2/g1
switchport mode trunk
switchport trunk allowed vlan add 205,214,219-220
switchport trunk allowed vlan remove 1
exit
interface ethernet 2/g2
switchport mode trunk
switchport trunk allowed vlan add 205,214,219-220
switchport trunk allowed vlan remove 1
exit
exit

When I try to configure the channel-groups, the network hangs.

configure
interface ethernet 1/g1
channel-group 1 mode on
exit
interface ethernet 1/g2
channel-group 2 mode on
exit
interface ethernet 2/g1
channel-group 1 mode on
exit
interface ethernet 2/g2
channel-group 2 mode on
exit
exit


any ideas?
0
 
bgoeringCommented:
It looks like all four ports configured the same so far as allowed VLANs. What does your ESX look like? Do you have one vSwitch with 4 physical NICs? If so you just need 1 channel group, not 2.

Please post screen shot of ESX Network config page and a diagram of what vmnics on ESX are plugged into what ports on switch.
0
 
neothinkAuthor Commented:
I have two ESX servers each running four virtual vyatta routers. The vyatta routers are clustered across the network. Each ESX has a vSwitch with two physical NICs so I thought each vSwitch would need their own channel group.

I can post screen shots if you need more info.
0
 
bgoeringCommented:
Screen shots never hurt. And yes, you would need a port channel for each ESX server. Now on the ESX are you trying to pass through all the VLAN tagging to the Vyatta routers? Or do you want ESX to handle the decoding of the VLAN tags. Or possibly both?
0
 
neothinkAuthor Commented:
Each Vyatta is its own network if you will so it doesn't need to worry about the tagging.  I just need the vSwitch and the Dell stack to handle the tagging.

Once I added the following commands, everything works as it should.

interface port-channel 1
switchport mode trunk
switchport trunk allowed vlan add 205,214,219-220
switchport trunk allowed vlan remove 1
exit
!
interface port-channel 2
switchport mode trunk
switchport trunk allowed vlan add 205,214,219-220
switchport trunk allowed vlan remove 1
exit


So the correct order on the switch is create the trunk ports, create the port-channel groups, add the channel groups to the ethernet ports.  or at least I think that is the way it is.  I'm going to try it in my production environment and see what happens.
0
 
bgoeringCommented:
Well silly me didn't even notice the port-channel was missing on your previous post. Guess I saw it there on earlier post and just "assummed"

Glad you are getting there :)
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.