On Wed, Jan 03, 2007 at 03:28:30PM +0100, Chris C. wrote: > Hi > > I've got a ne2000 based Card which shows up as ne1 (BNC) and ne3 (RJ45). > Unter linux I can assign an ip address to a bridge: > > brctl show > bridge name bridge id STP enabled interfaces > br0 8000.0016b6a3ee35 no vlan0 > eth1 > ifconfig br0 > br0 Link encap:Ethernet HWaddr 00:16:B6:A3:EE:35 > inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0 > inet6 addr: fe80::216:b6ff:fea3:ee35/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:6276 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4805 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:395441 (386.1 KiB) TX bytes:617692 (603.2 KiB) > > route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br0 > 0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 br0 > so there's no routing issue with having eg. 10.0.0.100 connected via BNC and > 10.0.0.101 via RJ45. > > But under 4.0 I am not allowed to assign an ip: > # ifconfig bridge0 create > # brconfig bridge0 add ne1 add ne3 > # ifconfig bridge0 10.4.19.1 > ifconfig: SIOCAIFADDR: Invalid argument > > Is my idea totally wrong? >
Yes. A bridge is a layer 2 device without any address bound to it. Configure your IP on one of the ethernet devices instead. -- :wq Claudio