On 14.4.2011 18:18, Kapetanakis Giannis wrote:
I'm not sure what you're trying to do, but

i'm trying to understand why vlans aren't working on ix interface
i need vlans on ix0 (interface connected to switch) for lan's and ix1 (interface directly connected to other openbsd server) for ospf
other two bnx interfaces would be for pfsync and ptp link to isp


a) are you sure you have enabled dot1q vlan tagging on the switch port
and vlan is in the list of allowed VLANs?

yap i have and for that reason just to avoid switching problems, arp cache and stuff like that i enabled vlans on directly connected ix1 interface, just for testing purposes

on bnx interfaces everything is working ok ....


b) If you are not using switch (you say something about cross connected)
why do you need vlan(4) separation??
In this case you might need to define null vlan 0 and maybe vlan 1 as
well to make it behave like a switch trunk port.

tried with vlan0 but that i get this:
vlan0 with ip address, pinging thru vlan0

# tcpdump -i ix1
tcpdump: listening on ix1, link-type EN10MB
20:51:32.240914 802.1Q vid 0 pri 0 802.1Q vid 0 pri 0 arp who-has 10.8.8.2 tell 10.8.8.1 20:51:33.250920 802.1Q vid 0 pri 0 802.1Q vid 0 pri 0 arp who-has 10.8.8.2 tell 10.8.8.1

:)

tcpdump on vlan0 without ip address, pinging thru vlan123
# tcpdump -i vlan0
tcpdump: listening on vlan0, link-type EN10MB
20:57:32.022784 802.1Q vid 123 pri 0 arp who-has 10.5.5.2 tell 10.5.5.1
20:57:33.032790 802.1Q vid 123 pri 0 arp who-has 10.5.5.2 tell 10.5.5.1

interesting thing is that i can't see any icmp traffic only arp


--
/hrvoje

Reply via email to