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

Uber Geek
+1 received by user: 928

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: 
 


 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software

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: 
 


3343 posts

Uber Geek
+1 received by user: 1112

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.

2502 posts

Uber Geek
+1 received by user: 928

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

3343 posts

Uber Geek
+1 received by user: 1112

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 »

Amazon launches the International Shopping Experience in the Amazon Shopping App
Posted 19-Apr-2018 08:38


Spark New Zealand and TVNZ to bring coverage of Rugby World Cup 2019
Posted 16-Apr-2018 06:55


How Google can seize Microsoft Office crown
Posted 14-Apr-2018 11:08


How back office transformation drives IRD efficiency
Posted 12-Apr-2018 21:15


iPod laws in a smartphone world: will we ever get copyright right?
Posted 12-Apr-2018 21:13


Lightbox service using big data and analytics to learn more about customers
Posted 9-Apr-2018 12:11


111 mobile caller location extended to iOS
Posted 6-Apr-2018 13:50


Huawei announces the HUAWEI P20 series
Posted 29-Mar-2018 11:41


Symantec Internet Security Threat Report shows increased endpoint technology risks
Posted 26-Mar-2018 18:29


Spark switches on long-range IoT network across New Zealand
Posted 26-Mar-2018 18:22


Stuff Pix enters streaming video market
Posted 21-Mar-2018 09:18


Windows no longer Microsoft’s main focus
Posted 13-Mar-2018 07:47


Why phone makers are obsessed with cameras
Posted 11-Mar-2018 12:25


New Zealand Adopts International Open Data Charter
Posted 3-Mar-2018 12:48


Shipments tumble as NZ phone upgrades slow
Posted 2-Mar-2018 11:48



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.