LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05: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, 01: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, 05: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



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 03:59 AM
Network configuration with DHCP in Slackware 10 kernelvn Slackware 1 08-18-2004 05:52 AM
Trouble getting an IP address with DHCP Dec 12140 Nic. Works in Windows eww Linux - Networking 11 12-07-2003 05:48 PM
Help whith network manual configuration zokter Slackware 2 11-05-2003 03:22 AM
Network configuration DHCP/manual pe2338 Linux - Networking 1 08-14-2003 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:42 PM.

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
Open Source Consulting | Domain Registration