On Sun, Mar 04, 2007 at 11:52:55AM -0600, Dan Farrell wrote: > On Sat, 3 Mar 2007 23:16:47 +0100 > "Michal 'vorner' Vaner" wrote: > > > The [ X ] is a machine, ---- is a network and those C? are names of > > the machine on the net. Now, ping C1 on the middle machine. Should it > > ping itself on the right interface or look for the left computer? You > > should at last have something like: > > > > [ Name1 ] C1 ---- C2 [ Name2 ] C1 ---- C2 [ Name3 ] > > /etc/resolv.conf has a search line in which you can set up domains to > automatically append to hostnames that aren't fully qualified. If the > subnets had different subdomain names, the order/presence/absence in > resolv.conf would determin which C? was reached from Name2 Sure you can do all this - but I still think you just do better if you name the computer in some reasonable way - give it its own name that is the same everywhere (even if it has different domains behind it) and add nicknames for services. After all, it IS the same computer. If you do not give the computer a more global name, you need to ask yourself from which network you access it and decide. I did not say you can not do it other way, just that it probably is a good idea to act in a way most people take as sane. With regards -- No, you will not fix me Computer Michal 'vorner' Vaner