LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2014, 07:59 AM   #1
donglee
LQ Newbie
 
Registered: Jan 2014
Posts: 9

Rep: Reputation: Disabled
VLAN trunking between Cisco 2950 and linux box


I'm having trouble to configure these two. Let me know if there are any online resources, though I've tried.

Cisco WS-C2960-24TT-L is a 24 port switch.
I'd like make port 2 for trunking of vlan 2 and 5.
Here vlan 2 will have port 3, 4 and
vlan 5 will have port 5, 6, 7, 8.

I've added two vlan at eth1 of my linux box using following commands:
vconfig add eth1 2
vconfig add eth1 5

eth1.2 Link encap:Ethernet HWaddr 00:E0:4C:56:29:9D
inet addr:10.0.0.33 Bcast:10.0.0.63 Mask:255.255.255.224

eth1.5 Link encap:Ethernet HWaddr 00:E0:4C:56:29:9D
inet addr:10.0.0.129 Bcast:10.0.0.159 Mask:255.255.255.224

Now, from a host 10.0.0.35/27 connected to cisco2950 port 3, I can ping 10.0.0.34 but cannot reach 10.0.0.33 and

From linuxbox 10.0.0.33/27 I can't ping 10.0.0.34 or 10.0.0.35.
Interesting things is that I can see the packets trying from 10.0.0.35 using
tcpdump -i eth1


Little help will be highly appreciated.

Thanks.

Last edited by donglee; 03-27-2014 at 01:19 AM.
 
Old 03-26-2014, 09:02 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Make sure the trunk port is manually configured to act as a trunk (switchport mode trunk), because neither of the dynamic modes will work. Also, check that neither 2 nor 5 is the "native VLAN" for the trunk port.

If it still doesn't work, post the output from show interfaces trunk and show running-config (sanitized if necessary).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VLan help on Cisco 870 to Linux vlan spide21 Linux - Networking 4 07-30-2009 09:20 AM
Trunking with a cisco switch strob Linux - Networking 2 02-10-2009 07:59 AM
VLAN trunking between Cisco 2950 and linux box[Fedora 9] bangla Linux - Networking 6 07-06-2008 04:54 PM
Cisco 2950 Series switch with no ios or permisions drgnlegend3 General 1 02-13-2007 11:01 AM
Linux and Cisco switch 2950 foysol_bgd Linux - Newbie 6 02-07-2007 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration