[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: half-duplex port?



Huiwen,

set lan1 [$ns make-lan "$n0 $n2" args]
set lan2 [$ns make-lan "$n1 $n2" args]
set the_link [$ns duplex-link $n2 $n3 args]

should do it...

use plain Mac, not Mac/802_3

> X-Authentication-Warning: mash.CS.Berkeley.EDU: majrdomo set sender to 
[email protected] using -f
> From: "Huiwen Li" <[email protected]>
> To: "'[email protected]'" <[email protected]>
> Subject: half-duplex port?
> Date: Wed, 19 Jan 2000 13:34:11 -0800
> MIME-Version: 1.0
> 
> Hi, 
> 
> Does ns implement half-duplex port or anyone have experience in
> implementing? I have the following topology
> 
> n0 ---
>           \
>             \
>               n2 --------n3
>             /
>           /
> n1 ---
> 
> n2 node has two ports, one connecting to n0 and the other to n1, the link
> connecting n0 and n2 and the link connecting n1 and n2 are half-duplex. So
> both ports at n2 are half-duplex. I know I should implement the link as a
> LAN, but n2 itself should be in each LAN, otherwise n0 and n1 will be
> connected as in the same LAN. I thought I could insert a node between n0 and
> n2 to act as a "virtual port", but the buffer setting would be very tricky. 
> 
> Does any one have an idea how to implement this? 
> 
> Thanks,
> Huiwen 
> 
> 

Tarik