[ale] KVM and Cisco

Brian Gill thebriangill at gmail.com
Fri May 15 13:40:41 EDT 2015


I think trunk mode is the way to go.  If you use multiple vlans, it's the
only way to go.

Trunk mode changes the switch port from an access port, which allows a
single device to be connected, to a trunk, which will allow multiple
devices to be connected on the same port.  Because you have multiple guests
running in KVM, the switch sees the bridge port on the KVM host as another
switch, causing the port to be shut down by spanning tree.

Brian

On Fri, May 15, 2015 at 12:45 PM, Chuck Payne <terrorpup at gmail.com> wrote:

> Brain thank, I was thinking it might be trunk. Trunk would be best? I only
> ask because I found this right before your e-mail.
>
> Maximum MAC Addresses: 1
>
> I read that would cause issues and shut down the port. So I tried
>
> config t
> inter Gi0/39
> switchport port-security maximum 25
>
> Maximum MAC Addresses      : 25
>
> Now I can ping my from my guest
>
> But if I have more than 132 hosts, the arp table could fill it up,
> correct. So trunk would be best.
>
>
> On Fri, May 15, 2015 at 9:37 AM, Brian Gill <thebriangill at gmail.com>
> wrote:
>
>> On the switch, you need to set the port as a trunk port.  The commands
>> would look like:
>>
>> Switch#conf t
>> Enter configuration commands, one per line.  End with CNTL/Z.
>> Switch(config)#int g1/0/x or fa0/x (depending on your switch model where
>> x is your switch port)
>> Switch(config-if)#switchport mode trunk
>> Switch(config-if)#end
>> Switch#wr  (save your config!)
>> Building configuration...
>> [OK]
>> Switch#
>>
>>
>>
>>
>> On Fri, May 15, 2015 at 12:12 AM, Chuck Payne <terrorpup at gmail.com>
>> wrote:
>>
>>> Guys,
>>>
>>> I might have sent this before, so sorry, but Cisco is driving me crazy.
>>>
>>> We are currently upgrading out network gear, which is a mix Cisco Small
>>> Business and Netgear Smart switches. We don't have any vlans. Our KVM
>>> servers are working with them with no issues.
>>>
>>> We purchased a couple of Cisco 2960-x switches. We  were trying to move
>>> a couple of our Red Hat KVM servers to it, but we are having issues getting
>>> the bridge device to work the same way.
>>>
>>> The first thing we noticed is that the switch turn off the port when w
>>> e hooked up the bridge port to the switch. We found out that it was
>>> cause by bpdugard.  We disable able and the bridge was able to connect aand
>>> we could connect to the bridge of the server from other boxes, but we could
>>> not connect to any of the guest on the that bridge.
>>>
>>> Now, when I am KVM host, I can ping the guest. When I am the guess I can
>>> ping the host bridge ip.
>>>
>>> Example
>>>
>>> Host Br3  10.0.0.10  < - - - - - - > 10.0.0.12 Guest eth0
>>>
>>> External Box 10.0.0.5 ---> 10.0.0.10 Host xxxxxx 10.0.0.12 Guest
>>>
>>> Guest 10.0.0.12 --> 10.0.0.10 Host xxxx 10.0.0.5 External Box
>>>
>>> Here what bridge control show
>>>
>>> bridge name	bridge id		STP enabled	interfaces
>>> br3		8000.d4ae52a5feb2	yes		em2
>>> 							vnet19
>>>
>>> On the switch I have turn on spanning tree hoping that would help.
>>>
>>> Is there something I need to do on the KVM side? Do have to set the port maybe as trunk? I am total lost, sorry I am not Cisco Guru. I know someone has ran into this.
>>>
>>>
>>> --
>>> Terror PUP a.k.a
>>> Chuck "PUP" Payne
>>>
>>> 678 636 9678
>>> -----------------------------------------
>>> Discover it! Enjoy it! Share it! openSUSE Linux.
>>> -----------------------------------------
>>> openSUSE -- Terrorpup
>>> openSUSE Ambassador/openSUSE Member
>>> skype,twiiter,identica,friendfeed -- terrorpup
>>> freenode(irc) --terrorpup/lupinstein
>>> Register Linux Userid: 155363
>>>
>>> Have you tried SUSE Studio? Need to create a Live CD,  an app you want
>>> to package and distribute , or create your own linux distro. Give SUSE
>>> Studio a try.
>>>
>>>
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://mail.ale.org/mailman/listinfo/ale
>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>> http://mail.ale.org/mailman/listinfo
>>>
>>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>>
>
>
> --
> Terror PUP a.k.a
> Chuck "PUP" Payne
>
> 678 636 9678
> -----------------------------------------
> Discover it! Enjoy it! Share it! openSUSE Linux.
> -----------------------------------------
> openSUSE -- Terrorpup
> openSUSE Ambassador/openSUSE Member
> skype,twiiter,identica,friendfeed -- terrorpup
> freenode(irc) --terrorpup/lupinstein
> Register Linux Userid: 155363
>
> Have you tried SUSE Studio? Need to create a Live CD,  an app you want to
> package and distribute , or create your own linux distro. Give SUSE Studio
> a try.
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150515/79443dc0/attachment.html>


More information about the Ale mailing list