Benutzer-Werkzeuge

Webseiten-Werkzeuge


vxlan-auf-dem-raspberry-pi

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
vxlan-auf-dem-raspberry-pi [2016/05/30 08:25]
benny
vxlan-auf-dem-raspberry-pi [2016/05/30 17:20] (aktuell)
benny
Zeile 30: Zeile 30:
 </code> </code>
  
 +# Notizen
  
 +Pi1
 +
 +<code>
 +pi@pi1:~ $ sudo ip link
 +1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
 +    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 +2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
 +    link/ether b8:27:eb:25:73:46 brd ff:ff:ff:ff:ff:ff
 +3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
 +    link/ether 00:e0:7c:c8:dd:c0 brd ff:ff:ff:ff:ff:ff
 +pi@pi1:~ $ ifconfig
 +eth0      Link encap:Ethernet  HWaddr b8:27:eb:25:73:46  
 +          UP BROADCAST MULTICAST  MTU:1500  Metric:1
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:1000 
 +          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +eth1      Link encap:Ethernet  HWaddr 00:e0:7c:c8:dd:c0  
 +          inet addr:192.168.0.98  Bcast:192.168.0.255  Mask:255.255.255.0
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +          RX packets:309 errors:0 dropped:77 overruns:0 frame:0
 +          TX packets:184 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:1000 
 +          RX bytes:27104 (26.4 KiB)  TX bytes:23871 (23.3 KiB)
 +
 +lo        Link encap:Local Loopback  
 +          inet addr:127.0.0.1  Mask:255.0.0.0
 +          UP LOOPBACK RUNNING  MTU:65536  Metric:1
 +          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:
 +          RX bytes:6288 (6.1 KiB)  TX bytes:6288 (6.1 KiB)
 +
 +pi@pi1:~ $ sudo ip link add vxlan1000 type vxlan id 1000 dev eth1 remote 192.168.0.219 local 192.168.0.98 dstport 4789
 +pi@pi1:~ $ sudo brctl show
 +bridge name bridge id STP enabled interfaces
 +pi@pi1:~ $ sudo brctl addbr br0
 +pi@pi1:~ $ sudo brctl addif br0 eth0
 +pi@pi1:~ $ sudo brctl addif br0 vxlan1000
 +pi@pi1:~ $ sudo brctl show
 +bridge name bridge id STP enabled interfaces
 +br0 8000.b827eb257346 no eth0
 + vxlan1000
 +pi@pi1:~ $ 
 +
 +
 +</code>
 +
 +Pi3
 +
 +<code>
 +pi@pi3:~ $ sudo ip link
 +1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
 +    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 +2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
 +    link/ether b8:27:eb:61:78:ec brd ff:ff:ff:ff:ff:ff
 +3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
 +    link/ether 00:e0:8f:00:42:bb brd ff:ff:ff:ff:ff:ff
 +4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
 +    link/ether b8:27:eb:34:2d:b9 brd ff:ff:ff:ff:ff:ff
 +5: ovs-system: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
 +    link/ether 6e:a8:df:01:4d:7c brd ff:ff:ff:ff:ff:ff
 +pi@pi3:~ $ ifconfig
 +eth0      Link encap:Ethernet  HWaddr b8:27:eb:61:78:ec  
 +          UP BROADCAST MULTICAST  MTU:1500  Metric:1
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:1000 
 +          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +eth1      Link encap:Ethernet  HWaddr 00:e0:8f:00:42:bb  
 +          inet addr:192.168.0.219  Bcast:192.168.0.255  Mask:255.255.255.0
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +          RX packets:2840 errors:0 dropped:1471 overruns:0 frame:0
 +          TX packets:552 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:1000 
 +          RX bytes:203896 (199.1 KiB)  TX bytes:63738 (62.2 KiB)
 +
 +lo        Link encap:Local Loopback  
 +          inet addr:127.0.0.1  Mask:255.0.0.0
 +          UP LOOPBACK RUNNING  MTU:65536  Metric:1
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:
 +          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +ovs-system Link encap:Ethernet  HWaddr 6e:a8:df:01:4d:7c  
 +          inet addr:169.254.43.19  Bcast:169.254.255.255  Mask:255.255.0.0
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:
 +          RX bytes:0 (0.0 B)  TX bytes:11545 (11.2 KiB)
 +
 +wlan0     Link encap:Ethernet  HWaddr b8:27:eb:34:2d:b9  
 +          UP BROADCAST MULTICAST  MTU:1500  Metric:1
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:1000 
 +          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +pi@pi3:~ $ sudo ip link add vxlan1000 type vxlan id 1000 dev eth1 remote 192.168.0.98 local 192.168.0.219 dstport 4789
 +pi@pi3:~ $ 
 +pi@pi3:~ $ sudo brctl show
 +bridge name bridge id STP enabled interfaces
 +pi@pi3:~ $ sudo brctl addbr br0
 +pi@pi3:~ $ sudo brctl addif br0 eth0
 +pi@pi3:~ $ sudo brctl addif br0 vxlan1000
 +pi@pi3:~ $ 
 +
 +</code>
  
  
vxlan-auf-dem-raspberry-pi.txt · Zuletzt geändert: 2016/05/30 17:20 von benny