On 2012-06-03, Paul B. Henson <[email protected]> wrote:
> I'm trying to setup ospf on a trunk interface. I've had it configured
> and working fine on a regular interface for quite some time, and now am
> trying to add another neighbor on a trunk interface, and it just shows
> the interface as down:
>
> # ospfctl show i
> Interface   Address            State  HelloTimer Linkstate  Uptime    nc ac
> trunk0      10.128.0.9/30      DOWN   -          active     00:00:00   0 0
> lo1         10.128.0.4/32      LOOP   -          unknown    17w5d04h   0 0
> re0         10.128.0.1/30      BCKUP  00:00:05   active     17w5d08h   1 1

I'm not sure what's wrong here, but ospfd and snmpd certainly work with
trunk ports (and also vlans on trunk ports).

$ ospfctl sh i trunk0 

Interface trunk0, line protocol is UP
  Internet address 85.158.44.149/28, Area 0.0.0.0
  Linkstate active
  Router ID 85.158.44.149, network type BROADCAST, cost: 10
  Transmit delay is 1 sec(s), state BCKUP, priority 1
  Designated Router (ID) 85.158.44.145, interface address 85.158.44.145
  Backup Designated Router (ID) 85.158.44.149, interface address 85.158.44.149
  Timer intervals configured, hello 333 msec, dead 1, wait 1, retransmit 5
    Hello timer due in 00:00:00+305msec
    Uptime 00:00:55
  Neighbor count is 1, adjacent neighbor count is 1
  Message digest authentication enabled
    Primary key id is 1

Did you create the trunk interface *before* or *after* starting ospfd?
I have seen ospfd get the wrong state on interfaces created after startup,
iirc sometimes "ifconfig down+up" helps, sometimes you need to restart
ospfd.

Reply via email to