View previous topic :: View next topic |
Author |
Message |
Johnyp Guru


Joined: 23 Mar 2005 Posts: 301
|
Posted: Sun Nov 09, 2008 12:10 am Post subject: Can't ping anything beyond local network |
|
|
Hi all,
I've got a gentoo machine on a public IP along side other machines in the same subnet.
I've configured /etc/resolv.conf with DNS server
/etc/init.d/net with IP, broadcast, net mask and default route.
I can ping machines on my local (but external network with public IPs), but i can't ping router or anything beyond it. I have another gentoo machine running with almost same config but on different IP and it connects without any issues to all internet resources.
I don't have firewall running on the machine that is having trouble - just bare install without any third party software yet.
Any ideas?
/etc/init.d/net
Code: |
config_eth0=( "xxx.xxx.xxx.77 netmask 255.255.255.224 brd xxx.xxx.xxx.95")
routes_eth0=("default via xxx.xxx.xxx.65") |
resolv.conf
Code: |
nameserver 68.6.16.25 |
I'm puzzled... _________________ Gentoo Unanswered Questions- Give it a try! |
|
Back to top |
|
 |
poly_poly-man Advocate


Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Nov 09, 2008 1:03 am Post subject: Re: Can't ping anything beyond local network |
|
|
Johnyp wrote: | but i can't ping router |
that's the part that troubles me...
how is all this connected, both hardware and conceptually-wise? _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7471
|
Posted: Sun Nov 09, 2008 1:17 am Post subject: Re: Can't ping anything beyond local network |
|
|
Johnyp wrote: |
Code: |
config_eth0=( "xxx.xxx.xxx.77 netmask 255.255.255.224 brd xxx.xxx.xxx.95")
routes_eth0=("default via xxx.xxx.xxx.65") |
resolv.conf
Code: |
nameserver 68.6.16.25 |
|
you're so secret
local network doesn't really mater, it's just standard, but hidding it, also hide you could have made a mistake by settings bad values
ex: eth0 as 192.168.1.77 and default via 192.168.0.65 is wrong, it should be 192.168.0.77 (or change router to match 192.168.0.65)...
It's also wise to use your dns you grab from your router (ie: set nameserver 192.168.1.65 (well your router IP), not vital just wise) |
|
Back to top |
|
 |
Johnyp Guru


Joined: 23 Mar 2005 Posts: 301
|
Posted: Sun Nov 09, 2008 3:59 pm Post subject: |
|
|
Poly-poly-man
Both machines are on a switch with other machines on the public network ( all public IPs). Not much in terms of network topology.
krin
I've edited the IP because my network is a set of servers with public IP addresses. I would rather not publisize them, specially while i'm still configuring networking on one of the servers. I've triple checked the network segments and IP entries to make sure i put them in correctly.
ALL
My second gentoo server that was installed a while back is working just fine with similar settings. It's networking settings are exactly the same except for the last digit in the IP address and it can ping anything on the internet that has ICMP allowed. But the new machine can only ping machines on the switch, but nothing beyond it.
Why can't it ping router but can ping other "local to it" machines on the switch? _________________ Gentoo Unanswered Questions- Give it a try! |
|
Back to top |
|
 |
poly_poly-man Advocate


Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Nov 09, 2008 4:14 pm Post subject: |
|
|
Johnyp wrote: | Poly-poly-man
Both machines are on a switch with other machines on the public network ( all public IPs). Not much in terms of network topology.
...
Why can't it ping router but can ping other "local to it" machines on the switch? |
this doesn't seem like a gentoo issue, more like a network issue.
So, let me get this straight...
you have an internet connection coming in... this hooks to a router. The other end of the router is hooked to a switch. A total of three computers (the two servers and the router) are hooked to the switch. This all uses ethernet.
True/false?
You can ping everything on the switch except the router. Can the other computers on the switch ping the router?
what kind of router is it? it would seem the the router is dropping your packets - do you have to set it up to allow the new computer? _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
 |
Johnyp Guru


Joined: 23 Mar 2005 Posts: 301
|
Posted: Sun Nov 09, 2008 8:04 pm Post subject: |
|
|
Yes,
You've got the setup right, only i have other machines on that switch besides the two gentoo boxes. There is a redhat mailserver, a couple of windows boxes too. Too me it seems that it must be an issue with the gentoo box, because other machines have no trouble with internet connectivity. I just don't understand why they can ping other machines on the switch but not anything else, since other machines are capable of reaching internet. Router is managed by AT&T data center - they don't do any filtering - they pass all traffic through to us (we are renting a cage at their NOC). _________________ Gentoo Unanswered Questions- Give it a try! |
|
Back to top |
|
 |
Spankin Partier n00b

Joined: 15 Jan 2007 Posts: 34
|
Posted: Sun Nov 09, 2008 8:41 pm Post subject: |
|
|
I had a faulty switch cause similar issues in my network. Two things to try, restart the switch, if that doesn't work, try connecting the 'faulty' Gentoo box into another port. If it starts to work, then invest in a new switch as the old one will keep on causing you grief. |
|
Back to top |
|
 |
|