LinuxQuestions.org
Visit Jeremy's Blog.
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 04-09-2013, 07:28 AM   #1
nicolasdiogo
Member
 
Registered: Oct 2003
Location: UK
Distribution: debian lenny x64
Posts: 129

Rep: Reputation: 20
trouble setting up VLAN between linux and L3 switch


hello

i am trying to setup 4 linux system to connect.

while using non-tagged (default) network works fine.

when i try to setup a vlan it fails miserably..

the switch is a CISCO sg300 series.
all ports are set as TRUNK - i thought this would enable all traffic to be able to flow through these (tagged and non-tagged)

the default network (non-tagged) has network mask:
192.168.1.0/24

and the tagged vlan 10 has network mask:
10.0.10.0/24

on the linux, i have setup as:
Quote:
boxA1 - br0 - non-tagged
boxA2 - br0 - non-tagged
boxB1 - br10 - vlan 10
boxB2 - br10 - vlan 10

the trouble is that i can not connect boxes:
boxB1
boxB2


using the vlan network.

for instance, in boxB1 i try to connect via ssh using the IP:

Code:
ssh thisuser@10.0.10.3
but that times out. and tracepath or nmap can not even find another host on the tagged network.

any suggestion on how to proceed.

i am really punching above my weight here!!


thanks,

Last edited by nicolasdiogo; 04-09-2013 at 12:26 PM. Reason: edited title to be + acurate
 
Old 04-11-2013, 02:27 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,174

Rep: Reputation: 103Reputation: 103
The bridge can't forward traffic between non-VLAN and VLAN network. Only router, using regular interface mode, can do it.
 
Old 04-16-2013, 03:02 AM   #3
nicolasdiogo
Member
 
Registered: Oct 2003
Location: UK
Distribution: debian lenny x64
Posts: 129

Original Poster
Rep: Reputation: 20
thanks,

I will setup a router (open switch - maybe) and see how i can get this to work.

i have checked the NICs and they are in forwarding state/mode; is it not relevant?

regards,
 
Old 04-16-2013, 03:04 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,174

Rep: Reputation: 103Reputation: 103
If you talk about a state in NIC, I don't think it is relavant. The NIC handle MAC layer's stuff. That means that it is below bridge.
 
  


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
How to create vlan in linux using cisco 3750 switch tushs Linux - Networking 3 05-25-2011 03:04 AM
VLan help on Cisco 870 to Linux vlan spide21 Linux - Networking 4 07-30-2009 08:20 AM
VLAN trunking between Cisco 2950 and linux box[Fedora 9] bangla Linux - Networking 6 07-06-2008 03:54 PM
Setting up vLAN Switch kool_kid Linux - Networking 8 02-28-2008 02:37 PM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 02:51 AM


All times are GMT -5. The time now is 03:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration