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.

Containers on Eth1 being given wrong gateway

Featured Replies

ip route shows any container on eth1 are getting a default gateway of 10.10.0.2 instead of 10.10.0.1.   Arp confirms that the mac is not that off my gateway, but of a switch. 

 

Route on unRAID (gateway-usg resolves to 10.10.0.1)

root@Redemption:/mnt/cache/appdata/plexpy# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         Gateway-USG     0.0.0.0         UG    1      0        0 eth0
10.10.0.0       *               255.255.255.0   U     0      0        0 eth0
10.10.0.0       *               255.255.255.0   U     0      0        0 eth1
172.17.0.0      *               255.255.0.0     U     0      0        0 docker0

Route on container in Host mode (via docker exec)

root@Redemption:/$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         Gateway-USG     0.0.0.0         UG    1      0        0 eth0
10.10.0.0       *               255.255.255.0   U     0      0        0 eth0
10.10.0.0       *               255.255.255.0   U     0      0        0 eth1
172.17.0.0      *               255.255.0.0     U     0      0        0 docker0

Route on container on eth1 (via docker exec)

root@8836d74b4e6f:/$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.10.0.2       0.0.0.0         UG    0      0        0 eth0
10.10.0.0       *               255.255.255.0   U     0      0        0 eth0

Route on same container on br (via docker exec)

root@8836d74b4e6f:/$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         Gateway-USG     0.0.0.0         UG    0      0        0 eth0
10.10.0.0       *               255.255.255.0   U     0      0        0 eth0

 

network.cfg on boot drive

# Generated settings:
IFNAME[0]="br0"
DHCP_KEEPRESOLV="yes"
DNS_SERVER1="10.10.0.1"
DNS_SERVER2=""
DNS_SERVER3=""
DNS6_SERVER1=""
DNS6_SERVER2=""
DNS6_SERVER3=""
BRNAME[0]="br0"
BRNICS[0]="eth0"
BRSTP[0]="no"
BRFD[0]="0"
DESCRIPTION[0]="homedwellers_mgmt"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="no"
IPADDR[0]="10.10.0.12"
NETMASK[0]="255.255.255.0"
GATEWAY[0]="10.10.0.1"
METRIC[0]="1"
IPADDR6[0]=""
NETMASK6[0]=""
GATEWAY6[0]=""
PRIVACY6[0]=""
MTU[0]=""
IFNAME[1]="eth1"
DESCRIPTION[1]=""
PROTOCOL[1]="ipv4"
USE_DHCP[1]="no"
IPADDR[1]="10.10.0.11"
NETMASK[1]="255.255.255.0"
GATEWAY[1]="10.10.0.1#2"
METRIC[1]="2"
MTU[1]=""
SYSNICS="2"

 

Edited by smdion

Technically speaking, it is not allowed to put two interfaces in the same subnet, this will confuse routing (the router).

 

Common approach is to have different subnets on each port, e.g. 10.10.0.0/24 and 10.10.1.0/24. Give that a try.

 

Edited by bonienl

Archived

This topic is now archived and is closed to further replies.

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.