Internet/lan-only lan working
I have reinstalled my fedora core 4 like toturial said on howtoforge. I get lan working with eth0 but internet is'nt working. I have router. Server's IP is 192.168.2.103 , my ip and the newtork is 192.168.2.1. How to configure eth0?
Do you have a dedicated router or is your server the router?
dedicated router, with 4 computers on it. hod do i know that internet is not working? yum update gave me that:
[root@localhost ~]# yum update
Setting up Update Process
Setting up repositories
Cannot find a valid baseurl for repo: updates-released
and i can ping only computers in my network.
and here is my eth0's config:
what's wrong with it?
thanx for your answers!
In your eth0 config the gateway is missing.
what do i add then?
Not shure how to do it in FC4 as i have currently Ubuntu installed.
Please post the output of:
If the default route does not point to your gateway, you can set the routing on the commandline with:
/sbin/route add -net 0.0.0.0 gw 18.104.22.168 eth0
where you have to replace 22.214.171.124 with the IP address of your gateway.
[root@localhost ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
/sbin/route add -net 0.0.0.0 gw 192.168.2.1 eth0
network restart.. still nothing :(
Ok, seems that your gateway is not set.
Do you have a file: /etc/sysconfig/network
and in the file the setting:
where you have to replace 126.96.36.199 with the internal IP address of your router (gateway).
i have set the file to:
still not working :(
got it now workin' with my ppoe gateway :D:confused:
thanks for all your help
|All times are GMT +2. The time now is 18:32.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.