Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Unraid 7] Static IP results in no outside internet access

Featured Replies

Here's my scheme:
VM > Unraid Server > Router > Internet

When I allow DHCP, there are no issues.  When I switch to static, I get full local intranet access but no internet access.  Here are some images showing the DHCP `ifconfig`, `ip a`, `ip route`, and `ip neigh`.

 

DHCP

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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 noprefixroute
       valid_lft forever preferred_lft forever
2: ens2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 52:54:00:94:04:62 brd ff:ff:ff:ff:ff:ff
    altname enp0s2
    inet 192.168.1.198/24 metric 100 brd 192.168.1.255 scope global dynamic ens2
       valid_lft 43110sec preferred_lft 43110sec
    inet6 fe80::5054:ff:fe94:462/64 scope link
       valid_lft forever preferred_lft forever
  
  ens2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.198  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::5054:ff:fe94:462  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:94:04:62  txqueuelen 1000  (Ethernet)
        RX packets 114  bytes 8804 (8.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 20  bytes 1988 (1.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 84  bytes 6352 (6.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 84  bytes 6352 (6.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  
default via 192.168.1.1 dev ens2 proto dhcp src 192.168.1.198 metric 100
192.168.1.0/24 dev ens2 proto kernel scope link src 192.168.1.198 metric 100
192.168.1.1 dev ens2 proto dhcp scope link src 192.168.1.198 metric 100
  
192.168.1.1 dev ens2 lladdr 6c:99:61:d9:a6:ea STALE

 

STATIC

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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 noprefixroute 
       valid_lft forever preferred_lft forever
2: ens2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 52:54:00:94:04:62 brd ff:ff:ff:ff:ff:ff
    altname enp0s2
    inet 192.168.1.137/24 brd 192.168.1.255 scope global ens2
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe94:462/64 scope link 
       valid_lft forever preferred_lft forever

ens2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.137  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::5054:ff:fe94:462  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:94:04:62  txqueuelen 1000  (Ethernet)
        RX packets 780  bytes 66973 (66.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 966  bytes 67290 (67.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1350  bytes 104765 (104.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1350  bytes 104765 (104.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
192.168.1.0/24 dev ens2 proto kernel scope link src 192.168.1.137 

8.8.8.8 dev ens2 FAILED 
192.168.1.136 dev ens2 lladdr 1c:98:ec:0f:c4:30 REACHABLE 
8.8.4.4 dev ens2 INCOMPLETE

 

Here is my configuration (/etc/netplan/50-cloud-init.yaml):
 

network:
  version: 2
  ethernets:
    ens2:
      dhcp4: false
      dhcp6: true
      addresses:
      - 192.168.1.137/24
      routes:
      - to: default
        via: 192.168.1.254
      nameservers:
        addresses: [8.8.8.8,8.8.4.4]

 

What am I missing here?  Everything to me seems to be the same but obviously something is preventing outside access.

 

Here is a ping to the google nameservers:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.1.137 icmp_seq=1 Destination Host Unreachable
From 192.168.1.137 icmp_seq=2 Destination Host Unreachable
From 192.168.1.137 icmp_seq=3 Destination Host Unreachable
From 192.168.1.137 icmp_seq=4 Destination Host Unreachable

 

Here is a traceroute to the google nameservers:

traceroute to 8.8.8.8 (8.8.8.8), 64 hops max
  1   192.168.1.137  1407.485ms !H  *  68.629ms !H

 

Edited by addohm

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.