Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple Feature : Option to Change PCAP Settings (10.13.37.1/10.0.0.0/255.255.0.0) with an argument #148

Open
mathias-tavernier-roux opened this issue Mar 20, 2023 · 1 comment

Comments

@mathias-tavernier-roux
Copy link

mathias-tavernier-roux commented Mar 20, 2023

Hello, I open a github issue to propose adding an argument to lan play

the objective of this argument will be to change the parameters of the network targeted by PCAP (Currently 10.13.37.1/10.13.0.0/255.255.0.0) at the start of the application

for example with the following argument --ip-pool <SERVER_IP> <SUBNET_NET> <SUBNET_MASK>

why ask for such a function if the network currently in place works?

I can give 3 reasons

  • incompatibility of LAN communication in cross platform conditions (LAN Communication between PS4 and Xbox One)
    why put these consoles on a common network if they can't communicate ?

  • the instability of Wifi on consoles (and the possibility of playing only with players connected by Ethernet)

  • provide an ip pack Per Person / Account (X.Y.Y.Y)
    X being a unique identifier per type of console (Switch / PS4 ...)
    Y being the unique identifier per account (dedicated to a user)
    This would avoid ip conflicts.

by integrating this function, we can use an external script (.bat for example) to open several instances of Lan Play (for example two IP ranges per console)
ranges 1 to 127 for WiFI and Ethernet users who accept Wifi users
ranges 128 to 254 for Ethernet users who do not accept Wifi users

exemple for PS4
(imagining that the identifier dedicated to the switch is 10)
10.0.0.2-10.255.255.254: Wi-Fi / Ethernet
138.0.0.2-138.255.255.254: Ethernet Only

exemple for PS4
(imagining that the identifier dedicated to the PS4 is 11)
11.0.0.2-11.255.255.254: Wi-Fi / Ethernet
139.0.0.2-139.255.255.254: Ethernet Only

this would allow under these conditions to support (in a context where the subnet mask 255.0.0.0 is used

  • 127 consoles simultaneously and 254 if we remove the Wifi + Ethernet / Ethernet Only separation (I'll let you calculate the number of generations)
  • 16,776,960 recordable users (normally is 16,777,214 but i allocate 254 IP for another functionnality in my exemple
    allocating the range X.0.0.2 - X.0.0.255 (254 IP) to application servers
    this feature allow to use servers like Super Mario Odyssey Online on Lan Play
    (By Creating a Public Network Accessible to All or by creating a private game between friends using a private Lan Play server)

I hope that this function will be added because it will simplify even more the use of lan play (I tried to set it up but without success (Web development and machine development are so different)

thanks in advance

Mathias Tavernier-Roux

@mathias-tavernier-roux
Copy link
Author

thank you for reading my idea do you think this option (if accepted) will be complicated to implement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants