Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


534 posts

Ultimate Geek
+1 received by user: 116


Topic # 150352 19-Jul-2014 20:06
Send private message

Hi,

I am starting to learn about VLANs and I already have some things I would like to use it for. I would like to connect 2 networks to the pi, and I was wondering how I could do this with VLANs. My question is if I made this cable, would it work? 



So what happens is I connect 2 Ethernet cables together, and then I put another Ethernet connector on the end.

THanks




Home ADSL:                                                             School: 
 


Filter this topic showing only the reply marked as answer Create new topic
2522 posts

Uber Geek
+1 received by user: 937

Subscriber

  Reply # 1092170 19-Jul-2014 21:03
One person supports this post
Send private message

What, no, you can't just splice two cables together like that. You need a routing device that can perform interVLAN routing (the Pi can if configured correctly) and then you will need to configure an interface on the Pi (or other routing device) for each VLAN.




Windows 7 x64 // i5-3570K // 16GB DDR3-1600 // GTX660Ti 2GB // Samsung 830 120GB SSD // OCZ Agility4 120GB SSD // Samsung U28D590D @ 3840x2160 & Asus PB278Q @ 2560x1440
Samsung Galaxy S5 SM-G900I w/Spark



534 posts

Ultimate Geek
+1 received by user: 116


  Reply # 1092183 19-Jul-2014 21:43
Send private message

Inphinity: What, no, you can't just splice two cables together like that. You need a routing device that can perform interVLAN routing (the Pi can if configured correctly) and then you will need to configure an interface on the Pi (or other routing device) for each VLAN.

Yes I realize that. But can I splice 3 cables together and then tag the 2 different switches?




Home ADSL:                                                             School: 
 


SCM

457 posts

Ultimate Geek
+1 received by user: 47


  Reply # 1092184 19-Jul-2014 21:45
One person supports this post
Send private message

Would you not be better off adding a network switch/router to that equation?




 Click to see full size

 

 




534 posts

Ultimate Geek
+1 received by user: 116


  Reply # 1092185 19-Jul-2014 21:55
Send private message

SCM: Would you not be better off adding a network switch/router to that equation?


I would like to capture and monitor the data with the Pi




Home ADSL:                                                             School: 
 


3589 posts

Uber Geek
+1 received by user: 1320

Subscriber

  Reply # 1092194 19-Jul-2014 22:13
One person supports this post
Send private message

dcole13:
Inphinity: What, no, you can't just splice two cables together like that. You need a routing device that can perform interVLAN routing (the Pi can if configured correctly) and then you will need to configure an interface on the Pi (or other routing device) for each VLAN.

Yes I realize that. But can I splice 3 cables together and then tag the 2 different switches?


Umm, no.
VLAN's aren't a physical layer thing, they are layer 2. You will set up and tag VLANs (usually on a L3 router so you can route between networks) and then set up VLAN interfaces on the Pi to utilise them.

2522 posts

Uber Geek
+1 received by user: 937

Subscriber

  Reply # 1092206 19-Jul-2014 22:45
2 people support this post
Send private message

dcole13:
Yes I realize that. But can I splice 3 cables together and then tag the 2 different switches?


Please just completely drop the splicing cables together idea. It has no place in a conversation about VLANs. If you want to learn about VLANs, get a managed switch, connect the Pi to one port as a trunk, create virtual interfaces on the Pi with VLAN tagging, and then set some of the other ports on  the switch as access ports on the relevant VLANs and connect devices. No offence, but given your questions, I suspect a few forum posts will not be able to provide the level of guidance you're likely to need, and a good Cisco Networking guide could be a great investment.




Windows 7 x64 // i5-3570K // 16GB DDR3-1600 // GTX660Ti 2GB // Samsung 830 120GB SSD // OCZ Agility4 120GB SSD // Samsung U28D590D @ 3840x2160 & Asus PB278Q @ 2560x1440
Samsung Galaxy S5 SM-G900I w/Spark

3589 posts

Uber Geek
+1 received by user: 1320

Subscriber

  Reply # 1092214 19-Jul-2014 23:11
One person supports this post
Send private message

Start with this and understand it.

Then read a cisco book and learn about vlan's.



534 posts

Ultimate Geek
+1 received by user: 116


  Reply # 1092216 19-Jul-2014 23:25
Send private message

Inphinity:
dcole13:
Yes I realize that. But can I splice 3 cables together and then tag the 2 different switches?


Please just completely drop the splicing cables together idea. It has no place in a conversation about VLANs. If you want to learn about VLANs, get a managed switch, connect the Pi to one port as a trunk, create virtual interfaces on the Pi with VLAN tagging, and then set some of the other ports on  the switch as access ports on the relevant VLANs and connect devices. No offence, but given your questions, I suspect a few forum posts will not be able to provide the level of guidance you're likely to need, and a good Cisco Networking guide could be a great investment.

Okay, thanks. I own a Sonicwall TZ 180, which I am pretty sure that it supports VLANs.




Home ADSL:                                                             School: 
 


SCM

457 posts

Ultimate Geek
+1 received by user: 47


  Reply # 1092228 19-Jul-2014 23:54
One person supports this post
Send private message

dcole13:
SCM: Would you not be better off adding a network switch/router to that equation?


I would like to capture and monitor the data with the Pi




Setup correctly with the correct switch/router, it would pass on the required info to the Pi...




A quick Google suggests the Sonicwall TZ 180 does indeed support V-Lans





 Click to see full size

 

 




534 posts

Ultimate Geek
+1 received by user: 116


  Reply # 1092253 20-Jul-2014 00:28
Send private message

SCM:
dcole13:
SCM: Would you not be better off adding a network switch/router to that equation?


I would like to capture and monitor the data with the Pi




Setup correctly with the correct switch/router, it would pass on the required info to the Pi...




A quick Google suggests the Sonicwall TZ 180 does indeed support V-Lans


Yes, I think it does though I think I need to upgrade to SonicOS Enhanced.




Home ADSL:                                                             School: 
 


Filter this topic showing only the reply marked as answer Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.