Проблема: все пользователи в нашей сети (Mac-ноутбуки и десктопы, мобильные устройства Apple и Google, один ПК) испытывают проблемы с подключением к интернету, несмотря на то, что подключены к WiFi. При возникновении этой проблемы, если отключить и снова включить WiFi, всё работает как надо. В отключённом состоянии я не могу пропинговать google.com или 8.8.8.8, но могу пинговать внутренние адреса. Пользователи, подключённые к сети по Ethernet, говорят, что у них таких проблем нет.
Сеть: Comcast модем -> ERL -> одна из двух UniFi AC Lite точек доступа.
Конфигурация ERL:
firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
name WAN_LOCAL {
default-action drop
description "WAN to router"
rule 5 {
action accept
description "allow icmp"
protocol icmp
}
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable
}
interfaces {
bridge br0 {
address 10.0.0.1/24
description "Local Bridge"
promiscuous enable
}
ethernet eth0 {
address X.X.X.193/30
description Internet
dhcp-options {
name-server update
}
duplex auto
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
speed auto
}
ethernet eth1 {
bridge-group {
bridge br0
}
description eth1
duplex auto
speed auto
}
ethernet eth2 {
bridge-group {
bridge br0
}
description "Lounge AP"
duplex auto
speed auto
}
ethernet eth3 {
bridge-group {
bridge br0
}
description eth3
duplex auto
speed auto
}
ethernet eth4 {
bridge-group {
bridge br0
}
duplex auto
speed auto
}
ethernet eth5 {
bridge-group {
bridge br0
}
duplex auto
speed auto
}
ethernet eth6 {
bridge-group {
bridge br0
}
description WarRoom_Switch
duplex auto
speed auto
}
ethernet eth7 {
bridge-group {
bridge br0
}
description UniPi
duplex auto
speed auto
}
loopback lo {
}
}
port-forward {
auto-firewall enable
hairpin-nat enable
lan-interface br0
rule 1 {
description "iMac VNC"
forward-to {
address 10.0.0.80
port 5900
}
original-port 5900
protocol tcp_udp
}
wan-interface eth0
}
protocols {
static {
route 0.0.0.0/0 {
next-hop X.X.X.194 {
}
}
}
}
service {
dhcp-server {
shared-network-name 10.0.0.x {
subnet 10.0.0.0/24 {
default-router 10.0.0.1
dns-server 75.75.75.75
dns-server 75.75.76.76
domain-name XXX.local
start 10.0.0.100 {
stop 10.0.0.200
}
static-mapping ConferenceRoom_HighFiveCamera {
ip-address 10.0.0.51
mac-address bc:34:xx:xx:14:17
}
static-mapping ConferenceRoom_aTV {
ip-address 10.0.0.50
mac-address 5c:f9:xx:xx:91:f8
}
static-mapping Lounge_AP {
ip-address 10.0.0.3
mac-address 04:18:xx:xx:90:f6
}
static-mapping Lounge_Sonos {
ip-address 10.0.0.53
mac-address b8:e9:xx:xx:f4:64
}
static-mapping XXX-iMac {
ip-address 10.0.0.80
mac-address 7c:6d:xx:xx:52:3e
}
static-mapping UniFi {
ip-address 10.0.0.20
mac-address b8:27:xx:xx:a8:c7
}
static-mapping WarRoom_AP {
ip-address 10.0.0.2
mac-address 04:18:xx:xx:90:d8
}
static-mapping WarRoom_Sonos {
ip-address 10.0.0.52
mac-address b8:e9:xx:xx:f4:3a
}
unifi-controller 10.0.0.20
}
}
}
dns {
forwarding {
cache-size 500
listen-on br0
name-server 75.75.75.75
name-server 75.75.76.76
name-server 8.8.8.8
name-server 8.8.4.4
}
}
gui {
https-port 443
}
nat {
rule 5010 {
description "masquerade for WAN"
outbound-interface eth0
type masquerade
}
}
ssh {
}
}
system {
host-name ubnt
login {
user admin {
authentication {
encrypted-password ****************
plaintext-password ****************
}
level admin
}
}
name-server 127.0.0.1
ntp {
server 0.ubnt.pool.ntp.org {
}
server 1.ubnt.pool.ntp.org {
}
server 2.ubnt.pool.ntp.org {
}
server 3.ubnt.pool.ntp.org {
}
}
package {
repository wheezy {
components "main contrib non-free"
distribution wheezy
url
}
repository wheezy-security {
components main
distribution wheezy/updates
url
}
}
syslog {
global {
facility all {
level notice
}
facility protocols {
level debug
}
}
}
time-zone America/New_York
traffic-analysis {
dpi disable
export disable
}
}
Сеть: Comcast модем -> ERL -> одна из двух UniFi AC Lite точек доступа.
Конфигурация ERL:
firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
name WAN_LOCAL {
default-action drop
description "WAN to router"
rule 5 {
action accept
description "allow icmp"
protocol icmp
}
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable
}
interfaces {
bridge br0 {
address 10.0.0.1/24
description "Local Bridge"
promiscuous enable
}
ethernet eth0 {
address X.X.X.193/30
description Internet
dhcp-options {
name-server update
}
duplex auto
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
speed auto
}
ethernet eth1 {
bridge-group {
bridge br0
}
description eth1
duplex auto
speed auto
}
ethernet eth2 {
bridge-group {
bridge br0
}
description "Lounge AP"
duplex auto
speed auto
}
ethernet eth3 {
bridge-group {
bridge br0
}
description eth3
duplex auto
speed auto
}
ethernet eth4 {
bridge-group {
bridge br0
}
duplex auto
speed auto
}
ethernet eth5 {
bridge-group {
bridge br0
}
duplex auto
speed auto
}
ethernet eth6 {
bridge-group {
bridge br0
}
description WarRoom_Switch
duplex auto
speed auto
}
ethernet eth7 {
bridge-group {
bridge br0
}
description UniPi
duplex auto
speed auto
}
loopback lo {
}
}
port-forward {
auto-firewall enable
hairpin-nat enable
lan-interface br0
rule 1 {
description "iMac VNC"
forward-to {
address 10.0.0.80
port 5900
}
original-port 5900
protocol tcp_udp
}
wan-interface eth0
}
protocols {
static {
route 0.0.0.0/0 {
next-hop X.X.X.194 {
}
}
}
}
service {
dhcp-server {
shared-network-name 10.0.0.x {
subnet 10.0.0.0/24 {
default-router 10.0.0.1
dns-server 75.75.75.75
dns-server 75.75.76.76
domain-name XXX.local
start 10.0.0.100 {
stop 10.0.0.200
}
static-mapping ConferenceRoom_HighFiveCamera {
ip-address 10.0.0.51
mac-address bc:34:xx:xx:14:17
}
static-mapping ConferenceRoom_aTV {
ip-address 10.0.0.50
mac-address 5c:f9:xx:xx:91:f8
}
static-mapping Lounge_AP {
ip-address 10.0.0.3
mac-address 04:18:xx:xx:90:f6
}
static-mapping Lounge_Sonos {
ip-address 10.0.0.53
mac-address b8:e9:xx:xx:f4:64
}
static-mapping XXX-iMac {
ip-address 10.0.0.80
mac-address 7c:6d:xx:xx:52:3e
}
static-mapping UniFi {
ip-address 10.0.0.20
mac-address b8:27:xx:xx:a8:c7
}
static-mapping WarRoom_AP {
ip-address 10.0.0.2
mac-address 04:18:xx:xx:90:d8
}
static-mapping WarRoom_Sonos {
ip-address 10.0.0.52
mac-address b8:e9:xx:xx:f4:3a
}
unifi-controller 10.0.0.20
}
}
}
dns {
forwarding {
cache-size 500
listen-on br0
name-server 75.75.75.75
name-server 75.75.76.76
name-server 8.8.8.8
name-server 8.8.4.4
}
}
gui {
https-port 443
}
nat {
rule 5010 {
description "masquerade for WAN"
outbound-interface eth0
type masquerade
}
}
ssh {
}
}
system {
host-name ubnt
login {
user admin {
authentication {
encrypted-password ****************
plaintext-password ****************
}
level admin
}
}
name-server 127.0.0.1
ntp {
server 0.ubnt.pool.ntp.org {
}
server 1.ubnt.pool.ntp.org {
}
server 2.ubnt.pool.ntp.org {
}
server 3.ubnt.pool.ntp.org {
}
}
package {
repository wheezy {
components "main contrib non-free"
distribution wheezy
url
}
repository wheezy-security {
components main
distribution wheezy/updates
url
}
}
syslog {
global {
facility all {
level notice
}
facility protocols {
level debug
}
}
}
time-zone America/New_York
traffic-analysis {
dpi disable
export disable
}
}
