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

Re: disconnecting a node from a LAN in ns



it's because the vlink is really a virtual link. It only represents connectivity 
within the LAN. If you need to "disconnect" you should try at the LanRouter 
level (?).  
> X-Authentication-Warning: apache.utdallas.edu: bguru owned process doing -bs
> Date: Sun, 3 Oct 1999 17:44:48 -0500 (CDT)
> From: Guruprasad Bhaskar <[email protected]>
> To: [email protected]
> Subject: disconnecting a node from a LAN in ns
> MIME-Version: 1.0
> 
> 
> Hi,
> 
> I created a LAN with say, 3 nodes using "make-lan" command in ns-2.1b5. I
> then initiated a TCP
> session with an external node (connected to the LAN through another
> node) as the source and one of the LAN nodes as the sink. After the
> session starts, I am not able to make the "vlink" ( which connects the
> TCP sink and the LAN) down. I am able to obtain the id of this vlink but
> the command "$link(src_id:dst_id) down" does not help. But with this
> command I am able to make the link down only before the TCP session
> starts, not after that. 
> 
> I would appreciate it if anybody can help me out of this problem,
> 
> Thanx,
> 
> Guru.
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "Great minds discuss ideas, average minds discuss events, 
>  small minds discuss people"
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ************************************************************
> Guruprasad Bhaskar
> Graduate student,
> Dept. of Electrical Engineering,
> University of Texas at Dallas
> 
> Voice : (H) 972 671 0357  ;  (W) 972 883 2305
> 
> Residence : 2400 Waterview Pkwy #326
>             Richardson, TX-75080
> ************************************************************

Tarik