ping stucks/hangs on PCI 3com NIC sk0 interface but works on builtin NIC

Steve Bertrand steve at ibctech.ca
Fri Feb 27 06:09:06 PST 2009


Faizan ul haq Muhammad wrote:

>> Provide the output to "ifconfig bridge0", and "kldstat".
> 
> ifconfig bridge0
> 
> bridge0: flags=8843<UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST> metric 0
> mtu 1500
> ther 0e:04:7b:09:e7:b0
> inet 192.168.0.1 network 0xffffff00 broadcast 192.168.0.255
> id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
> maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
> root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
> 
> kldstat:
> id     REfs   Address                        Size         Name
> 1      7       0xc0400000                  9111ec     kernel
> 2      1       0xc0d12000                  6a32c       acpi.ko
> 3.     1       0xc4628000                  22000       lunux.ko
> 
> 

That is what I kind of thought...

> ...One more thing: do i need to enable bridging through some SCTL command.
> somthing like sysctl net.link.ether.bridge.config=sk0:0, sk1:0
> 
> by the way this command generates this error: "unknown oid
> net.link.ether.bridge.config "

Put:

if_bridge_load="YES" in /boot/loader.conf.

You can also load the module with:

kldload if_bridge

IIRC, your settings in rc.conf should be enough to configure the bridge,
 so if you choose to load dynamically while running, try a
"/etc/netstart" to configure the bridge.

If that doesn't work, a reboot should.

If you can't get it to work, supply the same output I asked for above,
and then I'll set up a quick lab here to test it.

Steve


More information about the freebsd-questions mailing list