I'm having trouble to configure these two. Let me know if there are any online resources, though I've tried.
Huawei S2700-26TP-SI-AC is a 26 port switch.
I'd like make port 2 for trunking of vlan 2 and 5.
Here vlan 2 will have port 3, 4 and
vlan 5 will have port 5, 6, 7, 8.
I've added two vlan at eth1 of my linux box using following commands:
vconfig add eth1 2
vconfig add eth1 5
eth1.2 Link encap:Ethernet HWaddr 00:E0:4C:56:29:9D
inet addr:10.0.0.33 Bcast:10.0.0.63 Mask:255.255.255.224
eth1.5 Link encap:Ethernet HWaddr 00:E0:4C:56:29:9D
inet addr:10.0.0.129 Bcast:10.0.0.159 Mask:255.255.255.224
Now, from a host 10.0.0.35/27 connected to cisco2950 port 3, I can ping 10.0.0.34 but cannot reach 10.0.0.33 and
From linuxbox 10.0.0.33/27 I can't ping 10.0.0.34 or 10.0.0.35.
Interesting things is that I can see the packets trying from 10.0.0.35 using
tcpdump -i eth1
Little help will be highly appreciated.
I've found the missing point, "switchport nonegotiate" for the trunk port.
Just to inform, the Huawei S2700-26TP-SI-AC does not accept
#neeswitchport trunk encapsulation dot1q
as it has only dot1q and forced.
switchport access vlan 2
trunk port working with the above conf. I've configures it as this port can also work as access port.
switchport trunk allowed vlan 2-10 // 2,5 might be better
2-10 also works perfectly.
I'll check the following entry though the packets are crossing through trunk port with existing conf:
p route 10.0.0.32 255.255.255.224 vlan2
ip route 10.0.0.128 255.255.255.224 vlan5