Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to make 2 vlan talk
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to make 2 vlan talk (Read 1430 times)
topza1304
Newbie
Posts: 1
Karma: 0
How to make 2 vlan talk
«
on:
March 02, 2020, 08:10:16 am »
I would like to ask if I am new to the education network or not.
Want to know how to talk or travel 2 Vlan?
What configuration do I need to add?
Vlan route? Can only be done at a switch or router.
ผลบอลสดวันนี้
Anyone who has a network, forum, or Facebook network. For beginners, recommend what
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: How to make 2 vlan talk
«
Reply #1 on:
March 02, 2020, 09:05:18 am »
The VLAN's themselves are not the problem, since they are on layer 2 of the network stack. Since they don't share a broadcast domain, they will need different IP subnets on layer 3.
Traffic between those subnets and the wider internet then needs a router to transfer packets. Clients on a subnet (and by extension a VLAN) must be configured to use this router. Since the internet has a large address space, it makes sense to make that the default gateway.
Clients need to be configured with the correct IP address for their subnet and the default gateway. This can be done by hand, or it can be centrally set through a DHCP service. This service can also configure services higher up the stack, such as DNS and NTP.
In the case of OPNsense there is usually also the firewall rules to take into consideration. Traffic from each subnet must be allowed to travel to the other and to the internet. OPNsense can also be the DHCP server, DNS server and NTP server although this is for convenience only. In a more secure environment these services are offered by external hosts to minimise the attack surface of the firewall.
If you are unsure about any of these concepts (VLAN, IP, layers, subnet, router, firewall, DHCP, DNS, NTP, etc.) then you need to dive deeper. You can search for them individually or you can use a more structured networking course. Some of those are discussed here:
https://www.quora.com/What-are-the-best-MOOCs-to-learn-computer-networking?share=1
The Cisco course looks to be most suitable:
https://www.coursera.org/specializations/networking-basics
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to make 2 vlan talk