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


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
2504 posts

Uber Geek
+1 received by user: 932

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


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


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


  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: 
 


3474 posts

Uber Geek
+1 received by user: 1249

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.

2504 posts

Uber Geek
+1 received by user: 932

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

3474 posts

Uber Geek
+1 received by user: 1249

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


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


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


  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:





News »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



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.