[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: An Ounce of Prevention



Hi Bob,

On Mon, Jun 17, 2019 at 09:21:57PM -0400, Bob Bernstein wrote:
> iface eth0 inet static
>     address 192.168.1.40
>     netmask 255.255.255.0
>     gateway 192.168.1.1
>     dns-nameserver 8.8.8.8

[…]

> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
>     link/ether 00:24:21:87:09:c2 brd ff:ff:ff:ff:ff:ff

So you configure eth0 and you do actually have an eth0, so that's
alright.

> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
>     link/ether 00:24:21:87:09:c2 brd ff:ff:ff:ff:ff:ff
>     inet 192.168.1.40/24 brd 192.168.1.255 scope global eth0
>        valid_lft forever preferred_lft forever

…and your eth0 is currently up and has the IP address you
configured, so that's okay.

So I do wonder why it's not working. What does this say?

$ ip route show

Just wondering what your default route is.

And how are you determining that networking doesn't work? i.e. what
are the symptoms?

What happens if you try to ping something? Like:

$ ping 8.8.8.8

I am ignoring the tun0 stuff right now but that could possibly be
related.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: