Link to home
Start Free TrialLog in
Avatar of DrDamnit
DrDamnitFlag for United States of America

asked on

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?
3-25-2010-5-49-51-PM.png
Avatar of Tintin
Tintin

There's nothing wrong with the config in terms of syntax.

Are you sure the netmask and gateway are correct?
Avatar of DrDamnit

ASKER

OK. I have a clue....

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

My static IP range is 74.95.153.41-45 (usable).

Any thoughts?
ASKER CERTIFIED SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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.