I am having problems getting ospfd to work with 802.1q vlans. I have 2
existing ospfd servers that are working correctly with physical interfaces in
each network they are trying to take part in. I recently built new box that
I'm trying to use vlans as it only has 2 interfaces and I want it to talk to
3 different networks. When I start `ospfd -d` to see why no networks ever
get populated into the FIB I get the follow errors. Is there anything I can
do to resolve this problem?
Tim Donahue
recv_dd_description: invalid MTU 1500 sent by neighbor ID 10.4.64.3, expected
1496
if_fsm: event WAITTIMER resulted in action NOTHING and changing state for
interface vlan33 from DROTHER to DROTHER
recv_dd_description: invalid MTU 1500 sent by neighbor ID 10.4.64.1, expected
1496
# ifconfig
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:c0:f0:16:f0:5e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::2c0:f0ff:fe16:f05e%de0 prefixlen 64 scopeid 0x2
vlan33: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
lladdr 00:c0:f0:16:f0:5e
vlan: 33 priority: 0 parent interface: de0
groups: vlan
inet6 fe80::2c0:f0ff:fe16:f05e%vlan33 prefixlen 64 scopeid 0xf
inet 10.4.64.4 netmask 0xffffff00 broadcast 10.4.64.255
vlan35: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
lladdr 00:c0:f0:16:f0:5e
vlan: 35 priority: 0 parent interface: de0
groups: vlan
inet6 fe80::2c0:f0ff:fe16:f05e%vlan35 prefixlen 64 scopeid 0x10
inet 10.2.8.1 netmask 0xffffff00 broadcast 10.2.8.255
# cat /etc/ospfd.conf
# $OpenBSD: ospfd.conf,v 1.2 2005/02/06 20:07:09 norby Exp $
# macros
password="secret"
# global configuration
router-id 10.4.64.4
fib-update yes
# spf-delay 1
# spf-holdtime 5
redistribute none
# auth-key $password
# auth-type simple
# hello-interval 10
# metric 10
# retransmit-interval 5
# router-dead-time 40
# router-priority 1
# transmit-delay 1
# areas
area 1 {
interface vlan33 {
auth-type none
}
}
# cat /etc/pf.conf
# $OpenBSD: pf.conf,v 1.29 2005/08/23 02:52:58 henning Exp $
#
# See pf.conf(5) and /usr/share/pf for syntax and examples.
# Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1
# in /etc/sysctl.conf if packets are to be forwarded between interfaces.
set skip on { lo }
scrub in
block in log
pass out keep state
antispoof quick for { lo }
pass in on de0 from any to any
pass in on vlan33 from any to any
pass in on vlan35 from any to any