Joined: 07/04/2019(UTC) Posts: 11 Location: Antwerp
|
Hello,
I ran into an issue with my cs2 ( haven't tested this on my cs3+ yet)
i put in a MANUAL ip address for example 192.168.12.4
it works ( offcourse), however, when i restart the system, or when i power it up again, it is for example at 192.168.12.5.
so i am a bit confused, i am a network admin, when you put fixed ip address, it should be fixed, unless the ip stack is fooling around with me.
anyone suggestion? or anyone experienced the same ?bug?
kind regards
|
|
|
|
Joined: 30/08/2002(UTC) Posts: 1,288
|
You should log on to your router. It should be possible to limit the DHCP range of IP addresses in the router. The DHCP address range is the range of IP addresses that the DHCP server can assign to network devices. IP addresses outside of the DHCP address range are reserved for statically addressed computers.
e.g.:
From 192.168.0.1 To 192.168.0.50
If you set the address of the CS2 to e.g. 192.168.0.51, it should then be static.
|
|
|
|
|
Joined: 07/04/2019(UTC) Posts: 11 Location: Antwerp
|
Hello,
Is that a new implementation of tcp?
when i set a static ip address, it does not ask for dhcp address 'normally', unless marklin's implementation is a new interpretation....
|
|
|
|
Joined: 04/04/2013(UTC) Posts: 1,291 Location: Port Moody, BC
|
I have the same problem. I have set up my IP address as a manual fixed address. However, after any CS2 update or CS2 crash the IP address as well as the DNS Server address change. Under normal operation you would not know, but since I use Rocrail I can always tell due to the lack of communication.
Normal shutdowns or reboots do not change the address, only the updates and crashes. It appears that the addresses it changes to are always the same so I wonder where it is getting them from.
Peter
|
|
|
|
Joined: 07/04/2019(UTC) Posts: 11 Location: Antwerp
|
Hello Peter,
It is not that it crashed, i do normal shutdown.
i have the feeling that it is somewhere a cache in the eth setting, since it is a linux system.
I have to verify my cs3+ if it has the same issue. I just found out the problem, since i am developing a program to mange my trains, and when i start i see a message ( i throw) that he cannot connect, then i know i have to change the ip address in my settings file and it works again... until the next day when i develop further, same shit. How hard can it be when you put fixed ip address it stays fixed, it is basic network implementation.
koen
|
|
|
|
Joined: 04/04/2013(UTC) Posts: 1,291 Location: Port Moody, BC
|
I do not think I have had it change after a normal shutdown, but perhaps it has. I will need to keep an eye on it. The most common occurrence is after a CS2 update over the network rather than using a USB.
|
|
|
|
Joined: 30/08/2002(UTC) Posts: 1,288
|
Originally Posted by: Defke  Is that a new implementation of tcp?
Setting static adresses out of the DHCP range is a general recommended procedure since long... |
|
 1 user liked this useful post by PeFu
|
|
|
Joined: 12/12/2005(UTC) Posts: 2,448 Location: Wellington, New_Zealand
|
Originally Posted by: Defke  Is that a new implementation of tcp?
when i set a static ip address, it does not ask for dhcp address 'normally', unless marklin's implementation is a new interpretation.... It is the IP part of TCP/IP not strictly the TCP part. It may not "ask for an address" initially but it will have to cope with a contending address on the network when it tries to open the port and finds someone is using the address already. The reactive behavior (of the CS driver) in this case might very well be to revert to DHCP. As already mentioned, a prerequisite for setting a Static IP address is to know for sure that no-one else is using that address now or is likely to in the future. This implies being aware of the address range that is being managed by any DHCP service(s) on the accessible network that they might grant to other new devices as they come along. |
Peter
|
 2 users liked this useful post by clapcott
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.