View Single Post
Old 14th June 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 6,457

Returning to your initial problem report and your symptoms:
Originally Posted by Nikolaos View Post
...I can see machines on my LAN but can't access websites using Firefox or Chromium.
I will guess that you have a routing problem, because you did have two NICs on the same subnet, even if you no longer do. Your default route may be set to use your disabled-by-command but still configured NIC, em0.

Use ping(8), and see if you can reach a well-known IP address on the Internet, such as Google's domain name service at IP address, and see if you get responses. Success may look like this:
$ ping -c 4
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=57 time=15.257 ms
64 bytes from icmp_seq=1 ttl=57 time=14.632 ms
64 bytes from icmp_seq=2 ttl=57 time=14.423 ms
64 bytes from icmp_seq=3 ttl=57 time=15.309 ms

--- ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 14.423/14.905/15.309/0.385 ms
A failure will look something like this:
$ ping -c 4
PING ( 56 data bytes

--- ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
If you fail to successfully ping, then your problem is incorrect routing or a blocked route.

Here's an example of my default route on my x220 -- it is through the router at connected through my vlan2 NIC:
$ route -n show -inet
Routing tables

Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default             UGS       29    13620     -     8 vlan2
Do you have a default route, and is it through your iwn0 NIC?

Last edited by jggimi; 14th June 2018 at 01:46 AM. Reason: one typo
Reply With Quote