On 09/27/2017 09:31 AM, Reco wrote:
On Wed, Sep 27, 2017 at 10:16:20PM +1300, Richard Hector wrote:
On 26/09/17 19:50, Reco wrote:
Please post these things from the problematic PC:
ip a l
ip ro l
Can I make a request? When giving example commands, can you give them in
full, rather than abbreviated?
Sure,
ip address list
ip route list
I believe 'a' and 'ro' are 'address' and 'route' respectively,
Yep.
but 'l'
is a bit harder to find - not in the result of "ip address help",
anyway. 'list' perhaps? Which I think is the default anyway?
It's 'list' indeed. 'ip a l' is a personal habit.
I believe anyone who knows the short versions will know the long ones,
and those who don't won't have to go digging up the manpages to
understand what's going on :-)
I've requested these commands as I suspect that current IPv4 routing of
that host prevents it to talk to configured DNSes.
Of course, it might as well be:
1) Misconfigured 'nat' netfilter table (libvirt can do some strange
things in this regard for instance).
2) Misconfigured 'filter' netfilter table (iptables are teh hard
sometimes).
3) Misconfigured 'mangle' netfilter table (forced UDP checksumming for
no good reason).
4) Misconfigured IPv6.
5) All those martian green men that wish evil to us all.
But in cases like this I like to search for simple explanation first,
and proceed to complex ones after.
PS I agree that iproute's manpages have a great improvement potential.
Speaking lightly ☺.
Reco
This is the second time I've tried to send this. The first one just
disappeared to the bit bucket I assume. So lets try again.
Sorry about the delay in replying to your request. Attached is the
information you requested. I could not find nameservers 8.8.8.8 and
8.8.4.4 listed anywhere. This is probably the root of my problem. I
tried every thing I could think of but couldn't get them to stick in
resolv.conf.
Gary R.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
## The loopback network interface
auto lo
iface lo inet loopback
##The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
##The bridge network interface to qemu virtual machine
#auto br1
iface br1 inet dhcp
bridge_ports br1
bridge_stp off
bridge_fd 0.0
dns-nameserver 8.8.8.8
dns-nameserver 8.8.4.4
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
## The loopback network interface
auto lo
iface lo inet loopback
##The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
##The bridge network interface to qemu virtual machine
#auto br1
iface br1 inet dhcp
bridge_ports br1
bridge_stp off
bridge_fd 0.0
dns-nameserver 8.8.8.8
dns-nameserver 8.8.4.4
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: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
group default qlen 1000
link/ether 4c:cc:6a:87:fb:5d brd ff:ff:ff:ff:ff:ff
inet 192.168.1.10/24 brd 192.168.1.255 scope global dynamic enp4s0
valid_lft 63501sec preferred_lft 63501sec
inet6 fe80::4ecc:6aff:fe87:fb5d/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state
DOWN group default qlen 1000
link/ether 52:54:00:d1:d9:de brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0
state DOWN group default qlen 1000
link/ether 52:54:00:d1:d9:de brd ff:ff:ff:ff:ff:ff
default via 192.168.1.1 dev enp4s0 proto static metric 100
192.168.1.0/24 dev enp4s0 proto kernel scope link src 192.168.1.10 metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1
search home