Solved [Solved] How to have a permanent multiplayer connection?
-
Hi there,
just a little question about configuration in multiplayer.
It often happens that when I open W10 my IP has changed from the one I had set on the router. This problem won’t allow me to host a BMS session. In the router, under the Host lan entry, there is my ip address that I have set and I was wondering if instead of that it is possible to put only 4 zeros (0.0.0.0) without having to set a fixed IP.
Am I right?Thanks
-
Well, after all advices I have solved the issue.
- I have set my local IP on DHCP server on the router
- The same local IP was also set in port forwarding
- testing with some friend with IVC in Multiplayer, it seems working fine.
Thanks
PS
any other suggestion is well accepted. -
@tdr I’m slightly confused by your question -
By IP address, do you mean the local IP (ie your NATed IP on your own network, eg 192.168.1.xxx), or the IP address of your router, ie how the internet talks to you?
If it’s the former, then you’re best off fixing your ip either by configuring it as a static ip in windows or by telling your router to give you the same IP every time you DHCP. often called a dhcp reservation. If you do the first option, be aware that you need to check your router config to make sure it won’t give out your ip to other devices.
-
@tdr to rephrase rubbra’s question – are you flying MP with people in your house… or people on the internet?
assuming internet … it’s usually fine that your internal-facing IP (192.168.xx.yy) rotates.
you need to setup port-forwarding on your router, so that BMS connections to your external-facing IP address are routed to your PC… if your router sucks, you may have to redo this from time to time. but most will “remember” which physical PC you configured, and route appropriately even if its internal IP changes.
https://www.youtube.com/results?search_query=router+port+forwarding
-
@rubbra
Thanks for your answer and yes I mean mylocal IP, but reading what you have written " or by telling your router to give you the same IP every time you DHCP often called a dhcp reservation". For instance right now my local IP is 192.168.1.50 and in my router the port forwarding for BMS is different like this 192.168.1.10. So how can I do as you have written? Checking my router I dont find any possibility as you have pointed. -
@airtex2019
Yes I was talking about my local IP -
@airtex2019 said in How to have a permanent multiplayer connection?:
if your router sucks, you may have to redo this from time to time. but most will “remember” which physical PC
sounds like your router sucks (by my definition)
ofc it’s easy to say “buy a better router” but it’s hard to actually shop for one that does better, in this regard…
-
I do this for my home net for devices inside of/on my LAN - you have to turn DHCP off, and set a table of fixed IP addresses for each device, set in accord with the MAC address of each device. The only unit you should allow to connect using DHCP is your WAN connection to your router…
A pain to set up to be sure, but once you’ve done it, it’s done. How you do it will depend on your router.
-
Well, after all advices I have solved the issue.
- I have set my local IP on DHCP server on the router
- The same local IP was also set in port forwarding
- testing with some friend with IVC in Multiplayer, it seems working fine.
Thanks
PS
any other suggestion is well accepted. -
You may also consider assigning a fixed IP to your PC and disabling DHCP altogether on the client side of things (your gaming PC).
Just make sure you assign / configure a static IP from an address range that your router won’t use for DHCP, then you can use the static internal IP address of your client PC for the port forwarding rules in the router as well.
Cheers, Uwe
-
What you could also do is if you dont want to turn off DHCP, is that you set the lease time longer at the router
You can check your Lease time under Windows with ipconfig /all
Usually its set to 86400 sec which means 1 day at the router
-
@hoover said in [Solved] How to have a permanent multiplayer connection?:
You may also consider assigning a fixed IP to your PC and disabling DHCP altogether on the client side of things (your gaming PC).
No need today, on “some” routers (home, cheap) you can set ‘preferred IP address’ (based on MAC or computer name) for lan machine, so dhcp stays on for eg. wlan , but machines preset in virtu-static ip pool will always get preferred ip.
Cheers
-
MaxWaldorf
-
@white_fang said in [Solved] How to have a permanent multiplayer connection?:
@hoover said in [Solved] How to have a permanent multiplayer connection?:
You may also consider assigning a fixed IP to your PC and disabling DHCP altogether on the client side of things (your gaming PC).
No need today, on “some” routers (home, cheap) you can set ‘preferred IP address’ (based on MAC or computer name) for lan machine, so dhcp stays on for eg. wlan , but machines preset in virtu-static ip pool will always get preferred ip.
Cheers
I did this: Local IP and MAC computer name.