Skip to content

Commit

Permalink
modify ip from 127 to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
wxl committed Apr 13, 2016
1 parent 88209a2 commit 5414fac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
10 changes: 5 additions & 5 deletions topo-1sw-2host.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def __init__( self ):
Topo.__init__( self )

# Add hosts and switches
leftHost = self.addHost( '2',ip='127.0.0.2' )
rightHost = self.addHost( '3',ip='127.0.0.3' )
rightSwitch = self.addSwitch( '1')
leftHost = self.addHost( 'h2',ip='10.0.0.2' )
rightHost = self.addHost( 'h3',ip='10.0.0.3' )
rightSwitch = self.addSwitch( 's1')



# Add links
self.addLink( leftHost, rightSwitch)
Expand Down
9 changes: 0 additions & 9 deletions topo_1sw-2host.txt

This file was deleted.

0 comments on commit 5414fac

Please sign in to comment.