[Netkit.users] Link A - B - C
Alpt
alpt a freaknet.org
Ven 25 Mar 2005 11:59:04 CET
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
--
:wq!
"I don't know nothing" The One Who reached the Thinking Matter '.'
[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9 5277 BFF8 037E 441C F0EE ]
Maggiori informazioni sulla lista
Netkit.users