LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-25-2001, 06:44 PM   #1
360
Member
 
Registered: Jun 2001
Distribution: FC4
Posts: 136

Rep: Reputation: 15
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
 
Old 08-28-2001, 02:45 AM   #2
360
Member
 
Registered: Jun 2001
Distribution: FC4
Posts: 136

Original Poster
Rep: Reputation: 15
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
 
Old 08-28-2001, 06:13 AM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Yup. Somehow you got your netmask (255.255.255.0) entered as your gateway address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network configuration works on one version of Knoppix but not another lord_nimula Linux - Networking 1 01-11-2005 04:59 AM
Network configuration with DHCP in Slackware 10 kernelvn Slackware 1 08-18-2004 06:52 AM
Trouble getting an IP address with DHCP Dec 12140 Nic. Works in Windows eww Linux - Networking 11 12-07-2003 06:48 PM
Help whith network manual configuration zokter Slackware 2 11-05-2003 04:22 AM
Network configuration DHCP/manual pe2338 Linux - Networking 1 08-14-2003 07:21 AM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration