Greetings all,

[ Quick summary, in the logs I am getting the following type of 'errors': ]
[   Mar 22 19:32:51 libra kernel: nf_hook: hook 3 already set.            ]
[   Mar 22 19:32:51 libra kernel: skb: pf=7 (owned) dev=eth1 len=96       ]
[   Mar 22 19:36:24 libra kernel: nf_hook: hook 3 already set.            ]
[   Mar 22 19:36:24 libra kernel: skb: pf=7 (unowned) dev=eth2 len=136    ]
*** Why am I getting the these messages?


Firstly, I have a bridge (br0) between two eepro100 cards (eth1, eth2)
which seems to be working perfectly without an assigned IP address.
I have a third interface (eth0) which I'm using to configure the box.

  [ 192.168.20.2 ] --- [ eth1 | br0 | eth2 ] --- [192.168.20.4]

The problem occurs when I try to add an IP address to br0.

[Using linux 2.4.17 with no additional patches.]

When brought up with 'ifconfig br0 0.0.0.0' everything works well.

br0       Link encap:Ethernet  HWaddr 00:02:B3:3C:68:05  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

eth1      Link encap:Ethernet  HWaddr 00:02:B3:3C:68:05  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:132 errors:0 dropped:0 overruns:0 frame:0
          TX packets:879 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:11 Base address:0xd000 

eth2      Link encap:Ethernet  HWaddr 00:02:B3:3C:6D:A3  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:982 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0xf000 


The problem comes when I add an ipaddress, with:
  ifconfig br0 192.168.20.1 netmask 255.255.255.0 broadcast 192.168.20.255

If I try to transmit.. eg. ping 192.168.20.2
I get the following on the console..

  nf_hook: hook 3 already set.
  skb: pf=7 (owned) dev=eth2 len=84
  nf_hook: hook 4 already set.
  skb: pf=7 (owned) dev=eth2 len=84
  nf_hook: hook 0 already set.
  skb: pf=2 (unowned) dev=br0 len=84
  PROTO=1 192.168.20.2:0 192.168.20.1:0 L=84 S=0x00 I=11536 F=0x0000 T=255
  nf_hook: hook 1 already set.
  skb: pf=2 (unowned) dev=br0 len=84
  PROTO=1 192.168.20.2:0 192.168.20.1:0 L=84 S=0x00 I=11536 F=0x0000 T=255

Ping results from the bridge:

  # ping 192.168.20.2 -c 1
  PING 192.168.20.2 (192.168.20.2): 56 data bytes
  64 bytes from 192.168.20.2: icmp_seq=0 ttl=255 time=109.3 ms

(Should it really take this long?)

Ping result through the bridge:
  # ping 192.168.20.2 -c 1
  PING 192.168.20.2 (192.168.20.2): 56 data bytes
  64 bytes from 192.168.20.2: icmp_seq=0 ttl=255 time=0.2 ms

There are no messages when using eth0.
Any ideas? Thanks in advance. 

Paul
--
                Paul Schulz - Software Engineer [codito, ergo sum]
        Foursticks Pty Ltd - 2/259 Glen Osmond Road, Frewville, SA 5063
    Phone: +61 8 8338 5500   Fax: +61 8 8338 5511   Mobile: +61 401 981 301
       Email: [EMAIL PROTECTED]           Web: www.foursticks.com

_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to