bridge configuration and interface names

Lenar D. Tukhvatullin blackv at netroad.ru
Sun Oct 17 10:44:42 PDT 2004


FreeBSD 5.3-BETA7, cvsup'ed today:

# ifconfig bge0.100 create
...
# sysctl net.link.ether.bridge.enable=1
# sysctl net.link.ether.bridge.config="bge0.100 bge1"

in log:

... kernel: interface 100 Not found in bridge

and bridge does not work...

It is necessary to correct this bug in bridge.c

sys/net/bridge.c, line 505:

   /* names are lowercase and digits */
   for ( beg = p ; islower(*p) || isdigit(*p) ; p++ )

Other letters, like ".", "-", "_", may be present in
interface names.

-- 
 Lenar D. Tukhvatullin


More information about the freebsd-current mailing list