LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   configuring machine for internet access (https://www.linuxquestions.org/questions/linux-networking-3/configuring-machine-for-internet-access-274222/)

duenasg 01-05-2005 12:44 PM

configuring machine for internet access
 
I have installed a nic card on my computer and I would like to access the internet. I have setup the address I want 192.168.1.1 in ifconfig and when I type route -n the gateway is 192.168.1.254 but when I ping this address is gives me an error "Destination Host Unreachable". What Am I missing. Can anyone assist me. Thanks in advance. Jerry

zajaco0 01-05-2005 01:42 PM

first try

# /etc/init.d/network restart



it sounds to me like your 192.168.1.1 address should be the ip address of your gateway, ie router. This is one default router ip address that I know of. I guess 192.168.1.254 could be a gateway address also.

post output to the following commands:

ifconfig and
"dmesg | grep eth"

Are you running FC3?? if so you can just type "system-config-network" to reconfigure your network interfaces.

~Zach

michaelk 01-05-2005 01:43 PM

Need some additional info. Are you just connecting to an existing LAN or is this your home network? What does the network hardware consist of?

duenasg 01-05-2005 02:00 PM

after I ran the dmesg | grep eth, I got no IPv6 Rouers present. This computer is to setup a home LAN and after I shutdown the network interface I restarted and ping to the gateway and it doesn't reach it.

duenasg 01-06-2005 08:34 AM

I have changed the ip address from 192.168.1.1 to 192.168.1.10 and the gateway address to 192.168.1.1 and still have the same problem, it tells me that the address I am pinging is unreachable, even though the address is the one to the gateway.

zajaco0 01-06-2005 01:51 PM

For us to be of any assistance, you're going to have to tell us the structure of your network. I assume you have a router set up in you home. What is the ip address of that? That will be the ip address of your gateway.

duenasg 01-06-2005 02:00 PM

the machine that i have is a dual pentium with a nic 2000 card. I want to access the internet using a dsl modem. One time when I had red hat 8.0 i somewhat got it to run for at least couple of months but i don't remember what i did then. I decided to upgrade to fedora 3 but i can not remember how to get eth0 to read the ip address for the gateway. i get it to accept 192.168.1.10 as the address and the the gateway address i am setting up is 192.168.1.1. I checked the route -n and it tells me that the default gateway is 192.168.1.1 on eth0 which i believe is how i would get to go out but no result. I cannot connect other computers to that one yet because they are windows based and i have not setup samba. Thank you for your assistance


All times are GMT -5. The time now is 01:49 AM.