[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 0.0.0.0 promisc up
ifconfig eth1 0.0.0.0 promisc up
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig br0 10.0.0.2 up
What do you mean when you say that it doesn't work at all?
Regards,
Massimo.
Alpt wrote:
>Hi there,
>I need to reconstruct with netkit the following topology:
>
> 10.0.0.1 10.0.0.2 10.0.0.3
> 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 10.0.0.3
>pc1# ifconfig eth0 10.0.0.1
>pc2# /sbin/brctl addbr br0
> /sbin/brctl addif br0 eth1
> /sbin/brctl addif br0 eth0
> /sbin/ifconfig eth0 0.0.0.0 promisc up
> /sbin/ifconfig eth1 0.0.0.0 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 10.0.0.2 up
>
>But this doesn't work at all.
>
>Any hints?
>
>Best Regards
>
>
Maggiori informazioni sulla lista
Netkit.users