[Netkit.users] Link A - B - C

Massimo Rimondini maxonthenet a tiscali.it
Ven 25 Mar 2005 12:24:27 CET

Dear Alpt,

I tried to implement your topology with Netkit, and it seems to work. I 
only had to alter the order of commands issued on pc2:

brctl addbr br0
ifconfig eth0 promisc up
ifconfig eth1 promisc up
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig br0 up

What do you mean when you say that it doesn't work at all?


Alpt wrote:

>Hi there,
>I need to reconstruct with netkit the following topology:
>       A(eth0) -- (eth0)B(eth1) -- (eth0)C
>B must have only one ip.
>The purpose of this is having an ad-hoc network were 
>A is directly linked with B and B with C, but A doesn't see C.
>I'm trying with:
>$ vstart pc1 --eth0=A $X
>$ vstart pc2 --eth0=A --eth1=B $X
>$ vstart pc3 --eth0=B $X
>pc3# ifconfig eth0
>pc1# ifconfig eth0
>pc2# /sbin/brctl addbr br0
>     /sbin/brctl addif br0 eth1
>     /sbin/brctl addif br0 eth0
>     /sbin/ifconfig eth0 promisc up
>     /sbin/ifconfig eth1 promisc up
>     ifconfig eth0 hw ether 00:00:00:00:00:06
>     ifconfig eth1 hw ether 00:00:00:00:00:07
>     /sbin/ifconfig br0 up
>But this doesn't work at all.
>Any hints?
>Best Regards

Maggiori informazioni sulla lista Netkit.users