I have been searching, and cannot find this issue.
I have attempted to set the /etc/dhcpcd.conf file for a static ip. I can get the ip and mask to report correctly when running an ifconfig; but, the gateway reports incorrectly.
When running the ifconfig, I receive:
inet addr: 10.10.12.15
Bcast: 10.10.**.255 -- This should be 10.10.**.254
Mask: 255.255.255.0
The section of the dhcpcd.conf I edited to set the ip address:
# Set static ip address
iface eth0
static ip_address=10.10.**.15/24
static routers=255.255.255.0
static domain_name=10.10.**.254
static domain_name_servers=10.10.**.*** 10.10.**.**
I am able to ping my gateway from the Rpi, and addresases on the same subnet. But, I cannot ping machines on other subnets, or get to the outside world. What do I need to do to get the gateway to report/function correctly on the pi?