Ubiquiti UniFi Security Gateway (USG-3P) Dual-WAN Internet: Unterschied zwischen den Versionen

Aus TippvomTibb
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Allgemeines= Ich habe 2 ISPs. Einmal Kabel WAN1 (Vodafone 1GB/s) und einmal DSL16 WAN2 (1und1). Beide sind am USG (WAN1 Primary und WAN2 Secondary) angeschlos…“)
 
Zeile 133: Zeile 133:
 
                    
 
                    
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
Um alle Config-Einstellungen zu sehen.
 +
 +
show configuration commands > config.txt
 +
cat config.txt

Version vom 24. Februar 2024, 11:30 Uhr

Allgemeines

Ich habe 2 ISPs. Einmal Kabel WAN1 (Vodafone 1GB/s) und einmal DSL16 WAN2 (1und1). Beide sind am USG (WAN1 Primary und WAN2 Secondary) angeschlossen und auf Fallback eingestellt.

Problem

Nach einem Ausfall des Kabelanschlusses hat das Fallback nur teilweise funktioniert. Die über LAN angschlossenen Geraete hatten tatsaechlich eine Verbindung ueber WAN2 erhalten, (ein Teil der) WLAN-Geraete nicht. Ein Reset der Kabelbox brachte zwar das Internet wieder zurueck, aber das USG schaltete nicht wieder zurueck auf WAN1.

Das Problem scheint bekannt. [1]

Status

Folgende Routen und Links habe ich bei mir mir aktivem Fallback sehen können.

Tibb@ubnt:~$ ip r
84.59.176.1 dev pppoe1  proto kernel  scope link  src 84.59.186.223 
127.0.0.0/8 dev lo  proto kernel  scope link  src 127.0.0.1 
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.2 
192.168.2.0/24 dev eth1.2  proto kernel  scope link  src 192.168.2.1 
192.168.148.0/24 dev eth1.148  proto kernel  scope link  src 192.168.148.1 
192.168.178.0/24 dev eth1  proto kernel  scope link  src 192.168.178.1 
Tibb@ubnt:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    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 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether fc:ec:da:44:a5:3a brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::feec:daff:fe44:a53a/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether fc:ec:da:44:a5:3b brd ff:ff:ff:ff:ff:ff
    inet 192.168.178.1/24 brd 192.168.178.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::feec:daff:fe44:a53b/64 scope link 
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether fc:ec:da:44:a5:3c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::feec:daff:fe44:a53c/64 scope link 
       valid_lft forever preferred_lft forever
5: imq0: <NOARP,UP,LOWER_UP> mtu 16000 qdisc pfifo_fast state UNKNOWN qlen 11000
    link/void 
8: eth1.148@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether fc:ec:da:44:a5:3b brd ff:ff:ff:ff:ff:ff
    inet 192.168.148.1/24 brd 192.168.148.255 scope global eth1.148
       valid_lft forever preferred_lft forever
    inet6 fe80::feec:daff:fe44:a53b/64 scope link 
       valid_lft forever preferred_lft forever
12: eth1.2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether fc:ec:da:44:a5:3b brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.1/24 brd 192.168.2.255 scope global eth1.2
       valid_lft forever preferred_lft forever
    inet6 fe80::feec:daff:fe44:a53b/64 scope link 
       valid_lft forever preferred_lft forever
24: pppoe1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN qlen 100
    link/ppp 
    inet 84.59.186.223 peer 84.59.176.1/32 scope global pppoe1
       valid_lft forever preferred_lft forever

Tibb@ubnt:~$ show load-balance status
Group wan_failover
  interface   : eth0
  carrier     : up
  status      : inactive
  gateway     : 192.168.1.1
  route table : 203
  weight      : 0%
  flows
      WAN Out : 164
      WAN In  : 0
    Local Out : 0

  interface   : pppoe1
  carrier     : up
  status      : failover
  gateway     : pppoe1
  route table : 202
  weight      : 0%
  flows
      WAN Out : 56863
      WAN In  : 0
    Local Out : 0

Tibb@ubnt:~$ show load-balance watchdog
Group wan_failover
  eth0
  status: Waiting on recovery (0/3)
  pings: 3
  fails: 3
  run fails: 3/3
  route drops: 1
  ping gateway: ping.ubnt.com - DOWN
  last route drop   : Sat Feb 24 04:15:52 2024

  pppoe1
  status: Waiting on recovery (0/3)
  failover-only mode
  pings: 3
  fails: 3
  run fails: 3/3
  route drops: 1
  ping gateway: ping.ubnt.com - DOWN
  last route drop   : Sat Feb 24 04:15:53 2024

Tibb@ubnt:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address                        S/L  Description                 
---------    ----------                        ---  -----------                 
eth0         192.168.1.2/24                    u/u  WAN                         
eth1         192.168.178.1/24                  u/u  LAN                         
eth1.2       192.168.2.1/24                    u/u                              
eth1.148     192.168.148.1/24                  u/u                              
eth2         -                                 u/u  WAN2                        
lo           127.0.0.1/8                       u/u                              
             ::1/128                          
pppoe1       84.59.186.223                     u/u           

Tibb@ubnt:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       I - ISIS, B - BGP, > - selected route, * - FIB route

S>  0.0.0.0/0 [230/0] via 192.168.1.1, eth0
                      is directly connected, pppoe1
C>* 84.59.176.1/32 is directly connected, pppoe1
C>* 127.0.0.0/8 is directly connected, lo
C>* 192.168.1.0/24 is directly connected, eth0
C>* 192.168.2.0/24 is directly connected, eth1.2
C>* 192.168.148.0/24 is directly connected, eth1.148
C>* 192.168.178.0/24 is directly connected, eth1

Um alle Config-Einstellungen zu sehen.

show configuration commands > config.txt
cat config.txt