Two ip connections for servers
-
Well, the concept is quite easy to understand really. You can have multiple IPs active on a single box using either physical interfaces (those little holes you can plug ethernet cables into ;)) or even on a single physical interface (called “virtual ips”).
What you’re asking is how to make BMS “bind” to all interfaces on your box, normally (on Linux) you tell a service to listen on “0.0.0.0” and it will automatically open its ports on all configured IP addresses.
Did you enter “0.0.0.0” when starting your BMS server?
Cheers, Uwe
-
Yep,certainly. Ummm,I think ur right but are there really such examples where BMS opens its ports to two IP addresses?@hoover:
Well, the concept is quite easy to understand really. You can have multiple IPs active on a single box using either physical interfaces (those little holes you can plug ethernet cables into ;)) or even on a single physical interface (called “virtual ips”).
What you’re asking is how to make BMS “bind” to all interfaces on your box, normally (on Linux) you tell a service to listen on “0.0.0.0” and it will automatically open its ports on all configured IP addresses.
Did you enter “0.0.0.0” when starting your BMS server?
Cheers, Uwe
-
Well, the concept is quite easy to understand really. You can have multiple IPs active on a single box using either physical interfaces (those little holes you can plug ethernet cables into ;)) or even on a single physical interface (called “virtual ips”).
What you’re asking is how to make BMS “bind” to all interfaces on your box, normally (on Linux) you tell a service to listen on “0.0.0.0” and it will automatically open its ports on all configured IP addresses.
Did you enter “0.0.0.0” when starting your BMS server?
Cheers, Uwe
BMS has no problem listening to multiple local and external clients simultaneously.
The issue is directing incoming UDP traffic to the right node.
If a client from IP (Fictional) 23.122.12.64 sends data destined for the server @ local 192.168.1.2, then how is the router supposed to direct traffic to your local client (eg. 192.168.1.15) coming from external clients?
You can’t have more than 1 UDP client behind the same IP unless they are using different ports, that is… if you want to be able to distinguish the server from the client behind the local router.
Only a VPN can encapsulate UDP traffic over TCP and then assign a unique tunnel port per local client so that data can flow in all directions without any conflicts.
-
Wow,I really appreciate ur answer which is helpful,Aphex.:-)
I know that you set up server for FO.And I want to know is it necessary to set up server for BMS and IVC through two independent hardware? -
And I want to know is it necessary to set up server for BMS and IVC through two independent hardware?
Technically no, but that would depend on how much server resources are free while running BMS and bandwidth available since BMS with many users can saturate some less than ideal connections.
-
Does this server have two physical interfaces and the two different providers are attached to them? Or do you have some kind of router/firewall/load balancer?
-
Does this server have two physical interfaces and the two different providers are attached to them? Or do you have some kind of router/firewall/load balancer?
As he said he rents a box somewhere so I think it might be a physical machine in a proper datacenter with “proper” official IP addresses on both interfaces. As Khronik has surmised if you host on 0.0.0.0 BMS should bind its ports on all IP addresses, so connecting to the bms server should be possible no matter what IP your clients use.
NATting usually only comes into play if you’re behind a home / personal type router that connects you to the internet, and even then should not be a problem as your clients from outside your private network can only connect to the official IP of your router assigned to you by your ISP at the time.
Cheers, Uwe
-
As he said he rents a box somewhere so I think it might be a physical machine in a proper datacenter with “proper” official IP addresses on both interfaces. As Khronik has surmised if you host on 0.0.0.0 BMS should bind its ports on all IP addresses, so connecting to the bms server should be possible no matter what IP your clients use.
Quick question: for a rented box in a proper datacenter with proper multiple official IP addresses as per the example above is it possible to host in parallel both 4.33 and 4.34?
Thanks in advance!
-
Quick question: for a rented box in a proper datacenter with proper multiple official IP addresses as per the example above is it possible to host in parallel both 4.33 and 4.34?
Thanks in advance!
Well since most servers crawl already with one game running I can’t imagine two, in particular keep in mind server shall be in 3D !
Keep in mind that FPS is very important for servers they must be as high as possible
Best is to place them far from any action and in hud view only
You can also remove all shaders to maximise fps
-
Sorry, I should have mentioned that it is not necessarily for hosting a TvT or Campaign in 3d. It is for the interim, running another instance of falcon (4.33) in lobby only for the clients that want to fly on ITO.