LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2014, 12:12 PM   #1
linuxmat168
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
Cannot ping to gateway


Hi all,

I set up a Fedora machine with 2 network cards. One connect to a local area network and one connect to internet.

I can ping to all the machines in the local area network but I cannot ping to the gateway and internet from this new Fedora machine.

I have tried to stop the firewall and still failed to ping to gateway.
Any help is much appreciated.

internal ip: 10.0.0.10
external ip: 66.xxx.xxx.87
gateway ip: 66.xxx.xxx.81

[root@server ~]# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 79 bytes 7996 (7.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 79 bytes 7996 (7.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

p2p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 66.xxx.xxx.87 netmask 255.255.255.240 broadcast 66.xxx.xxx.95
ether 78:54:2e:20:bb:b0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 94 overruns 0 carrier 0 collisions 0

p4p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.10 netmask 255.255.255.0 broadcast 10.0.0.255
ether 94:de:80:c3:8a:74 txqueuelen 1000 (Ethernet)
RX packets 2020 bytes 384579 (375.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 330 bytes 41719 (40.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


[root@server ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 66.xxx.xxx.81 0.0.0.0 UG 0 0 0 p2p1
10.0.0.0 * 255.255.255.0 U 0 0 0 p4p1
66.xxx.xxx.80 * 255.255.255.240 U 0 0 0 p2p1


[root@server ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
Old 01-10-2014, 01:43 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 536

Rep: Reputation: 71
Your gateway machine can't ping some Internet address?

What device is providing Internet access? Can you ping something on the Internet from that device?
 
Old 01-10-2014, 02:13 PM   #3
linuxmat168
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Provider provided a incoming network cable which connected to our network switch. The gateway device is not on our end. It is on provider's end. The provider operates their own network.

There is another Linux machine connected to this switch. There is no problem for this machine to access internet and ping to gateway IP.

The new set up Fedora machine which also connects to the same switch had problem to ping to the same gateway IP address
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't ping gateway seamore Linux - Networking 7 01-26-2013 11:56 AM
Can't Ping past gateway. Can ping server from outside ugolee Linux - Networking 11 05-01-2010 11:35 PM
Can't Ping Gateway jr8rdt Linux - Networking 1 04-04-2007 10:15 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 10:54 AM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration