LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to configure network (https://www.linuxquestions.org/questions/linux-networking-3/how-to-configure-network-165920/)

penny21 04-03-2004 11:26 PM

how to configure network
 
hi

I am using a 4 port SMC router. 1 port for my winxp, 1 port for redhat9 and 2 unused.

i have got the following under my /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
onBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet

when i type ifup eth0, it trys to determine IP info for eth0 but failed.

under my network configuration, the eth0 device is inactive but i cant activate it. No idea why also.

please help

charon79m 04-03-2004 11:36 PM

The first question is this...

Is there actualy a DHCP server on your network. It sounds to me like there is not.

MrKnisely

penny21 04-04-2004 01:07 AM

i used automatic obtain IP address settings with DHCP

i have no idea how this all works for linux.

acid_kewpie 04-04-2004 03:06 AM

it doesn't work "for linux" it works for an ethernet network... do you or do you not have a dhcp server on your computer network? if not then you will need a static IP address.

penny21 04-04-2004 03:31 AM

i suppose it is a dhcp server. den how do i do the rest of the configuration?

zowey 04-04-2004 08:29 AM

as first you must set one box to be dhcp server, one to be gateway etc. dhcp server must have static ip, gateway as well. other machines can have static ip but it's not necessary.

acid_kewpie 04-04-2004 09:01 AM

Quote:

Originally posted by penny21
i suppose it is a dhcp server. den how do i do the rest of the configuration?
you can't suppose anything. as i said you either have a dhcp server or you don't, and you need to KNOW that for a FACT.

charon79m 04-04-2004 02:19 PM

Let's start small....

Does your XP sytem get an IP address automatically? If so, what is it's IP address.

Next, can you please post the output of the command: dmesg

There will me LOTS of stuff, try to figure out the part that deals with Eth0. If you can't figure out what is important and what is not, just post it all and we'll take care of it.

Lastly, what network card do you have? Is it built into your motherboard or is it a seperate card. What is the maker/model of the card?

Thanks!

MrKnisely

penny21 04-06-2004 10:52 AM

hi

thanks for all the help!!! I managed to make it work only after re-installing linux on my system. Actuallie got another pc to configure for linux but really got no time for it so giving up on it.

thanks for the help again.


All times are GMT -5. The time now is 11:15 AM.