Jump to content

Networking between a Mandriva network


Jza
 Share

Recommended Posts

Hi is there a tutorial on how to use zeroconf. It should be seamless but really I dont have a clue where to start. also if people can put the instructions in command line it might help too.

Link to comment
Share on other sites

You're lucky :) Mandriva is the easiest distro to configure for ZeroConf!

 

1/ Install and enable tmdns at boot. Make sure your have no domain (your 'fully qualified hostname" has no dot inside), else use the ".local" domain.

 

2/ Configure tmdns with your LAN config on each host; eg if your machine is mandriva01 and your LAN is 192.168.0.X:

hostname = mandriva01
username = daemon
service_file = /etc/tmdns.services
pid_file = /var/run/tmdns.pid
debug_file = 
default_ttl = 7200
dns_bridge = yes
allow_nonlocal = no
local_domains =  .local .254.169.in-addr.arpa 0.8.e.f.ip6.arpa 0.168.192.in-addr.arpa
dns_port = 53
gather_delay = 2
dynamic_service_file = /var/run/tmdns.services

 

3/ On each PC, configure the firewall to allow DNS as well as ports 5353/tcp and 5353/udp.

Besides, if you have a modem/router between your LAN and internet, configure it to direct all network traffic to 224.0.0.251:5353 to the LAN side.

 

4/ Very important with Mandriva: configure ALL network connexions in MCC to NOT use the DNS information from the DHCP servers.

 

5/ On each host, edit your /etc/resolv.conf to look like this:

nameserver 127.0.0.1
nameserver A.B.C.D
nameserver W.X.Y.Z
search local

except you'll have to replace A.B.C.D and W.X.Y.Z with the DNS servers of your ISP.

 

This should work.

 

Yves.

 

[edit:]This is interesting to read: http://zeroconf.sourceforge.net/zeroconf-lca2003/t1.html[/edit]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...