What's wrong with my ifconfig?

For some reason, I cannot get my static IP to work right. I had it working before, so I know the ip is good. If I turn on DHCP I get an IP and can get on the internet, so I know the hardware is good. Does anyone see what I am doing wrong with this config?
LVL 32
Who is Participating?
TintinConnect With a Mentor Commented:
What do you mean by fails?  Do you get any error messages?

When you change it to, can you ping  Just wondering if you have a duplicate IP.
There's nothing wrong with the config in terms of syntax.

Are you sure the netmask and gateway are correct?
DrDamnitAuthor Commented:
OK. I have a clue....

When I set it up for, it fails. If I change to, it succeeds (i can ping google).

My static IP range is (usable).

Any thoughts?
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

What about firewall - on your machine and on gateway?
You could post some more status.

ip route show
ip link show
ip addr show

and maybe
cat /etc/resolv.conf
DrDamnitAuthor Commented:
It wasn't so much a duplicate IP as an old firewall rule in our firewall. It used to be that there was a 1:1 NAT that forwarded to an internal address. The red interface was configured for multiple addresses, but later, the .44 address was removed from the interface, but the 1:1NAT rule was still in there. Deleted that, rebooted the firewall and all is well.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.