Jump to content

Okay, it's a bit wird but here is my problem,

i heave a ethernet connection on side A, a gigabit ethernet to side B and i need 2 diffrent networks over that cable while still heaving the full gigbit connection (i know i coud do 2x 100mbit but better woud be 900mbit + 100mbit)

so like a device on side A wich communicates with a device on side B over that ''normal'' network

why?

beacuze that port is an open port for an server but i want still the ''normal'' port with entough speed

i woud be nice if there was in out of the box solution but maybe can i do it also with an rasberry pi or an arduino+ethernet shield :)

 

sorry for my bad english:\

 

hope someone has a solution for this beacuze i coud find nothing about it..

Als je dit kan lezen ben je Nederlands of gebruik je translate LOL

Link to comment
https://linustechtips.com/topic/531798-virtual-network-over-network/
Share on other sites

Link to post
Share on other sites

what are the devices on both sides of the gigabit line?

in cases like these the enterprise grade folks usually just put two subnets on one cable, but the devices on both sides of the cable need to be able to handle this.

Link to post
Share on other sites

If I understand you correctly what you want is called VLAN https://en.wikipedia.org/wiki/Virtual_LAN

 

I don't know what equipment you have but they must support VLAN's, CentOS does but if you could tell us what the router is that would help. Also a diagram as @LAwLz suggested would help a lot.

Link to post
Share on other sites

you are probably looking for something like VLAN Trunking Protocol or similar because it is a cisco proprietary protocol https://en.wikipedia.org/wiki/VLAN_Trunking_Protocol basically it allows multiple vlans to go over one trunked link

 

trunking is not cisco proprietary.

ESXi SysAdmin

I have more cores/threads than you...and I use them all

Link to post
Share on other sites

you are probably looking for something like VLAN Trunking Protocol or similar because it is a cisco proprietary protocol https://en.wikipedia.org/wiki/VLAN_Trunking_Protocol basically it allows multiple vlans to go over one trunked link

VTP is proprietary, ISL is proprietary, but trunking with 802.1Q is not. That will work with gear from any vendor.

 

I don't think VLAN is what OP wants though. What he will (probably) need is a router, not switches.

 

 

 

@mackief is right though, you would need to do it with VLANs which means you'd need some managed switches. and those aren't cheap, especially for home use

You can get a managed switch for like 40 dollars on Amazon.

Link to post
Share on other sites

I know i coud just dmz the switch but it has no firewall so that woud be no solution, i can also not go out and put an firewall on the my cloud nas and on the pc itself beacuze that woud be not as secure

 

the switch does support vlan and also trunking

 

here a link to my network config:

https://creately.com/diagram/ijr1dbau2/rkLh76lHJ2VrmNQDAcxS5JztsWs%3D

 

and thanks for all the replies

Als je dit kan lezen ben je Nederlands of gebruik je translate LOL

Link to post
Share on other sites

I know i coud just dmz the switch but it has no firewall so that woud be no solution, i can also not go out and put an firewall on the my cloud nas and on the pc itself beacuze that woud be not as secure

 

the switch does support vlan and also trunking

 

here a link to my network config:

https://creately.com/diagram/ijr1dbau2/rkLh76lHJ2VrmNQDAcxS5JztsWs%3D

 

and thanks for all the replies

Well first of all, VLANs won't help you in that configuration.

Secondly, I don't really understand what the issue is here.

 

 

Is it that the CentOS server is on a different network than your desktop? If that is the issue, why did you put it on a different network? Just put everything on the same network and then use port forwarding.

It seems like you are overcomplicating things.

Link to post
Share on other sites

Well first of all, VLANs won't help you in that configuration.

Secondly, I don't really understand what the issue is here.

 

 

Is it that the CentOS server is on a different network than your desktop? If that is the issue, why did you put it on a different network? Just put everything on the same network and then use port forwarding.

It seems like you are overcomplicating things.

i need to get the cent os server to communicate witch the minecraft server an the outside world while also go out and use mot than 1 or 2 ports, maybe a am overcomplicating but i've got no better idea

 

 

So it's like this:

3kjv.png

so the server will have a gateway to the ISP router in 'bridge mode' while PC2 will just get your main router as its gateway (or a reverse)?

with the minecraft server included into the red area

Als je dit kan lezen ben je Nederlands of gebruik je translate LOL

Link to post
Share on other sites

@timnl If the ISP device is in true bridge mode how is the Minecraft server connected? Sounds more like half bridge where the ISP device and your router both have the Public IP and your Minecraft server has a private IP and is still NAT'd by the ISP device?

 

In a true bridge you could only have a single device connected and that would have the Public IP and the ISP device would only be a modem (media converter). Bridging means the routing functions of the device are disabled.

Link to post
Share on other sites

Better just connect the minecraft to the switch then and assign those 2 ports to the same VLAN. Less configuration that way.

He should NOT use VLANs. It just complicates the configuration, he will need new equipment, and it will waste resources. VLANs in this network is a terrible idea.

 

All he need to do is connect everything to his switch and then use port forwarding. That's it. No need for extra hardware (like a router that support VLANs). No need for having several networks (just overcomplicates things and cause traffic to take an inefficient path). Requires minimal configuration (just plug everything in and port forward correctly).

 

 

 

@timnl If the ISP device is in true bridge mode how is the Minecraft server connected? Sounds more like half bridge where the ISP device and your router both have the Public IP and your Minecraft server has a private IP and is still NAT'd by the ISP device?

 

In a true bridge you could only have a single device connected and that would have the Public IP and the ISP device would only be a modem (media converter). Bridging means the routing functions of the device are disabled.

When people say bridge mode they generally mean the type without NAT. His ISP router is more like a switch (probably has a DSL modem in it as well). So both his Minecraft server and his router has public IPs. It is most likely not using NAT.

Link to post
Share on other sites

got an idea, that d-link old router wich i had lying around..  does heave a firewall and a dmz (if you understand it here i woud be great but if not, read furter :)

so i just dmz that router in the sitecom router and use the build in firewall n the d-link router and then i dmz the Centos server in the d-ink router zo it cou communicate totaly with the free worl and the other network members (like the minecraft server) so it wou look like this,

 

https://creately.com/diagram/ijr6isp81/uslrzpHfscJLQ8ZYJoUDXGJgcs%3D

Als je dit kan lezen ben je Nederlands of gebruik je translate LOL

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×