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.




81 posts

Master Geek

Trusted

Topic # 151480 27-Aug-2014 09:21
Send private message

Hello, I have a layer 3 switch with a VLAN 1 interface of 192.168.0.1/24.
I have two routers connected to this switch. The interface of each router is 192.168.0.100/24 and 192.168.0.254/24.
In Packet tracer this works fine, but I am breaking rules here i.e only you should have a separate network for each link ?

Thanks for any advice.

Create new topic
438 posts

Ultimate Geek
+1 received by user: 123

Subscriber

  Reply # 1116286 27-Aug-2014 09:53
Send private message

Two networks can co-exist on the same link, they just won't be able to communicate, so it's not a particularly useful setup.

2499 posts

Uber Geek
+1 received by user: 927

Subscriber

  Reply # 1116288 27-Aug-2014 09:54
One person supports this post
Send private message

What are you hoping to achieve by having two routers within the same subnet?




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

 
 
 
 


410 posts

Ultimate Geek
+1 received by user: 77


  Reply # 1116409 27-Aug-2014 12:16
Send private message

No issues at all doing what you are doing as long as you are exchanging routing information between the layer 3 switch and the two routers otherwise the layer 3 switch won't know what networks exist on the other side of the two routers and therefore which router to send traffic to.

You could do it with static routes if you don't wish to use dynamic routing. I assume that the client devices will use the address of the layer 3 switch as their gateway address?

If the two routers both connect to the same networks on the far end then you need to look at your routing to make sure that it is doing what you expect ie active/standby or active/active for both routers and make sure that return traffic takes the same path.

Matt.

52 posts

Master Geek


  Reply # 1118538 30-Aug-2014 13:43
Send private message

Hi,

I had a similar question which may explain the scenario:

I have two routers, one for my standard ADSL Spark connection and a dd-wrt router permanently connected to a vpn service.

I have a HTPC which I sometimes want to connect to the DD-WRT router to watch Netflix and other times connect to my other router to watch TVNZ On Demand.

Can I connect both routers and the HTPC to the same switch? How will I switch between connections on my Win 8 HTPC?

the HTPC does have wireless, but I prefer the stability of LAN when streaming content.

Thanks
Jules

410 posts

Ultimate Geek
+1 received by user: 77


  Reply # 1118658 30-Aug-2014 17:59
Send private message

Yes you can do this but you will need to know which networks you want to route over each router.

Usually you have a default gateway on your PC which points to a router. All traffic goes to this router.

If you have a second router you can add specific network routes to your PC to point them to the second router. Eg identify the networks that Netflix uses and then add route statements that send traffic for those networks to your second router.

Each router needs to have its own IP address on your network and one of them will carry the majority of your traffic and be set as the gateway on your PC.

Use the route add command to add specific network static routes to your PC.

Matt.

118 posts

Master Geek
+1 received by user: 30


  Reply # 1134439 23-Sep-2014 11:22
Send private message

Bad practice to have 2 different networks running in a single VLAN off the L3 switch.

What are you trying to achieve? :)

52 posts

Master Geek


  Reply # 1134904 23-Sep-2014 20:27
Send private message

Thanks all for your replies.

My aim was to find the easiest way to connect my HTPC to both my standard NZ adsl connection amy IPVanish VPN connection.

I have now downloaded the IPVanish aplication which alloows me to easily switch between their various servers or to switch it off completely

Jules

410 posts

Ultimate Geek
+1 received by user: 77


  Reply # 1134963 23-Sep-2014 21:14
Send private message

chrispchikin: Bad practice to have 2 different networks running in a single VLAN off the L3 switch.

What are you trying to achieve? :)


Not bad practice at all. If you want to share routing information between two routers then they both have to have lan addresses in the same subnet.

Matt.

118 posts

Master Geek
+1 received by user: 30


  Reply # 1135004 23-Sep-2014 21:32
Send private message

Yes, but that's not what I said...

It is bad practice to have 2 different networks hanging off a single VLAN.

(E.g 192.168.1.0/24 and 192.168.2.0/24 connected to access ports in VLAN 1.)

118 posts

Master Geek
+1 received by user: 30


  Reply # 1136381 24-Sep-2014 11:18
Send private message

Gah, misread OP! :P

Didn't see that the 3 IP addresses were in the same subnet...

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 »

Fujifilm X beats its best with new top of the range, high-performance camera
Posted 24-Feb-2018 14:05


One million kiwis affected by cybercrime
Posted 24-Feb-2018 13:58


New Zealanders want to engage with government online and via mobile apps
Posted 24-Feb-2018 13:56


Samsung launches Samsung Max
Posted 24-Feb-2018 13:52


CPTPP text and National Interest Analysis released for public scrutiny
Posted 21-Feb-2018 19:43


Foodstuffs to trial digitised shopping trolleys
Posted 21-Feb-2018 18:27


2018: The year of zero-login, smart cars & the biometrics of things
Posted 21-Feb-2018 18:25


Intel reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26


OPPO announces R11s with claims to be the picture perfect smartphone
Posted 2-Feb-2018 13:28



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.