Learning Switch App for Multi Switch
sushiljain1989 opened this issue · 0 comments
sushiljain1989 commented
Hi,
I was trying to execute the learning4.py with a network having topology like :
h1 = self.addHost('h1')
h2 = self.addHost('h2')
h3 = self.addHost('h3')
h4 = self.addHost('h4')
h5 = self.addHost('h5')
s1 = self.addSwitch('s1')
s2 = self.addSwitch('s2')
self.addLink(h1, s1)
self.addLink(h2, s1)
self.addLink(h3, s1)
self.addLink(s1 , s2)
self.addLink(h4 , s2)
self.addLink(h5 , s2)
When I run the pingall command in mininet, hosts in switch are not able to communicate with hosts in another switch. I went through the multi-switch topology example mentioned in programmers guide. However, in that example internal ports that connect edge and core routers are hard-coded.
Is it possible to make mac learning application work in multi-switch topology without knowing the internal ports in advance ?
Thanks,
SJ