环境概述:
两台路由器,在各自的Ethernet口上连接Windows 2000,两台
Win2000分别为db-sys和dell-laptop,并且只运行Netbeui和Ms
文件共享协议,通过Dlsw,实现Netbios的连接。其配置如下:
R1:
dlsw local-peer peer-id 192.168.3.1 promiscuous
dlsw remote-peer 0 tcp 192.168.2.1
dlsw bridge-group 1
interface Loopback0
ip address 192.168.3.1 255.255.255.0
!
interface Ethernet0
ip address 192.168.12.1 255.255.255.0
bridge-group 1
!
interface Serial0
ip address 192.168.1.2 255.255.255.0
no ip mroute-cache
no fair-queue
!
interface Serial1
no ip address
shutdown
!
router eigrp 100
network 192.168.1.0
network 192.168.3.0
network 192.168.12.0
!
ip classless
!
bridge 1 protocol ieee
!
!
end
R2:
dlsw local-peer peer-id 192.168.2.1 promiscuous
dlsw remote-peer 0 tcp 192.168.3.1
dlsw bridge-group 1
!
process-max-time 200
!
interface Loopback0
ip address 192.168.2.1 255.255.255.0
!
interface Ethernet0
ip address 192.168.11.1 255.255.255.0
bridge-group 1
!
interface Serial0
ip address 192.168.1.1 255.255.255.0
no ip mroute-cache
no fair-queue
clockrate 1000000
!
interface Serial1
no ip address
shutdown
!
interface BRI0
no ip address
shutdown
!
router eigrp 100
network 192.168.1.0
network 192.168.2.0
network 192.168.11.0
!
ip classless
!
bridge 1 protocol ieee
!
在 db-sys 上可以看到 dell-laptop上共享出来的文件,
反之亦然!
查看结果:
r1# show dlsw cir
r1# show dlsw peer
r1# show dlsw rea
等等