Network Connectivity issue
I installed Fedora Linux 8.0, it has a realtek driver installed for network card. It is being given a static IP Address, I get ping response when pinging it's own IP Address. But cannot ping the gateway, therefore no connectivity to network. Same PC has WindowsXP with same IP Address and same network card working. I tried ifconfig eth0 down and up, ifconfig show that it has IP address. Cannot figure out what to do next for connectivity.
I tried this same process with Fedora 7.0 and Ubuntu, same results. Pleasse help... |
Check your firewall settings.
|
I have disabled Firewall to trouble shoot this issue, also SELinux is set to permissive
|
Have you added the ip/hostname(s) to your /etc/hosts file?
|
No have not added anything in host files
|
Try adding one (or all) and see if it works.
|
added ip address to hosts file in /etc, still no connectivty
the line I added is 192.168.0.1 is there anything else needed? |
I stopped and restarted the network service, and got message " Error adding 192.168.0.12 for eth0" where 192.168.0.12 is my IP Address
|
If you have more than one machine on your network, can any of them ping your fedora box?
|
Driver is Realtek RTL-8139/8139C/8139C+
|
No, other PC cannot ping this one, when I try to ping a gateway from this problem computer, I get message of Host unreachable, if that helps
|
Can you post the output of ifconfig to this thread? Also your /etc/hosts file content.
|
[root@localhost etc]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:CA:3C:21:7A inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::240:caff:fe3c:217a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:18 Base address:0xa000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:4683 errors:0 dropped:0 overruns:0 frame:0 TX packets:4683 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3595868 (3.4 MiB) TX bytes:3595868 (3.4 MiB) [root@localhost etc]# more hosts # Do not remove the following line, or various programs # that require network functionality will fail. 192.168.0.1 127.0.0.1 localhost.localdomain localhost nssinc ::1 localhost.localdomain localhost nssinc [root@localhost etc]# |
Can you locate your ifcfg-eth0 file and post its contents.
I'm not sure if it makes any difference, but the highlighted line should appear on a separate line after your local 127.0.0.1 address. Quote:
|
This is the output of ifcfg-eth0
#Realtek Semiconductor Co., Ltd RTL-8139/8139C/8139C+ DEVICE-eth0 BOOTPROTO=none HWADDR=00:40:CA:3C:21:7A ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.0.12 GATEWAY=192.168.0.1 TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes MTU=1500 [root@localhost devices]# |
All times are GMT -5. The time now is 06:31 PM. |