Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wg:bird [2018/12/07 22:09]
42 [Box A]
wg:bird [2018/12/07 22:11]
42
Line 1: Line 1:
 ====== BIRD ====== ====== BIRD ======
  
-===== IP Konfiguration ​=====+===== Bad Packet - strange source address ​=====
  
-  * Server: 172.25.0.1/32 +<​code>​ 
-  * Box-A: 172.20.0.1/32 +Dec 07 21:10:37 box docker[3802]:​ 2018-12-07 21:​10:​37.516 <​TRACE>​ OSPFip4: HELLO packet sent via overlay 
-  * Box-B: 172.20.1.1/32+Dec 07 21:10:42 box docker[3802]:​ 2018-12-07 21:​10:​42.588 <RMT> OSPFip4Bad packet from 172.25.4.1 via overlay - strange source address (0
 +Dec 07 21:10:42 box docker[3802]:​ 2018-12-07 21:​10:​42.589 <​TRACE>​ OSPFip4: HELLO packet received from nbr 172.25.4.1 on overlay 
 +Dec 07 21:10:42 box docker[3802]:​ 2018-12-07 21:10:42.589 <RMT> OSPFip4: Bad packet from 172.25.4.1 via overlay - strange source address (0) 
 +Dec 07 21:10:44 box docker[3802]:​ 2018-12-07 21:​10:​44.222 <​TRACE>​ OSPFip4: HELLO packet received from nbr 172.20.0.3 on e2e 
 +Dec 07 21:10:44 box docker[3802]:​ 2018-12-07 21:​10:​44.222 <RMT> OSPFip4: Bad packet from 10.240.0.3 via e2e - strange source address (0) 
 +Dec 07 21:10:45 box docker[3802]:​ 2018-12-07 21:​10:​45.781 <RMT> OSPFip4: Bad packet from 172.25.1.1 via overlay - strange source address (0) 
 +Dec 07 21:10:45 box docker[3802]:​ 2018-12-07 21:10:45.781 <​TRACE>​ OSPFip4: HELLO packet received from nbr 172.25.1.1 on overlay 
 +Dec 07 21:10:46 box docker[3802]:​ 2018-12-07 21:​10:​46.445 <RMT> OSPFip4: Bad packet from 10.240.0.2 via e2e - strange source address (0) 
 +Dec 07 21:10:46 box docker[3802]:​ 2018-12-07 21:​10:​46.445 <​TRACE>​ OSPFip4: HELLO packet received from nbr 172.20.0.2 on e2e 
 +Dec 07 21:10:47 box docker[3802]:​ 2018-12-07 21:​10:​47.501 <​TRACE>​ device1: Scanning interfaces 
 +</code>
  
 ===== Server ===== ===== Server =====
- 
-bird.conf 
  
 <​code>​ <​code>​
Line 61: Line 69:
  
 ===== Box ===== ===== Box =====
- 
-bird.conf 
  
 <​code>​ <​code>​
Line 127: Line 133:
 </​code>​ </​code>​
  
-===== Box B ===== 
- 
-++++ bird.conf | 
- 
-<​code>​ 
-router id 172.20.1.1; 
-log stderr all; 
-debug protocols all; 
- 
-protocol kernel { 
-    ipv4 { 
-        export all; 
-    }; 
-} 
- 
-protocol device { 
-    scan time 10; 
-} 
- 
-protocol direct { 
-    ipv4; 
-} 
- 
-protocol ospf v2 OSPFip4 { 
-    tick 4; 
-    ipv4 { 
-        import all; 
-        export all; 
-    }; 
-    area 0 { 
-        interface "​wg*",​ "​lo"​ { 
-            type ptmp; 
-            cost 1000; 
-            hello 25; 
-        }; 
-    }; 
-    area 51 { 
- interface "​e2e",​ "​bridge0"​ { 
-            type ptmp; 
-            cost 100; 
-            hello 25; 
-        }; 
-    }; 
-} 
-</​code>​ 
- 
-++++ 
- 
-++++ ip addr | 
- 
-<​code>​ 
-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 
-    inet 172.20.1.1/​32 scope global lo 
-       ​valid_lft forever preferred_lft forever 
-    inet6 ::1/128 scope host  
-       ​valid_lft forever preferred_lft forever 
-2: enp1s0: <​BROADCAST,​MULTICAST,​UP,​LOWER_UP>​ mtu 1500 qdisc mq master bridge0 state UP group default qlen 1000 
-    link/ether 00:​0d:​b9:​40:​6a:​04 brd ff:​ff:​ff:​ff:​ff:​ff 
-3: enp2s0: <​BROADCAST,​MULTICAST,​UP,​LOWER_UP>​ mtu 1500 qdisc mq master bridge0 state UP group default qlen 1000 
-    link/ether 00:​0d:​b9:​40:​6a:​05 brd ff:​ff:​ff:​ff:​ff:​ff 
-4: enp3s0: <​BROADCAST,​MULTICAST,​UP,​LOWER_UP>​ mtu 1500 qdisc mq state UP group default qlen 1000 
-    link/ether 00:​0d:​b9:​40:​6a:​06 brd ff:​ff:​ff:​ff:​ff:​ff 
-    inet 192.168.0.17/​24 brd 192.168.0.255 scope global dynamic enp3s0 
-       ​valid_lft 2411sec preferred_lft 2411sec 
-    inet6 2a02:​aa12:​5401:​f600:​20d:​b9ff:​fe40:​6a06/​64 scope global dynamic mngtmpaddr noprefixroute ​ 
-       ​valid_lft 809984sec preferred_lft 205184sec 
-    inet6 fe80::​20d:​b9ff:​fe40:​6a06/​64 scope link  
-       ​valid_lft forever preferred_lft forever 
-5: dummy0: <​BROADCAST,​NOARP,​UP,​LOWER_UP>​ mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 
-    link/ether ea:​22:​9f:​d7:​56:​e0 brd ff:​ff:​ff:​ff:​ff:​ff 
-    inet 172.16.16.16/​32 scope global dummy0 
-       ​valid_lft forever preferred_lft forever 
-    inet6 fe80::​e822:​9fff:​fed7:​56e0/​64 scope link  
-       ​valid_lft forever preferred_lft forever 
-6: bridge0: <​BROADCAST,​MULTICAST,​UP,​LOWER_UP>​ mtu 1500 qdisc noqueue state UP group default qlen 1000 
-    link/ether fa:​ae:​46:​e1:​11:​57 brd ff:​ff:​ff:​ff:​ff:​ff 
-    inet 10.0.1.1/24 brd 10.0.1.255 scope global bridge0 
-       ​valid_lft forever preferred_lft forever 
-    inet6 fe80::​f8ae:​46ff:​fee1:​1157/​64 scope link  
-       ​valid_lft forever preferred_lft forever 
-7: docker0: <​NO-CARRIER,​BROADCAST,​MULTICAST,​UP>​ mtu 1500 qdisc noqueue state DOWN group default ​ 
-    link/ether 02:​42:​cd:​79:​31:​30 brd ff:​ff:​ff:​ff:​ff:​ff 
-    inet 172.17.0.1/​16 scope global docker0 
-       ​valid_lft forever preferred_lft forever 
-8: wg0: <​POINTOPOINT,​NOARP,​UP,​LOWER_UP>​ mtu 1300 qdisc noqueue state UNKNOWN group default qlen 1000 
-    link/​none ​ 
-    inet 172.20.1.1 peer 172.25.0.1/​32 scope global wg0 
-       ​valid_lft forever preferred_lft forever 
-9: e2e: <​POINTOPOINT,​NOARP,​UP,​LOWER_UP>​ mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000 
-    link/​none ​ 
-    inet 10.240.0.2 peer 10.240.0.1/​32 scope global e2e 
-       ​valid_lft forever preferred_lft forever 
-</​code>​ 
- 
-++++ 
- 
-++++ Ping Server im Bird-Container | 
- 
-<​code>​ 
-~ # ping 172.25.0.1 
-PING 172.25.0.1 (172.25.0.1):​ 56 data bytes 
-64 bytes from 172.25.0.1: seq=0 ttl=64 time=28.741 ms 
-64 bytes from 172.25.0.1: seq=1 ttl=64 time=28.289 ms 
-64 bytes from 172.25.0.1: seq=2 ttl=64 time=25.595 ms 
-^C 
---- 172.25.0.1 ping statistics --- 
-3 packets transmitted,​ 3 packets received, 0% packet loss 
-round-trip min/avg/max = 25.595/​27.541/​28.741 ms 
-</​code>​ 
- 
-++++ 
- 
-++++ Wireguard | 
- 
-<​code>​ 
-interface: wg0 
-  public key: sN/​FiFHgiuSCo+hRhhKgOynEsVFsfJ/​YNftqXmLYHQM= 
-  private key: (hidden) 
-  listening port: 51820 
- 
-peer: JhWDc+wjFs4B0ghbjRZkfRDyzeDnko+0UD6jCLREwUc= 
-  endpoint: 51.15.133.75:​51820 
-  allowed ips: 0.0.0.0/0 
-  latest handshake: 1 minute, 39 seconds ago 
-  transfer: 37.31 MiB received, 62.60 MiB sent 
- 
-interface: e2e 
-  public key: Jh5oMc7ylmdmPscM9WQrGWycznFCHlpcvo5y96O38kc= 
-  private key: (hidden) 
-  listening port: 51800 
- 
-peer: zCNurLhq49j7PbzRMW0+iHMccxhyuI1LU3Bwhnv9WC4= 
-  endpoint: 172.20.0.1:​51800 
-  allowed ips: 10.240.0.1/​32,​ 10.0.0.0/24 
-  latest handshake: 1 minute, 28 seconds ago 
-  transfer: 507.51 KiB received, 81.32 KiB sent 
-</​code>​ 
- 
-++++ 
wg/bird.txt · Last modified: 2018/12/07 22:11 by 42
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0