Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mininet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Olaf Bergmann
mininet
Commits
d8ef79df
Commit
d8ef79df
authored
15 years ago
by
Bob Lantz
Browse files
Options
Downloads
Patches
Plain Diff
Tweaks for install and readme files.
parent
af8f0b61
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
INSTALL
+8
-4
8 additions, 4 deletions
INSTALL
README
+6
-32
6 additions, 32 deletions
README
with
14 additions
and
36 deletions
INSTALL
+
8
−
4
View file @
d8ef79df
Preliminary
Install
ation Notes
Preliminary
Mininet Installation/Configur
ation Notes
- Mininet is not currently 'installed.' If you want to install it,
so that you can 'import mininet', place it somewhere in your
python path.
- A functional netns binary is required to run mininet, but currently you
have to compile it and install it yourself from the included .c file:
to make it: make netns (or cc -o netns netns.c)
to test it: ./netns /bin/
echo
to 'install' a link to it:
to test it: ./netns /
s
bin/
ifconfig -a
to 'install' a link to it
, you could do something like
:
sudo ln -s /home/openflow/mininet/netns /usr/local/bin/netns
Installation is simplest with a distribution that includes a kernel
...
...
@@ -17,7 +21,7 @@ Preliminary Installation Notes
sudo aptitude/yum install iperf
We assume you already have ping installed.
We assume you already have ping installed.
;-)
- You may need other packages to run the examples, e.g.
...
...
This diff is collapsed.
Click to expand it.
README
+
6
−
32
View file @
d8ef79df
...
...
@@ -24,12 +24,12 @@ In order to run Mininet, you must have:
datapath may be used, and the tun or ofdatapath kernel modules must be
loaded, respectively)
* Python, Bash, etc.
* Python, Bash,
Ping, iPerf,
etc.
* Root privil
i
eges (required for network device access)
* Root privileges (required for network device access)
* The netns program
or equivalent
(included as netns.c)
inst
alled
in an appropriate path location.
* The netns program (included as netns.c)
, or an equivalent program c
alled
'netns', installed
in an appropriate path location.
* mininet.py installed in an appropriate Python path location.
...
...
@@ -41,41 +41,15 @@ Currently mininet includes:
- A simple network infrastructure (class Network and its descendants
TreeNet, GridNet and LinearNet) for creating scalable topologies and
running experiments (using someNetwork.run( test ) )
- Some simple tests which can be run using someNetwork.run( test )
- A simple command-line interface which may be invoked on a network using
.run( Cli )
- Examples (in examples/ directory) to help you get started.
Notes and Advice:
For scalable configurations, you may need to increase some of your kernel
limits. For example, you could add something like the following to
/etc/sysctl.conf:
# OpenFlow: get rid of ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
# Mininet: Increase open file limit
fs.file-max = 100000
# Mininet: increase network buffer space
net.core.wmem_max = 16777216
net.core.rmem_max = 16777216
net.ipv4.tcp_rmem = 10240 87380 16777216
net.ipv4.tcp_rmem = 10240 87380 16777216
net.core.netdev_max_backlog = 5000
# Mininet: increase arp cache size
net.ipv4.neigh.default.gc_thresh1 = 4096
net.ipv4.neigh.default.gc_thresh2 = 8192
net.ipv4.neigh.default.gc_thresh3 = 16384
# Mininet .... and increase routing table size
net.ipv4.route.max_size=32768
Some preliminary installation notes are included in the INSTALL file.
---
Bob Lantz
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment