• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux Networking: Static IPs

I need to change the static IP in redhat. We changed locations and ISPs and I have the static IPs from the ISP written down with me.

I'm SSH'd into the server, logged in as root.

eth0 == LAN
eth1 == WAN

If I use "ifconfig eth1 address x.x.x.x" I get "address: Host name lookup failure."

If I use netconfig, I can run through adding the IP and the subnet mask. As soon as I tab to the gateway field to type something in, it instantly propagates the correct gateway and nameserver. However, when I hit OK and run ifconfig eth1 again, none of the settings change... for either of the two NICs 😕

Ideas?
 
bah...

I think in redhat, you modify the /etc/sysconfig/networking/ifcfg-ethX file to modify them. GUI is for wimps!

good to see you got it though.
 
bah, the broadcast address sits at .247 instead of .245. If I use the ifconfig line to change it, it changes but changes back to the incorrect setting at reboot. This system doesn't have an /etc/sysconfig directory 😕

wait nevermind 😱
 
Yup, found it. It's still not pingable and can't browse to it from the net. I can browse to localhost from the machine and the site loads just fine, but I forgot to try browsing internally to see if that loads. It's got a software firewall running to block connections from everything except a certain list and, since that list was built based on our previous ISP, that would explain why the server isn't responding on port 80 to any other machine because of the new ISP (everybody's coming from IP's outside the specific range).

I thought of this on the way home, though. I'll check it tomorrow.
 
Back
Top