DHCP works / Trouble w/manual network configuration.
Running RH7.1
Network: Cable Modem with static ip, 24.###.67.218, running straight out of modem into NIC. My modem connection is ok. I was able to connect to the Internet with DHCP with no problem. I have tried over and over to manually configure the network without success. What am I missing? Before I print what I have configured, I assume I will have to get a router if I want to add another box with its own ip? Ok, here is what I configured based on what my ISP gave me. I put "###" in place of the real numbers. What am I missing? /etc/sysconfig/network NETWOKING=yes HOSTNAME=localhost.localdomain GATEWAY=255.255.255.0 GATEWAYDEV=eth0 /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ONBOOT=yes BOOTPRO=static IPADDR=24.###.67.218 NETMASK=255.255.255.0 GATEWAY=24.###.67.1 /etc/hosts 127.0.0.1 beckweb localhost.localdomain localhost 24.###.67.218 ns1.360hosting.com #I have not propagated this through INIC yet 24.###.67.218 www mail 24.###.67.218 loghost /etc/resolv.conf nameserver 216.###.208.76 #this is one of my other nameserves search beckweb #beckweb is the name of this server Thanks, 360 |
I found the problem:
/etc/sysconfig/network NETWOKING=yes HOSTNAME=localhost.localdomain GATEWAY=255.255.255.0 GATEWAYDEV=eth0 # GATEWAY was wrong. Should be GATEWAY=24.###.67.1 |
Yup. Somehow you got your netmask (255.255.255.0) entered as your gateway address.
|
All times are GMT -5. The time now is 12:40 PM. |