On 04/13/2016 05:44 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2016-04-14 02:24, sdm wrote:
Static IP is set to 192.168.1.5. Subnetmask is set, 255.255.255.0. On Hostname/DNS, under Name Server 1, I set it to 192.168.1.1. And tried "Use Default Policy", "Only Manually", and "Use Custom Policy" with Custom Policy Rule set to auto or static. I've also the entire time had the name sever of 192.168.1.1 in the /etc/resolv.conf file. The Gateway I set to 192.168.1.1.
Once again, if I unplug the router and plug it back in, with the above settings DNS does not work until switching to DHCP, then back to static. If I leave it on static with the above settings, unplug the router, and then plug it back in, DNS does not work. I can access the router at 192.168.1.1, but can't go to any web address. With static settings, unplug the router, reconnect, then do:
ip addr ip route cat /etc/resolv.conf | egrep -v "^[[:space:]]*$|^#"
Then,
ping 192.168.1.1 ping 8.8.8.8 ping google.com
then, change to dhcp and back, and repeat all the above, and post all that back here.
- -- Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iF4EAREIAAYFAlcO5+YACgkQja8UbcUWM1xjRQEAlTolF8qqpI55v402dXo1WdCN TLkTFOyAcXpn1c1KPqYA/RDxjEj4/M2KH8MgaSmspp7GTvZltoOitUCVQ26hiYHn =lWxd -----END PGP SIGNATURE----- After replugging router with static IP:
# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 8c:89:a5:6f:52:b3 brd ff:ff:ff:ff:ff:ff inet 192.168.1.4/24 brd 192.168.1.255 scope global enp7s0 valid_lft forever preferred_lft forever inet6 fe80::8e89:a5ff:fe6f:52b3/64 scope link valid_lft forever preferred_lft forever # ip route default via 192.168.1.1 dev enp7s0 192.168.1.0/24 dev enp7s0 proto kernel scope link src 192.168.1.4 # cat /etc/resolv.conf | egrep -v "^[[:space:]]*$|^#" nameserver 192.168.1.1 # ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=63 time=1.26 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=63 time=1.25 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=63 time=1.78 ms ^C --- 192.168.1.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 1.256/1.433/1.780/0.245 ms # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.1.3 icmp_seq=13 Destination Host Unreachable From 192.168.1.3 icmp_seq=19 Destination Host Unreachable # ping google.com PING google.com (216.58.218.110) 56(84) bytes of data. ^C --- google.com ping statistics --- 26 packets transmitted, 0 received, 100% packet loss, time 25158ms ----------Now, I have switched to DHCP and back to static:---------- # ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 8c:89:a5:6f:52:b3 brd ff:ff:ff:ff:ff:ff inet 192.168.1.4/24 brd 192.168.1.255 scope global enp7s0 valid_lft forever preferred_lft forever inet6 fe80::8e89:a5ff:fe6f:52b3/64 scope link valid_lft forever preferred_lft forever # ip route default via 192.168.1.1 dev enp7s0 192.168.1.0/24 dev enp7s0 proto kernel scope link src 192.168.1.4 # cat /etc/resolv.conf | egrep -v "^[[:space:]]*$|^#" nameserver 192.168.1.1 # ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=63 time=1.34 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=63 time=1.19 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=63 time=1.19 ms ^C --- 192.168.1.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 1.197/1.245/1.342/0.079 ms # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=22.9 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=15.2 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=14.6 ms ^C --- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 14.672/17.605/22.900/3.752 ms # ping google.com PING google.com (216.58.194.142) 56(84) bytes of data. 64 bytes from dfw06s49-in-f14.1e100.net (216.58.194.142): icmp_seq=1 ttl=51 time=72.1 ms 64 bytes from dfw06s49-in-f14.1e100.net (216.58.194.142): icmp_seq=2 ttl=51 time=70.7 ms 64 bytes from dfw06s49-in-f14.1e100.net (216.58.194.142): icmp_seq=3 ttl=51 time=71.1 ms ^C --- google.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 70.715/71.334/72.102/0.653 ms I will plug a Windows laptop with a static IP assigned into the client bridge router later to see what happens. Once again, I have a DD-WRT client bridge router with DHCP shut off that I plug the ethernet cable into. That router talks wirelessly to my main router which is thr DHCP server and which is connected to the cable modem. But if that were part of this whole problem, I don't see why Wicked and DHCP work fine and static addressing doesn't, unless this is some odd bug. Maybe someone can set a static IP and test, unplug the router and plug it back in and see if they still have DNS? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org