09-05-2012 12:10 PM - edited 03-17-2019 11:44 PM
We have a C-Series C40 that doesn't want to accept the static IP we've assigned it. I've tried changing from DHCP to static and back and forth, sometimes rebooting between changes, but it doesn't want to use the static address we're trying to give it. We have another codec at the same location that I've copied all the network settings from (subnet and gateway), to make sure they were correct for this location. I've even tried to upgrade the codec (both TC5.1.3 and TC5.1.4) while in DHCP and then switch to static, reboot, however still the same results.
Any ideas, thanks.
Patrick
Solved! Go to Solution.
09-05-2012 01:08 PM
Hello,
do you have console access to the C40 to check things via root?
Can you check /var/log/console file for any error messages? Sometimes, when IP settings are incorrect the codec revers back to DHCP. Check for lines like this :
Bringing up interfaces
ethernet-speed: Speed set to auto for eth0
Maybe the /etc/init.d/S16network script detects issue?
It can print errors as follows :
echo "Static IP chosen, but no address set. Using DHCP."
Or other messages. Please check /var/log/console for errors...
09-05-2012 12:53 PM
Hi Patrick
Have you tried to factory default the unit and then try to configure it again?
xCommand SystemUnit FactoryReset Confirm: Yes
/Magnus
09-05-2012 12:58 PM
Yes, I have tried a factory reset, same results. It keeps the same DHCP address everytime.
09-05-2012 01:08 PM
Hello,
do you have console access to the C40 to check things via root?
Can you check /var/log/console file for any error messages? Sometimes, when IP settings are incorrect the codec revers back to DHCP. Check for lines like this :
Bringing up interfaces
ethernet-speed: Speed set to auto for eth0
Maybe the /etc/init.d/S16network script detects issue?
It can print errors as follows :
echo "Static IP chosen, but no address set. Using DHCP."
Or other messages. Please check /var/log/console for errors...
09-05-2012 01:30 PM
Thanks Danny! According to the logs the subnet was inncorrect and the codec refused to use the static address, so it reverted back to DHCP. Strange though, that the other codec at that location was using the same subnet that this one was trying to use, but was working.
Refusing to set inconsistent network settings IP address(*.*.76.137/25) and Gateway(*.*.76.1) is not on the same subnet!
09-05-2012 02:27 PM
Hi Patrick!
If your error message is correct, then the endpoint is also right.
*.*.76.137/25 allows hosts from *.*.76-129 - *.*.76.254 and *.*.76.1 is outside that range.
So maybe you have some typo or wrong info in one of the settings.
Maybe the other endpoint is configured correctly or double wrong, for exampe if you would
use /24 instead of /25 it would not show the error.
Please remember to rate helpful responses and identify
09-05-2012 02:33 PM
Just noticed I had a typo in my previous message, it's the gateway that was incorrect, not the subnet. The error message threw me off when I was typing.
Both codecs are using 135 and 137 addresses. So the other codec that was working under the .1 gateway was really in the wrong subnet. Our network admin didn't have an explanation to how it was working, it just was.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide