VMware Cloud Community
vritualguy33
Contributor
Contributor

Need help understanding with routing between networks and subnets.

Hi,


I'm trying to get to grips with the logic between routing between network and subnets.

I understand that if I create two different networks.

i.e.

  • vmnet1 (live)
  • vmnet2 (testing)

Then I would need to implement some kind of routing device between the two of them. So that a vm in vmnet1 could communicate with a vm in vmnet2.

Is that correct?

But would I still need to implement a routing device if I created a subdivision of a network?

i.e.

  • I created one network called vmnet1.
  • And broke that network down to include two subnets.
  • One subnet tasked for Sales, and the other for Amin. 

So would I need a routing device to facilitate communication between these subnets?

I'm trying to work out how others would do it.

Some large organisations could have multiple subnets, but would they have multiple routers on their lan?

Thanks

Reply
0 Kudos
6 Replies
rcporto
Leadership
Leadership

Then I would need to implement some kind of routing device between the two of them. So that a vm in vmnet1 could communicate with a vm in vmnet2.

Is that correct?

If vms are on different subnets you will need a device with routing capability.

But would I still need to implement a routing device if I created a subdivision of a network?

Yes, a "subdivision" means a subnet... that is a different network and to make possible devices from different subnets (networks) you will need a router.

So would I need a routing device to facilitate communication between these subnets?

Yes... not just a router device, but a device with routing capability, like for example a Windows VM with RRAS installed.

Some large organisations could have multiple subnets, but would they have multiple routers on their lan?

Just one router can do the job, even if the router have a small number of physical interfaces, cause you can create sub-interfaces (or virtual interfaces) binding to a physical interface... on Cisco we call it Router on a Stick: http://networklessons.com/ip-routing/how-to-configure-router-on-a-stick/

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
Reply
0 Kudos
vritualguy33
Contributor
Contributor

So I could setup one RRAS VM and add multiple virtual nics. Each configured to handle the different subnets?

Thanks

Reply
0 Kudos
rcporto
Leadership
Leadership

Yes... this will work... and you can use some kind of virtual router like Vyatta router.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
Reply
0 Kudos
vritualguy33
Contributor
Contributor

Thanks.

I have tried installing the 60 day trial Vyatta router but I can't get in using the default credentials.

I says that it's supposed to be :

UN : vyatta

PW: vyatta


Have you used it before?

Thanks

Reply
0 Kudos
rcporto
Leadership
Leadership

Take a look at this blog post: http://wojcieh.net/vyatta-router-running-on-vmware-workstation-part-1/

And don't forget to award points for helpful or correct answers.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
vritualguy33
Contributor
Contributor

I managed to get it working.

Thanks

Reply
0 Kudos