Ubuntu Networking :: Possible To Use Avahi To Resolve Hostnames Across Gateway
Nov 26, 2010
I am wondering if it is possible to use avahi to resolve hostnames across a gateway. With gateway I mean a linux box with ip_forward'ing enabled to pass traffic between interfaces. The gateway connects two networks with all hosts running Ubuntu and specifically avahi-daemon. The gateway is not running avahi and I am not able to install it there. The firewall configuration on the gateway is not blocking any traffic between the networks. I am able to send UDP packets from a host on one network to a host on the other.
When I run tcpdump on a host and try to ping that host.local from a machine on the other network I see no traffic. This means that the gateway is not passing the multicast traffic along. Is there any special setup required on the gateway to allow this?
View 2 Replies
ADVERTISEMENT
Jun 28, 2010
(although I'm running Solaris, I've posted here as I expect Solaris/LINUX is irrelevant) - more of a general network Q.I have a PC running Solaris 10 (hostname MARKUNIX) and a laptop running WinXP (hostname MARK-LAPTOP). Both are connected to broadband via a router. IP addresses for each are determined via DHCP (192.168.1.nn) and I do not leave either on, 24x7. I am running Oracle on MARKUNIX and want to be able to refer to it by hostname when using Oracle tools on my laptop.Each machine can ping each other ok by ip address and curiously the Solaris PC can ping MARK-LAPTOP (I'm not sure how it resolves that?) - importantly the laptop cannot ping MARKUNIX.Now I could add MARKUNIX to my laptops hosts file but that would mean changing the file each time I boot up as the ip address for MARKUNIX will keep changing (DHCP).
Is there a way to refer to MARKUNIX without having to keep changing ip addresses and use DHCP? As I understand it the 192.168 address is private and is not really the 'real' ip address and as such can be manipulated(fixed?) even whilst using DHCP?Am I right in thinking that a static ip from my broadband supplier is the ip of my connection (router) and I'll still have the same private network referencing issues?What I've covered above pretty much is the extent of my knowledge of networking so bear that in mind please.
View 4 Replies
View Related
May 21, 2010
How do we configure to resolve for hostnames when an IP address is provided to the DNS server.
Things I tried
The DNS daemon was started by the resolution failed. Find the logs below
** server can't find 11.127.168.192.in-addr.arpa: NXDOMAIN
View 4 Replies
View Related
May 10, 2010
I am working behind an ISA Server proxy in a windows network. I have an Ubuntu 10.04 without have it added to windows active directory domain.I have configured Ubuntu network proxy, and everything works fine ..but:I can't ping, host, nslookup & most important I can't wget (wget: unable to resolve host address) from the terminal. I have read lots of forums and I tried to resolve the issue but I failed.Also before I had in the same network Ubuntu 9.04 (in another pc) and wget was working fine.
View 3 Replies
View Related
Jun 24, 2011
I recently assembled a new computer with both Windows 7 boot and Ubuntu 11.04 boot.For some reason, I can not resolve domain names at all on in Ubuntu while Windows 7 works just fine. I'm wondering if I have improperly configured my network settings. I am trying to configure this machine to have a static IP on my network of 192.168.1.3..The machine definitely has its network card installed properly and in Ubuntu I can access numeric ip addresses anywhere via browser or ssh.When I type in "google.com" in a browser I get an instant 'server not found' error page.
Anything that is described in my hosts file seems to work just fine. I can ping my router which has a LAN IP of 192.168.1.1 just fine with no packet loss.Also, I am unable to access this machine via ssh from any other machine on the network.
View 14 Replies
View Related
Jul 14, 2010
How do you get linux to resolve local hostnames without DNS?
I've recently migrated from a fully windows home network, to a few linux machines and im unable to ping any local machines with hostname via these linux machines. i can ping IP and internet hostnames. also, windows > anything pings ok too. however linux > anything will not ping via hostname.
I beleive it's an additional service running on windows to resolve hostnames without DNS (wins/netbios).
DNS is done via a netgear DG834 router (DNS forwarding).
I know i could either use direct IP, or add machines into the hosts file, but im wondering if theres some way around that and to have it dynamically update like it does on the windows machines. static mappings seem a bit silly inside DHCP zones
I've seen some reports of avahi causing local network issues (taking over the .local domain), but i think this only extends to having to manually enter in .local after the hostname and even after removing avahi, the problem is still present.
View 9 Replies
View Related
Jul 22, 2010
I cannot ping any hostnames on our LAN /etc/resolv.conf has both name servers configured correctly. I can ping the IP, but can't ping the hostname. I know it's something really simple, just can't put my finger on it.
View 9 Replies
View Related
Jun 24, 2010
Every time I do a fresh install, there are a number of manual config things to change. One of them is to modify /etc/hosts to add the local IP addresses to a computer name.Can this be done via the Ubuntu networking somehow ? It would be nice not to have to change some of these config files.
View 4 Replies
View Related
Nov 3, 2010
I have recently installed Ubuntu 10.10 and using it on a Windows Network.
I cannot ping any localhosts on the network using computer name but can ping using the IP Address.
I can ping the hosts via hostname from a windows machine fine, just not from Ubuntu
I can ping external websites using hostname like [URL]
My resolve.conf file is as follows.
# Generated by NetworkManager
nameserver 192.168.95.253
nameserver 192.168.95.234
View 1 Replies
View Related
Mar 16, 2010
I have a ubuntu server running which acts as a firewall/dhcp router for sharing internet to all computers on the network. On the network i have my stationary computer (win7) and my laptop (macbook).The server has 3 nics installed.ETH2 for internet. ETH1 (192.168.1.2) for windows pc. ETH0 for macbook (192.168.2.2).I can share files no problems over the network. Between windows <-> server, macbook <-> server, windows <-> macbook.The problem i'm experiencing is that i can't seem to find either hostnames between windows and macbook. They connect to each other fine with the right ip addresses, but they can't seem to connect when using computer names.
On both the macbook and windows pc i can see the server and connect to it without using the ip adress.What can i do to make them see each other with their computer names? Is there anything i can install on the server and configure in order for it to work automatically?In osx you have a tab in the finder that says "shared" which shows the computers on the network and only my server pops up.The same in windows, i can only see the server but not the macbook.As said, it works perfectly fine if i use \192.168.2.2 (or smb://192.168.1.2 on the macbook) but i'd rather be able to connect via the computer names.Would also love if they could resolve automatically so when a friend connects to the network i'll see his computer name right from the start, without any re-configuration.
View 9 Replies
View Related
Jul 8, 2010
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?
View 9 Replies
View Related
Jul 25, 2010
I have a few ubuntu machines in my house, 1 mythtv backend server with other services as well, 2 mythbuntu frontends boxes hooked up to tv's etc. I wanted to push the audio from my laptop out over pulseaudio to the machine connected to the AV equipment.
I could not see any other pulseaudio sinks in padevchooser... this lead me down the road to investigating avahi.
When I run avahi-browse on my laptop (hydrogen) it only returns the services published from itself:
Code:
$ avahi-browse -ta
+ wlan0 IPv4 byron's remote desktop on hydrogen VNC Remote Access local
+ wlan0 IPv4 hydrogen [00:1b:77:71:97:76] Workstation
[Code]....
My laptop has vmware on it, and I've changed the vmnet intefaces to not support multicast so avahi ignores them. but I'm still at a loss to why my laptop can't see the other machines on my network with avahi (mdns).
View 1 Replies
View Related
Sep 6, 2010
why my new Ubuntu 10.04 computer won't automatically advertise afp thru avahi to the network? This is a new install of Ubuntu 10.04, I downloaded and installed newest version of Netatalk, and the Avahi daemon. Both installed with no issues. (I followed instructions from articles on here) I can manually login to Ubuntu afp share from my iMac, by going to "Go to Server" and typing in the ip 10.0.1.3 and putting in the Ubuntu username and password. I just can't get it to advertise or broadcast itself to the network like it is supposed to using netatalk and avahi. I've followed all of the tutorials I can find on this, but nothing works. Even if I issue the command to restart avahi daemon, Ubuntu still isn't seen in the iMac's finder window? Because I can manually login to it, I am assuming that netatalk is working properly. I've even tried to issue the command to restart netatalk first, then restart avahi, but still nothing?
View 2 Replies
View Related
May 5, 2011
I've got problem with Avahi on my laptop. It can see the other machines and services on the LAN but not it's own local services and I have no idea why. The laptop (hostname: forseti) sports Ubuntu 10.10, installed aavahi-daemon, avahi-dnsconfd and libapache2-mod-dnssd. Firewall is disabled. Other hosts on the LAN are: magni (openSuSE 11.4 with lots of services published and visible from forseti) and freya (Ubuntu 10.10 with gnome-user-share up & running). Forseti can see the other hosts and their services but not itself. The other hosts can't see forseti. Checked both with nautilus and CLI's avahi-browse.
View 1 Replies
View Related
Jan 25, 2010
Since I've updated to 9.10 my avahi-daemon sometimes won't start at boot.I've to "restart" it manually.I reinstalled it without success.Has anyone here the same problem? Or a useful solution?
View 1 Replies
View Related
May 5, 2010
I got a new X201 which is running Ubuntu 10.04. While at home, everything is fine, at work, I encounter some issues with wireless. the signal cuts in and out repeatedly.Here's the output of ping. I set it to ping a server every 90 seconds, 10 times. So this is a snapshot of 15 minutes of network activity...
Code:
PING (REDACTED) bytes of data.
64 bytes from (REDACTED): icmp_seq=1 ttl=252 time=1.50 ms
64 bytes from (REDACTED): icmp_seq=2 ttl=252 time=2.13 ms
64 bytes from (REDACTED): icmp_seq=3 ttl=252 time=1.38 ms
[code]....
Also I tried this (from a 2 year old thread which was most relevant solution I could find):
Code:
Changing AVAHI_DAEMON_DETECT_LOCAL=1 to AVAHI_DAEMON_DETECT_LOCAL=0 in /etc/default/avahi-daemon has got rid of the irritating pop-up. Basically, every 5 minutes or so, for a solid 60 seconds or so I get no signal. I've tried updating the kernel, and doing apt-get remove avant-daemon, but still have problems.
View 1 Replies
View Related
Mar 9, 2011
I am sharing some folders from my Ubuntu machine, using Netatalk and Avahi, over my network.I access these folders from my Mac using the AFP protocol.When all is well, my Ubuntu folders show up in Finder on the Mac and I can connect to them.But at random intervals, the Ubuntu folders will disappear. Sometimes they reappear a short while later.At other times, they wont appear until I go to my Ubuntu machine, and re-save (even if i don't change anything) the file:/etc/avahi/services/afpd.service.
View 3 Replies
View Related
Jul 24, 2011
I have a laptop with Ubuntu 11.04. Failed to connect my home wireless network, which is composed of a modem and a Netgear router.
ifconfig showing:
wlan0 Link encap:Ethernet HWaddr 00:24:d6:07:2b:a2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:30238 errors:0 dropped:0 overruns:0 frame:0
TX packets:24005 errors:0 dropped:0 overruns:0 carrier:0
[Code]....
I do not quite understand how the virtual interface wlan0:avahi appeared. My guess was, my request "sudo dhclient wlan0" failed to get a valid ip, although I did not get any error message from running that command. I executed "sudo dhclient wlan0" again, but still no error message or network connection.
Later today, I tried to connect to a public wireless network. Still got the same error. But when I reboot my machine, no such problems.
View 5 Replies
View Related
Jun 19, 2010
In a previous thread I had detailed an issue I was having with avahi not firing up properly at startup.As a bit of background: the services available on the server aren't advertising until I restart the avahi-daemon manually after startup - The syslog shows the daemon starting on boot, but it never seems to access the service file.I was wondering if it is possible that this may be a file permission problem?
View 1 Replies
View Related
May 13, 2010
I have recently installed netatalk and avahi-daemon on my lucid server but, much to my chagrin, I have to run
Code:
restart avahi-daemon every time I boot to get the service to advertise.
both avahi-daemon and netatalk have been added to the appropriate runlevels.
View 9 Replies
View Related
Nov 23, 2010
Two machines:
fedora.local = F14 default
mingisapsycho.local = Mac OS X 10.6.4
I want to be able to ssh/scp between these two machines using:
ssh -l login fedora.local
and
ssh -l login mingisapsycho.local
rather than using IP addresses. Neither of these works, from either of the two machines. This does work between Mac OS machines. And I can ssh if I use IPs. So it seems that by default Avahi is not configured even though it is running? I really don't understand. By "does not work" I mean I get on both machines: ssh: Could not resolve hostname blah.local: Name or service not known
View 6 Replies
View Related
Jul 8, 2011
F15 current
avahi-daemon installed
nss-mdns installed
firewall totally disabled (for now while testing)
connected to network wirelessly
For perhaps 5 minutes I can either ssh into or from the F15 computer using:
ssh chris@macbook2.local
OR
ssh chris@f15.local
Works fine, no problems. And then in about five minutes it work resolve in either direction: ssh: Could not resolve hostname f15.local: nodename nor servname provided, or not known
I can still ssh in using an IP address. So I do:
[chris@f15 ~]$ service avahi-daemon status
avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service)
[code]....
*sigh* No that's not it. I just found no mDNS service in or out of the computer 3 minutes 26 seconds after restarting it, no additional items in messages.
View 3 Replies
View Related
Aug 13, 2010
I'm curious; for a current project a server has 4 network interfaces (eth0 and eth2 are in a bonded pair using the bonding module, and then eth1 is being used for management, while eth3 is currently unused but may be utilized for iscsi in the future).
We need to configure two different hostnames, one for the bonded pair (bond0) and one for eth1. Now I have been googling around to try and figure out how the heck this is done but I can't find much of anything. In some methods it mentions using the hostname command, however this isn't persistant after reboot.
Another mentions just editing the /etc/hosts file but I thought that was only used locally? Both bond0 and eth1 will be on separate VLANs with different DNS servers, so it needs to end up with two different FQDN's
View 1 Replies
View Related
Oct 11, 2010
Quote:
Originally Posted by uselpa Why do you absolutely want to remove it? There is no good reason for Avahi-daemon to be automatically installed on a server that is setup up with a static ip address. Also, I would like to someone to explain the loqic in having such a service on a server running an Oracle Database.
All of the servers I manage run a bare minimum footprint. Unnecessary services waste server resources and they are potential security risks if not updated.This is why I want to "absolutely" remove the Avahi-daemon.
Dave Walden
Linux Systems Administrator
CARFAX, INC.
View 3 Replies
View Related
Jul 11, 2011
I am trying to get a Linux (Slackware 13.37) working in a Windows networking environment. The IT support for this organisation does not extend to Linux support, so I'm limited in what help I can get for this.
I'm trying to get to the point where I can get to the internet to download what I need on this Linux machine.
The situation is this (*fictitious addresses used) -My Linux machine uses a fixed IP address (10.100.150.21)
My Windows machine uses a DHCP assigned IP address (10.100.150.213)Both Linux and Windows machine are configured to access the gateway server (10.100.150.1)So, I can ping the Linux machine from the Windows machine and vice-versa.I can ping the gateway machine from the Windows machine.I can browse Windows Shares on the network via SMB from the Linux machine.I CANNOT ping the gateway machine from the Linux machine with the Destination Host Unreachable message being the error message.
For actual internet access I need to access a proxy server but since the Linux machine can't even ping the gateway server, it fails to ping the proxy.Now, I have been told the gateway is a HW based router and for Windows machine they use some software for authentication to connect to the network. This software isn't available for Linux, so that's why I've been told to use a fixed IP address.My experience of networking is pretty basic and most of the Linux setup is done via running Slackware's setup program.
View 12 Replies
View Related
Jan 2, 2010
I have a gateway computer that I've been trying to fix up - whenever I try to install Windows XP/2000/Ubuntu, it finds a bunch of errors. I'd really like to get this computer working, it has a 300GB HD, TV inputs, USB ports out the wazoo, and all that other good stuff. Can someone help me with what to do or have a suggestion on what to replace?
I have formatted the hard drive (the Windows installation did it.) The windows installation is to the point where its copying the installation files to the disk, then it gives me an error that it can't find/can't copy the file. The Linux installation just gives me cryptic errors before it even does anything.
I just want to get it to a point where it's usable I really don't care what operating system.
View 1 Replies
View Related
Jan 26, 2010
FTP is not working through a gateway and I think I found that I need to modprobe ip_masq_ftp. However, when I do try to load ip_masq_ftp I get the error: FATAL: Module ip_masq_ftp.o not found.My question is: how do I get ip_masq_ftp?More questions: Do I have to build a new kernel? If I do need to build a new kernel do I just include the ip_masq_ftp module or are there other modules that I need?
View 1 Replies
View Related
Jun 21, 2010
What i need to do is setup a gateway with 2 red networks, reason being 1 is my internet connection and the other is my bDSL connection for our IP phone system and i need an IP range of traffic routed to the bDSL rather than internet, i can do this on individual PC's but id like to do it at the firewall level so i dont have to configure each machine on the network.
basically i want all traffic to go to internet except for say 203.x.x.x which i want routed to the bDSL router and let it handle it. Ive dome some reading and it seems ipcop and smoothwall cant do it so i was hoping with some tricky work maybe i can get ubuntu to do it for me.
View 2 Replies
View Related
Feb 12, 2011
I can ping my IP, and other PC in the same LAN, but I CANNOT ping the gateway on my 10.04LTS ubuntu. Other PC in the same LAN(Ubuntu 10.04LTS) could ping the gateway and my IP. I thought that (1)network cable is OK because I could ping the other PC in the same LAN.(2)Gateway is OK because other PC could ping it. (3)setting of operating system might be somehow wrong.
I have tried to restart the network several times and still not works. I followed the HOW-To debug tips and following is the results. Any suggestions?
1. ifconfig
eth2 Link encap:Ethernet HWaddr 00:1d:7d:aa:d5:d3
inet addr:140.112.61.75 Bcast:140.112.61.255 Mask:255.255.255.0
inet6 addr: fe80::21d:7dff:feaa:d5d3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]....
View 2 Replies
View Related
Feb 5, 2010
My Laptop is connected to 2 different network (Wireless "gateway 10.170.8.1" ;cable wired "gateway 192.168.1.1")the gateway 192.168.1.1 is the default i want all application like firefox that connect via http and https port 80 and 443 to use the gateway 10.170.8.1)
else to use the default gateway
View 1 Replies
View Related