On 7/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Dear friends, > > saya lagi coba bikin bridge dengan konfigurasi sbb: > > br0 (192.168.100.11) > +--------------------------------+ > 192.168.100.254 > ! ! > +----------------+ > LAN ----//----- eth0 ---+ +- eth1 > ------------------+ Router +---> Internet > via ! ! > Cross +----------------+ > switch +--------------------------------+ > Cable > > > untuk simulasi saya gunakan konfigurasi berikut: > > br0 (192.168.100.11) > +--------------------------------+ > 192.168.100.254 > ! ! > +----------------+ > notebook_a ---- eth0 ---+ +- eth1 > ------------------+ notebook_b > cross ! ! > Cross +----------------+ > cable +--------------------------------+ > Cable > > > > command yg saya run: > > # ifconfig eth0 0.0.0.0 > # ifconfig eth1 0.0.0.0 > # brctl addbr br0 > # brctl addif br0 eth0 > # brctl addif br0 eth0 > # ifconfig br0 up > # ifconfig br0 192.168.100.11 netmask 255.255.255.0 up > > output ifconfig command: > > br0 Link encap:Ethernet HWaddr 00:04:75:BC:BE:90 > inet addr:192.9.18.11 Bcast:192.9.18.255 Mask:255.255.255.0 > inet6 addr: fe80::204:75ff:febc:be90/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:49 errors:0 dropped:0 overruns:0 frame:0 > TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:3914 (3.8 Kb) TX bytes:1864 (1.8 Kb) > > eth0 Link encap:Ethernet HWaddr 00:0A:5E:04:62:84 > inet6 addr: fe80::20a:5eff:fe04:6284/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:49 errors:0 dropped:0 overruns:0 frame:0 > TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:12510 (12.2 Kb) TX bytes:2496 (2.4 Kb) > Interrupt:10 Base address:0xe400 > > eth1 Link encap:Ethernet HWaddr 00:04:75:BC:BE:90 > inet6 addr: fe80::204:75ff:febc:be90/64 Scope:Link > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:112 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:9574 (9.3 Kb) > Interrupt:11 Base address:0xe800 > > eth2 Link encap:Ethernet HWaddr 00:04:75:DA:1C:64 > inet addr:192.168.18.253 Bcast:192.168.18.255 Mask:255.255.255.0 > inet6 addr: fe80::204:75ff:feda:1c64/64 Scope:Link > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Interrupt:11 Base address:0xec00 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:47 errors:0 dropped:0 overruns:0 frame:0 > TX packets:47 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:4416 (4.3 Kb) TX bytes:4416 (4.3 Kb) > > output route command: > > Kernel IP routing table > Destination Gateway Genmask Flags Metric > Ref Use Iface > localnet * 255.255.255.0 U > 0 0 0 br0 > 192.168.18.0 * 255.255.255.0 U 0 > 0 0 eth2 > loopback * 255.0.0.0 U > 0 0 0 lo > default 192.9.18.254 0.0.0.0 UG 0 > 0 0 br0 > > Hasilnya : > 1. notebook_a bisa reply ping dari bridge, begitu juga sebaliknya. > 2. notebook_b tidak bisa reply ping dari bridge, begitu juga sebaliknya. > 3. notebook_a tidak bisa reply ping dari notebook_b, begitu juga sebaliknya. > > pertanyaan: > bagaimana agar hasil no. 2 dan no. 3 tidak terjadi? sehingga dari kedua > notebook bisa saling reply jika dilakukan ping. > > thanks in advanced > sigid > > > -- > Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] > Arsip, FAQ, dan info milis di http://linux.or.id/milis > Tidak bisa posting? Baca: > http://linux.or.id/problemmilis > http://linux.or.id/tatatertibmilis > >
salam coba brctl addif nya diganti brctl addif br0 eth0 brctl addif br0 eth1 namanya juga jembatan (bridge) kok addif nya cuma ke eth0 aja ke eth1 nya juga donk :D trus klo di brctl show kluarnya gini : [EMAIL PROTECTED] root]# brctl show bridge name bridge id STP enabled interfaces br0 8000.000629c90688 no eth0 eth1 CMIWW salam andhye -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip, FAQ, dan info milis di http://linux.or.id/milis Tidak bisa posting? Baca: http://linux.or.id/problemmilis http://linux.or.id/tatatertibmilis