Yes, I’ve set the mask to 255.255.255.0, the gateway is 192.168.1.1, and by DNS I meant the DNS IP for dynamic IPs which is the same as the router’s 192.168.1.1 but the router is set up with openDNS IP addresses for internet. Should I set DNS for local machines? Or only for the router? But as the IP is set dynamically by the router I don’t see how DNS can be set.
The clients are all openSUSE-11.4. All set up with dynamic DHCP. I can connect to NAS with smb://dataserver or to its admin panel through http://dataserver. But autofs can’t auto mount it with NFS.
Here’s ifconfig -a:
# ifconfig -a
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx <- I changed this to xx here
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:47
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:188 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13492 (13.1 Kb) TX bytes:13492 (13.1 Kb)
vboxnet0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx <- I changed this to xx here
inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)
wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx <- I changed this to xx here
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21e:64ff:fe23:ab92/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2827 errors:0 dropped:0 overruns:0 frame:0
TX packets:2698 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2283571 (2.1 Mb) TX bytes:512106 (500.1 Kb)
Here’s the cat /etc/hosts:
# cat /etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 laptop.site laptop
192.168.1.2 dataserver.site dataserver
Here’s the server ping:
# ping dataserver
PING dataserver.site (192.168.1.2) 56(84) bytes of data.
64 bytes from dataserver.site (192.168.1.2): icmp_req=1 ttl=64 time=3.84 ms
64 bytes from dataserver.site (192.168.1.2): icmp_req=2 ttl=64 time=1.04 ms
64 bytes from dataserver.site (192.168.1.2): icmp_req=3 ttl=64 time=1.03 ms
^C
--- dataserver.site ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 1.037/1.977/3.847/1.322 ms