Re: dlsw problem

From: Ray Masbad (rmasbad@sbcglobal.net)
Date: Fri Oct 04 2002 - 12:29:10 GMT-3


You're somewhat correct.

The 0 means you are not specifying a ring-list, bridge-list, or
port-list to associate a remote peer with a local virtual ring or bridge
group.
The 0 also means that you are mapping a remote peer to a single local
virtual ring or bridge group you have created.

Here is an an example:

R1 has two ethernet i/fs (E0 and E1). It also has two dlsw remote peers
in R2 and R3. R1 wants to control the explorer packets going to E0 & E1
coming from the two remote peers. For instance, explorer packets from
R2 should only go to R1's E0 i/f, and those from R3 should only go to
R1's E1 i/f.

To do this, you assign E0 and E1 to their own bridge groups -
bridge-group 10 (for E0) and bridge-group 20 (for E1), as an example.
 You then specify a dlsw bridge-group list to identify which dlsw remote
peer will map with which local bridge-group.

The following are potential configs:
!
hostname R1
!
dlsw local-peer peer-id 192.168.10.1
dlsw bgroup-list 1 bgroups 10
dlsw bgroup-list 2 bgroups 20
dlsw remote-peer 1 tcp 192.168.20.1
dlsw remote-peer 2 tcp 192.168.30.1
dlsw bridge-group 10
dlsw bridge-group 20
!
interface Loopback 0
 ip address 192.168.10.1 255.255.255.252
!
interface Ethernet 0
 ip address 172.100.10.1 255.255.255.0
 bridge-group 10
!
interface Ethernet 1
 ip address 172.100.20.1 255.255.255.0
 bridge-group 20
!
bridge 10 protocol ieee
bridge 20 protocol ieee
!
----------------------------------
!
hostname R2
!
dlsw local-peer peer-id 192.168.20.1
dlsw remote-peer 0 tcp 192.168.10.1
dlsw bridge-group 1
!
interface Loopback 0
 ip address 192.168.20.1 255.255.255.252
!
interface Ethernet 0
 ip address 20.20.20.1 255.255.255.0
 bridge-group 1
!
bridge 1 protocol ieee
!
--------------------------------
!
hostname R3
!
dlsw local-peer peer-id 192.168.30.1
dlsw remote-peer 0 tcp 192.168.10.1
dlsw bridge-group 1
!
interface Loopback 0
 ip address 192.168.30.1 255.255.255.252
!
interface Ethernet 0
 ip address 30.30.30.1 255.255.255.0
 bridge-group 1
!
bridge 1 protocol ieee
!

HTH

chenyan wrote:

>hi,guys
>
>Using the commands:
>dlsw local-peer peer-id 10.1.1.1
>dlsw remote-peer 0 tcp 10.1.1.2
>I think the 0 means that all the interfaces of the local peer can be mapped to the remote peer, and if the 0 is replaced by non zero like 1, then I must add the command" dlsw bridge-group 1" to map the bridge-group to remote peer. Is it right?
>
>But if the remote peer only use the "dlsw local-peer peer-id 10.1.1.2 promiscious" then how can I know which interfaces can be available to the dlsw traffic?
>
>Thanks



This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:35:39 GMT-3