Fedora Networking :: "ping Foo.local" But Not "ping Foo"?
Feb 5, 2009
I installed nss-mdns in Fedora Core 10 and can see all the Bonjour published hosts on the lan. However, I am always forced to append the .local domain when referring to a host:
I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.
But if I gave ping -I eth1 <IP> then I can ping.
I cannot install any package, so tell me solution which includes not installing any package.
I installed Fedora 12 on my laptop. I have a wireless connection to the internet that works fine, I attached an Ethernet cable from this laptop to a windows machine. There is a green light.
I can ping my localhost. I can ping the windows machine using it internal IP address via the router. However, the eth0 IP address does not work when I ping to it from the windows nachine. Also, I cannot ping to the windows machine using the IP address associated with the Ethernet connection.
I have connected xp and fedora through crossover cable . xp has ip address 192.168.0.1/24 (manually assigned) fedora has 192.168.0.2/24 with default route equal to 192.168.0.1
I can ping fedora from xp computer but i can't able to ping xp from fedora computer.
I have manully edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file with correct subnet mask and ip address because when i tried to give ip address manully in network manager the subnetmask is replaced with gateway address don't know why.
Now i want to share internet through crossover cable . xp is connected to internet through wireless usb adapeter.
I have two machines on this network, one running Ubuntu and the other running Fedora.
When I'm using the Wireless network on the Ubuntu machine, I cannot ping the Fedora machine. Everything else works. I can browse the net fine.
If I switch over to the Wired Network then I can ping the other machine.
I don't understand why ping doesn't work only over the Wireless. I can ping the router so I'm guessing it's getting blocked by the router but I didn't block ICMP traffic.
I tried asking on IRC and they ran out of ideas too to find out where the problem is.
I just installed my first EVER bind DNS server. I am running bind9 on Ubuntu 10.04. Everything seems to be working great except one thing: If I ping a host that I have set up in bind by its HOSTNAME the pings take 5-6 seconds to reply/print to the screen between each echo response. If I ping by the host's IP address, they echo back very quickly.
I have read that IPv6 can cause this, but I have disabled it in /etc/sysctl.conf and the problem still exists.
I know everyone says this can't be a DNS issue, but this never was an issue with dnsmasq (which i was using prior), and it doesn't make sense that the ping are ONLY slow when pinging by hostname and not IP.
Configs below:
Ping by hostname - there is a 5-6 second delay between each one of the responses:
Code:
Ping by IP - the responses come VERY quickly one after the other:
So, I have an Virtual Machine running CentOS 5.4. It sits behind a hardware firewall which also does NAT'ing. I've set up plenty of these, so I know for sure the firewall and NAT rules are set up correctly. From the host, I can ping anything in my subnet and the gateway. But I can't ping anything else beyond the gateway. I can perform DNS queries and when I try to ping, it finds the appropriate IP address.But from the outside, I can ping the PUBLIC address (It's a 1 public to 1 private address NAT, not 1 public to multiple private). I've tried it with IPTABLES on and off, with no change.
I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.
Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.
Last night I setup bind9 on my server. I created a local domain (name.local). The server's ip address is 192.168.1.254
The issue that I'm having is that with my ubuntu laptop, I can't ping the name of the server.
Code: user@prefect:~$ ping name.local ping: unknown host name.local But when I do the same ping from both the server and a XP computer, it will respond.
I can ping the laptop with it's name (prefect.name.local) from both the server and the xp computer.
ever since upgrading from karmic to lucid, i cannot ping fqdn hosts in .local tlds. nslookup & dig work, but most other utilities fail (ping, traceroute, etc...). i know .local is an invalid tld, but apple seems to have made it a defacto standard on private networks, so i'd imagine somebody else has seen this issue before... is there a simple fix that doesn't require managing hosts file entries on a bunch of systems?
So in an effort to increase the speed of my netbook, I removed Ubuntu and installed Lubuntu on it. When I tried to mount my samba share as I normally do, I noticed it wasn't able to connect - mount error(113): No route to host. Sensing something fishy, I attempted to ping the machine (both by name and by IP) - Destination Host Unreachable.The machine I'm trying to connect to is using Ubuntu 10.04 x64. I attempted to ping the other way and it was able to connect to the netbook just fine. When the netbook was using Ubuntu, it was connecting fine. My iptables check out ok, but here is the output of iptables -nvL:
Does lubuntu have some funky firewall built in to it that I can't find? (I've Googled for information on a Lubuntu default firewall and can't find any)
I recently set up an Ubuntu server computer (10.04) with the hostname 'morbo', and with a static IP address. With all my other ubuntu systems i can ping and ssh using their host names, like:
[code]...
i can't reach it via 'morbo.local' nor can i reach my other ubuntu systems from morbo by their hostnames. I have seen a 'quick and dirty' solution which might help here : [URL]... , but i don't want to have to add every system to morbo's list and morbo to every systems list, and because it works without manual configuration on all my other systems, i don't see why it shouldn't be possible here. Currently everything connects to one d-link router - does this mean it is the DNS server?
I try to ping with php : exec("ping -n 1 $ip",$output[],$retval); it works fine in window. but in linux i got this error : ping: icmp open socket: Operation not permitted are there any ways to solve this ?
This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.
I have a debian server installed with a static ip. Now i am able to ping my ip, but when i try to configure a domain name with the nameserver as my ip, i am not able to ping the domain name
I've setup two slackware in a Dell Inspiron 640m e in Acer Aspire One D150.
In my router the domain is "home", the two slack use wicd (dhcpcd backend) to connect. I can go in internet.
The problem is that in my router panel I can see the hostname (so dhcpcd send the right one) but they can't ping other machine in the lan (windows 2000, nas or other linux box).
Now I can't use a fixed ip (i change several networks with different routers).
I think I miss something that can ask to my router the hostname.
Anyway I was able to ping Dell.local and Acer.local with Ubuntu karmic.
I just configured vhost server in my linux server. When trying to access the open source (SugarCRM) application running on it, its giving me the error message that i am not connected to internet. I have restarted apache by no luck.
For some reason some command line commands are unable to resolve urls, whereas other commands work as they should. I have checked most setting but am unable to find out what is wrong and am no closer to figuring out what and why.
[root@subzero ~]# yum update Loaded plugins: refresh-packagekit [URL]: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')> Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again [root@subzero ~]# .....
My ISP (Insight if you know them) says I had open ports. OK I did! Shame on me! I'll blame my $15.00 router but I know it's my fault. OK took care of that.But when I run Shields Up from grc.com it keeps telling me it can ping (IMCP) me. I tried to get the firewall to stop, or drop the ping and it seems to on my local network, I can't ping my my boxes locally and I can't even ping my router. But Shields Up keeps telling me it can ping meAny one know how I can see what's sending the ping, or I guess they call it the pong, back to echo the ping?
I have been beating my brains out the last few days trying to get my linux box to ping my Pc's via the netbios name. (ping pc_name) I have read post after post with no luck at all. What i do know is that my pc's can ping the linux box via netbios name with no problem. Samba works from the pc's but not the other way around. I have added wins to my host in the nsswitch.conf fileMy smb.conf file:Quote:
global] workgroup = OFFICE server string = Samba Server Version %v
$ uname -rsmi Linux 2.6.33.8-149.fc13.i686.PAE i686 i386
I am using a dhcp network. Problem is I can SSH/ping to my machine but can't SSH/ping to my machine from the remote one(In internal network of my lab). What to do? I understand this is very little information....but I dont know what to provide.
Have installed fedora 14 on a HyperV virtual machine, have added a Legacy network adapter in the Hyper-V settings for this virtual machine that fedore pics up as eth0. I'm pretty sure this card is able to pick up an IP address from a DHCP server on our network but I'm unable to ping any boxes from this fedora virtual machine or ping the fedora machine from another box on the network. I have tried to disable the firewall and SELinux incase it was that stopping the pinging each way but that didn't help.
Not sure what iis going on, I can ping some hosts on the internet but not others see below (adobe is not the only example) Works OK from another host on the same network with same GW and DNS iptables is turned off
[root@havoc init.d]# ping www.arrl.org PING www.arrl.org (184.106.62.248) 56(84) bytes of data. 64 bytes from www.arrl.org (184.106.62.248): icmp_req=1 ttl=55 time=94.1 ms 64 bytes from www.arrl.org (184.106.62.248): icmp_req=2 ttl=55 time=93.0 ms 64 bytes from www.arrl.org (184.106.62.248): icmp_req=3 ttl=55 time=99.4 ms 64 bytes from www.arrl.org (184.106.62.248): icmp_req=4 ttl=55 time=96.8 ms
I have 4 installations of Fedora 14 running on a Win 2008 R2 server in Hyper-V.
When I try to ping my desktop or the host server via the hostname from within any of the Fedora installations, the ping fails. I can ping by IP without issue. Also if I try to ping the VMs from my desktop it fails. I have an XP VM setup that I can ping without issue via hostname and IP.
All of the VMs can access the Internet without issue. I have disabled all firewalls on all systems with no luck. My desktop can ping the Hyper-V server without issue so it would appear that the problem lies with the Fedora installations.
My resolv.conf
Code:
Does anyone have anything I can try to get the name resolution working?
I'm using FC10 on my box at work. It is behind an anthenticated proxy for internet connection. In Gnome, I configured the Network Proxy through the GUI, as my browsers too.
So I can browse internet pages, install packages thru Add/Remove Software GUI, but I cant do it in the command line, using yum install, for example. Then trying to figure it out, I saw that it cant reach the package mirrors. It isnt a DNS problem, I set the /etc/resolv.conf correctly, as the host command works correclty. I can ping the local pcs on the network too. Firewall is disabled. Below some simple tests:
[rtovo@davinci ~]$ ping mirrors.fedoraproject.org connect: Network is unreachable [rtovo@davinci ~]$ host mirrors.fedoraproject.org mirrors.fedoraproject.org is an alias for wildcard.fedoraproject.org.