LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Setting linux to use router (https://www.linuxquestions.org/questions/linux-networking-3/setting-linux-to-use-router-58127/)

nigma 05-04-2003 07:22 PM

Setting linux to use router
 
Hey,

I have a linux machine that is connected to my router with an ethernet cable. Anyone tell me how to set linux to use the router?

I am running Red Hat 7.2.

Thanks for all help and / or advice provided, it is really apreciated.

Crashed_Again 05-04-2003 07:46 PM

Does your router assign IP addresses(DHCP)? You should be able to check the 'obtain IP address automatically' box if this is the case.

nigma 05-04-2003 08:03 PM

Where would I check that box? I think DHCP is enabled, but not sure, all computers connected to the router get an IP address like 192.168.x.x so if that is DHCP then yea. I have tried doing netconfig but that didn't work

Crashed_Again 05-04-2003 08:27 PM

You know I'm not 100% sure where it is in 7.2 but I can run:

neat

from a terminal to bring up the Network GUI. I'm not sure if thats what its called in 7.2 but give it a try.

nigma 05-04-2003 08:44 PM

I tried running neat, I will try again and look for that box. If that doesn't work I reply to this message and inform you on what happend? That okay?

Thanks so much your quick replies, I really apreciate the friendly help.

nigma 05-04-2003 09:16 PM

Thanks so much! I am sending this from linux!
Woohoo ;)

soothsayer 05-04-2003 11:59 PM

Just for additional info, if you go to /etc/sysconfig and then vi network, you can add a gateway

GATEWAY=192.168.X.X
The do a service network restart, this would enable the use of the router by the RH box.


All times are GMT -5. The time now is 05:16 AM.