1
1
12rbah2020-04-27 16:17:54
Computer networks
12rbah, 2020-04-27 16:17:54

How to set up multiple networks on one map?

Is it possible somehow, having one network card, to be in different subnets, for example, to configure virtual adapters and through them is in two or more networks at the same time, if possible, throw off the link to the materials.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
pindschik, 2020-05-07
@12rbah

Since the question is abstract, I will give answers from the series of a spherical horse in a vacuum. I will not give links, with such a formulation of the problem it is unthinkable, but I will describe in words. For if the words are not clear, then it will be impossible to do with links. And everyone knows how to google here ...
Let's assume that the network adapter is ordinary and does not physically support VLan (it doesn't matter if you have a network with or without them) - just configure several IPs of your networks on the network card. If the network has a division into VLANs - to the port of THIS network card on the MANAGED switch, apply all networks without tagging. In one heap. Both horses and people. And flies and meatballs. No virtual adapters, just hardcore.
* It doesn't matter if the network card has a corresponding setting, it does not support VLan in hardware - and that's it.
If you directly delivered a real server, Dell there, or HP - and a network card with VLan support - and a network with VLan, and you really don’t want to arrange a mix from the first method, then I would venture to suggest that different VLans serve different services. Well, let's say, computers and telephony. And probably the services will also hang on different virtual machines ... Then take (for example) and raise Hyper-V, make a hub out of your network card in it (using the "mouse programming" method) and spawn as many virtual network cards with any Vlan.
On the switch, create what some call a trunk - let the tagged traffic of the desired networks onto your port.
The third method is the use of a network card from the first option with virtualization from the second, respectively, without Vlans.

R
Ruslan Fedoseev, 2020-04-27
@martin74ua

I would also suggest reading https ://linkmeup.ru/sdsm/.... Because there may well be vlans somewhere nearby...

V
Vladimir Korotenko, 2020-04-27
@firedragon

https://www.ibm.com/support/knowledgecenter/SSBLQQ...
https://www.cyberciti.biz/faq/linux-creating-or-ad...

G
ggruno, 2020-04-27
@ggruno

What OS is the question?
On Lina, you just install the vlan package and make a trunk port to the computer and already configure virtual sub interfaces on it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question