Today's demands on wireless ad hoc and peer-to-peer communications have motivated a variety of relay-assisted wireless network configurations, such as networks with single or multiple relay(s), source(s) and destination(s), as well as unidirectional and bidirectional communications. We are particularly interested in two scenarios: (1) When there are plenty of relay nodes such that one source-destination pair is assisted by parallel relay channels. In this scenario, we proposed the distributed relay selection and power allocation algorithms. (2) When there are many users wishing to exchange information and potentially having to share intermediate relay(s). In this scenario, when CDMA is employed, we designed the multiuser two-way relaying scheme allowing each pair of partners share a common spreading signature, solved the interference management problem by constructing the iterative power control and receiver updates that converge to the corresponding unique optimum, and achieved significant power savings and user capacity improvement; when orthogonal channels are available for each user pair, we investigated the optimum relay power allocation problem for various relay forwarding mechanisms to maximize the arbitrary weighted sum rate of all users.