Hallo,

also: ich bekomm es nicht hin.

Der bond zwischen den beiden Switches (L3 Cisco und L2 HP) funktioniert
genau wie er soll.
Auch die VLANs gehen durch.
Ich kann die IP des Cisco im VLAN 11 vom HP aus anpingen und umgekehrt.
Nur den Server erreiche ich nicht.
Also muß irgend was an der config im server oder im cisco beim Bond zum
Server nicht stimmen ..
Ich habe mal die configs unten angehängt: vielelicht wird ja jemand
schlau draus.
Die config des L3 cisco hab ich wie im wiki angegeben gemacht:
http://www.linuxmuster.net/wiki/dokumentation:addons:subnetting:l3switch

Allerdings sieht man da beim bonding nicht alles.
Die Ports und das LAG standen auf TRUNK.
Da hab ich jetzt mal umgestellt auf GENERAL, weil man dann explizit
vorgeben kann, dass VLANS durch gehen sollen.
Außerdem kann man dann auch wieder die PVID wählen.
..geht aber trotzdem nicht :-(

Ansonsten gibts halt noch kein subnetting.


Viele Grüße

Holger

----------------root@lmgkvm:/home/linadmin# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
        Aggregator ID: 1
        Number of ports: 4
        Actor Key: 17
        Partner Key: 1000
        Partner Mac Address: cc:d8:c1:6f:83:16

Slave Interface: eth4
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 10:c3:7b:a2:63:e8
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: e8:de:27:a7:89:ed
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: eth3
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:15:17:48:12:f5
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 00:15:17:48:12:f4
Aggregator ID: 1
Slave queue ID: 0

----------------root@lmgkvm:/home/linadmin# ifconfig
bond0     Link encap:Ethernet  HWaddr 10:c3:7b:a2:63:e8
          inet6 addr: 2a02:8071:2884:7a00:12c3:7bff:fea2:63e8/64
Scope:Global
          inet6 addr: 2a02:8071:2884:7a00:60e5:6ac4:f6e8:afa6/64
Scope:Global
          inet6 addr: fe80::12c3:7bff:fea2:63e8/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:9581 errors:0 dropped:52 overruns:0 frame:0
          TX packets:227 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1386660 (1.3 MB)  TX bytes:28164 (28.1 KB)

br100     Link encap:Ethernet  HWaddr 00:0a:5e:53:f7:58
          inet addr:192.168.178.9  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: 2a02:8071:2884:7a00:fc69:60a5:5b12:e115/64
Scope:Global
          inet6 addr: fe80::20a:5eff:fe53:f758/64 Scope:Link
          inet6 addr: 2a02:8071:2884:7a00:20a:5eff:fe53:f758/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6475 errors:0 dropped:0 overruns:0 frame:0
          TX packets:711 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:897394 (897.3 KB)  TX bytes:197570 (197.5 KB)

br0.10    Link encap:Ethernet  HWaddr fe:78:4e:3d:b4:5e
          inet addr:192.168.178.11  Bcast:192.168.178.255
Mask:255.255.255.0
          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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br0.11    Link encap:Ethernet  HWaddr 8e:e0:00:3f:10:de
          inet addr:10.16.1.2  Bcast:10.16.1.255  Mask:255.255.255.0
          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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:0a:5e:53:f7:58
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7189 errors:0 dropped:0 overruns:0 frame:0
          TX packets:703 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1297341 (1.2 MB)  TX bytes:200006 (200.0 KB)
          Interrupt:20

eth1      Link encap:Ethernet  HWaddr 10:c3:7b:a2:63:e8
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:2625 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:531414 (531.4 KB)  TX bytes:6774 (6.7 KB)

eth2      Link encap:Ethernet  HWaddr 10:c3:7b:a2:63:e8
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:1664 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:215324 (215.3 KB)  TX bytes:7384 (7.3 KB)
          Interrupt:32 Memory:fe580000-fe5a0000

eth3      Link encap:Ethernet  HWaddr 10:c3:7b:a2:63:e8
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:1628 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:203409 (203.4 KB)  TX bytes:6912 (6.9 KB)
          Interrupt:33 Memory:fe520000-fe540000

eth4      Link encap:Ethernet  HWaddr 10:c3:7b:a2:63:e8
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:3664 errors:0 dropped:2 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:436513 (436.5 KB)  TX bytes:7094 (7.0 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:57 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4672 (4.6 KB)  TX bytes:4672 (4.6 KB)

virbr0    Link encap:Ethernet  HWaddr 3a:35:dd:d0:68:bd
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

virbr1    Link encap:Ethernet  HWaddr 52:54:00:e3:41:97
          inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
          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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
--------------------
--------------------root@lmgkvm:/home/linadmin# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# bonding interface
auto bond0
iface bond0 inet manual
        bond-slaves eth1 eth2 eth3 eth4
        bond-mode 4
        bond-lacp-rate 1
        bond-miimon 100

# Single Intel PCI GB Karte
#auto eth0
#iface eth0 inet dhcp
#iface eth0 inet manual
# This is an autoconfigured IPv6 interface
#iface eth0 inet6 auto

# vlan bridge internet manual
auto br100
iface br100 inet static
   address 192.168.178.9
   netmask 255.255.255.0
#   network 192.168.178.0
#   broadcast 192.168.178.255
   gateway 192.168.178.1
   dns-nameservers 192.168.178.1
   bridge_ports eth0
   bridge_fd 0
   bridge_maxwait 0

# SinglePCIe Karte Realtec
auto eth1
iface eth1 inet manual
bond-master bond0
# This is an autoconfigured IPv6 interface
#iface eth1 inet6 auto
# The primary network interface

# Dual NIC Karte Intel 1
auto eth2
iface eth2 inet manual
bond-master bond0
# This is an autoconfigured IPv6 interface
#iface eth2 inet6 auto

#Dual Nic Karte Intel 2
auto eth3
iface eth3 inet manual
bond-master bond0
# This is an autoconfigured IPv6 interface
#iface eth3 inet6 auto

# Onboard Realtec Karte
auto eth4
iface eth4 inet manual
bond-master bond0
# This is an autoconfigured IPv6 interface
#iface eth4 inet6 auto

# vlan 10 internet
auto bond0.10
iface bond0.10 inet manual
    vlan-raw-device bond0

# vlan 11 servernetz
auto bond0.11
iface bond0.11 inet manual
    vlan-raw-device bond0

# wlan vlan12
auto bond0.12
iface bond0.12 inet manual
    vlan-raw-device bond0

# dmz vlan13
auto bond0.13
iface bond0.13 inet manual
    vlan-raw-device bond0
#    up ifconfig bond0.13 up
# vlan bridge internet dhcp
#auto br0.10
#iface br0.10 inet dhcp
#   bridge_ports bond0.10
#   bridge_stp on
#   bridge_fd 0
#   bridge_maxage 0
#   bridge_ageing 0
#   bridge_maxwait 0

# vlan bridge internet static
#auto br0.10
#iface br0.10 inet static
#   address 192.168.1.1
#   netmask 255.255.255.0
#   network 192.168.1.0
#   broadcast 192.168.1.255
#   gateway 192.168.1.254
#   dns-nameservers 192.168.1.254
#   bridge_ports bond0.10
#   bridge_stp on
#   bridge_fd 0
#   bridge_maxage 0
#   bridge_ageing 0
#   bridge_maxwait 0

# vlan bridge internet manual
#auto br0.10
#iface br0.10 inet manual
#   bridge_ports bond0.10
#   bridge_stp on
#   bridge_fd 0
#   bridge_maxage 0
#   bridge_ageing 0
#   bridge_maxwait 0
auto br0.10
iface br0.10 inet static
   address 192.168.178.11
   netmask 255.255.255.0
#   network 192.168.178.0
#   broadcast 192.168.178.255
#   gateway 192.168.178.1
#   dns-nameservers 192.168.178.1
   bridge_ports bond0.10
   bridge_stp on
   bridge_fd 0
   bridge_maxage 0
   bridge_ageing 0
   bridge_maxwait 0

# vlan bridge servernetz static
auto br0.11
iface br0.11 inet static
   address 10.16.1.2
   netmask 255.255.255.0
   bridge_ports bond0.11
   bridge_stp on
   bridge_fd 0
   bridge_maxage 0
   bridge_ageing 0
   bridge_maxwait 0

# vlan bridge servernetz manual
#auto br0.11
#iface br0.11 inet manual
#   bridge_ports bond0.11
#   bridge_stp on
#   bridge_fd 0
#   bridge_maxage 0
#   bridge_ageing 0
#   bridge_maxwait 0

# vlan bridge wlan
auto br0.12
iface br0.12 inet static
   bridge_ports bond0.12
   bridge_stp on
   bridge_fd 0
   bridge_maxage 0
   bridge_ageing 0
   bridge_maxwait 0

# vlan bridge dmz
auto br0.13
iface br0.13 inet static
   bridge_ports bond0.13
   bridge_stp on
   bridge_fd 0
   bridge_maxage 0
   bridge_ageing 0
   bridge_maxwait 0


-- 
Mein öffentlicher PGP-key ist hier hinterlegt: pool.sks-keyservers.net
_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

Antwort per Email an