I am a complete Linux newbie, but we have quite a few spare Dedicated Machines available right now, so I decided to setup CentOS 6.2 on one of them and start getting more familiar with it. Obviously the first step after install is to configure the NIC, however I am having a lot of trouble getting it working.

I used the instructions from HERE and the IP Address block assigned to this machine is 64.79.102.104/29

Here are my settings, and I made sure to reset after making all of the changes. Is there something wrong with any of them I am missing?

2 Answers
2

Set that as your ifcfg-eth0. The Directive for the IP Address is actually "IPADDR". The GATEWAY should be defined in this config file, and BOOTPROTO set to none. Also remember that if you're using "quotes" after the = to keep them consistent across the config file.

Thank you! I set it exactly as instructed, removed the GATEWAY=x.x.x.x from "etc/sysconfig/network". I realized I was using eth0 but it should have been eth1. It seemed to start working (atleast delayed the errors) but still no luck. I think I have more issues than I realized though, so I will just accept this and keep tinkering.
– Aidan KnightMar 14 '12 at 13:29

Did you reset the network service after making the changes? I noticed you're using public IPs. Do you have a block allocated to you? And are the gateway/netmask settings correct?
– NcAMar 14 '12 at 13:31

Actually I just gave it one more shot using eth0 and it worked. The rest of our machines seem to be configured to use eth1, so I assumed this was what I should be using. Thank you!
– Aidan KnightMar 14 '12 at 13:33