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.


82 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
446 posts

Ultimate Geek
+1 received by user: 125


  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.

2514 posts

Uber Geek
+1 received by user: 937

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

440 posts

Ultimate Geek
+1 received by user: 83


  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

440 posts

Ultimate Geek
+1 received by user: 83


  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.

121 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

440 posts

Ultimate Geek
+1 received by user: 83


  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.

121 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.)

121 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 »

Vodafone faces charges for billing customers after contract finished
Posted 22-Aug-2018 17:54


Aerial imagery Nearmap launches in New Zealand
Posted 22-Aug-2018 17:41


Intel introduces new NUC kits and NUC mini PCs
Posted 16-Aug-2018 11:03


The Warehouse leaps into the AI future with Google
Posted 15-Aug-2018 17:56


Targus set sights on enterprise and consumer growth in New Zealand
Posted 13-Aug-2018 13:47


Huawei to distribute nova 3i in New Zealand
Posted 9-Aug-2018 16:23


Home robot Vector to be available in New Zealand stores
Posted 9-Aug-2018 14:47


Panasonic announces new 2018 OLED TV line up
Posted 7-Aug-2018 16:38


Kordia completes first live 4K TV broadcast
Posted 1-Aug-2018 13:00


Schools get safer and smarter internet with Managed Network Upgrade
Posted 30-Jul-2018 20:01


DNC wants a safer .nz in the coming year
Posted 26-Jul-2018 16:08


Auldhouse becomes an AWS Authorised Training Delivery Partner in New Zealand
Posted 26-Jul-2018 15:55


Rakuten Kobo launches Kobo Clara HD entry level reader
Posted 26-Jul-2018 15:44


Kiwi team reaches semi-finals at the Microsoft Imagine Cup
Posted 26-Jul-2018 15:38


KidsCan App to Help Kiwi Children in Need
Posted 26-Jul-2018 15:32



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.