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


#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
2552 posts

Uber Geek


  #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.



534 posts

Ultimate Geek


  #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


  #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


  #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: 
 


4377 posts

Uber Geek

Trusted

  #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.

2552 posts

Uber Geek


  #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.

4377 posts

Uber Geek

Trusted

  #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


  #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


  #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


  #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 and LinkedIn »



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:





News »

New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48


Sony boosts full-frame lens line-up with introduction of FE 20mm F1.8 G large-aperture ultra-wide-angle prime Lens
Posted 5-Mar-2020 08:44


Vector and Spark teamed up on smart metering initiative
Posted 5-Mar-2020 08:42


Schneider Electric launches new PDL Pro Series designed specifically for the commercial building market
Posted 5-Mar-2020 08:39


Kiwi app Pedigree DentaStix Studios uses pet images to counter impact of negative social media Content
Posted 5-Mar-2020 08:32


Samsung expands to New Zealand in 5G Networks Deal with Spark
Posted 5-Mar-2020 08:17


New Vodafone mobile data plans with unlimited data
Posted 26-Feb-2020 06:55



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.