Hi,
I recently bought a switch/router, and now have the machines sharing a broadband connection. Previously i had Apache, NFS and Samba working between two machines with a cross-over ethernet cable.
Now i can only access the Apache server with the IP address as the base of the URL. NFS and Samba clients can't seem to find hosts.
When looking on the router's DHCP Client Log the machines are listed with their hostnames and assigned IP addresses, eg:
Code:
ip=192.168.2.100 mac=00-E0-4C-FB-6F-51 name=badlands
ip=192.168.2.101 mac=08-00-46-06-07-46 name=vaio
The ping command works using the IP address of a machine but not it's hostname, eg:
Code:
badlands:/home/caspar # ping -c 5 192.168.2.101
PING 192.168.2.101 (192.168.2.101) 56(84) bytes of data.
64 bytes from 192.168.2.101: icmp_seq=1 ttl=64 time=0.203 ms
64 bytes from 192.168.2.101: icmp_seq=2 ttl=64 time=0.192 ms
64 bytes from 192.168.2.101: icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from 192.168.2.101: icmp_seq=4 ttl=64 time=0.191 ms
64 bytes from 192.168.2.101: icmp_seq=5 ttl=64 time=0.190 ms
--- 192.168.2.101 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 0.190/0.195/0.203/0.018 ms
badlands:/home/caspar # ping -c 5 vaio
ping: unknown host vaio
I can access an Apache server on a Linux machine by entering the IP, but not the hostname. Having setup internet and file sharing between win XP/98 machines i'm assuming that the switch works OK and the win machines are OK from a file sharing (Samba) point of view.
smb.conf:
Code:
interfaces = eth* lo
hosts allow = 127.0.0.1 192.168.2.1/255.255.255.0
hosts deny = 0.0.0.0/0
Neither samba or NFS work. When configuring an NFS client there are no NFS servers listed to chose from (yes, all are up and running).
I've tried this with the various firewalls turned off; SuseFirewall and the router's hardware one.
I'm new to networking and now completely stumped, as i'm not a SA type i don't know what logs to post here.
Think this some sort of hostname resolution problem, can anyone help, please?
Distro: suse 9.1
Router: SMC7004ABR