forked from ljakab/py-lispnetworking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
72 lines (40 loc) · 1.6 KB
/
INSTALL
File metadata and controls
72 lines (40 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
LISP Networking module
To use this library you should install the following:
- python 2.6
- virtualenv 2.6
- scapy 2.2.0-dev
MACOSX GUIDE:
Install macports from http://www.macports.org/
Install git-core and mercurial
$ sudo port install git-core mercurial
Clone the repo into the project directory
$ git clone https://github.com/intouch/py-lispnetworking.git
Install virtualenv and friends
$ sudo port install python26 py26-virtualenv libdnet py26-libdnet py26-pylibpcap
Setup virtualenv
$ cd py-lispnetworking
$ virtualenv-2.6 .
$ source bin/activate
$ pip install -r pip-requirements.txt
Now continue with Step 1 below.
UBUNTU GUIDE:
Setup virtualenv and python
$ sudo apt-get install libxslt1-dev libxml2-dev python-virtualenv python-pip python-dev python2.6
Install git-core mercurial, libpcap0.8, libpcap0.8-dev
$ sudo apt-get install git-core mercurial libpcap0.8 libpcap0.8-dev
Clone repo from github.com
$ git clone https://github.com/intouch/py-lispnetworking.git
Enter project directory and setup virtualenv
$ cd py-lispnetworking
$ python2.6 /usr/bin/virtualenv .
$ source bin/activate
$ pip install -r pip-requirements.txt
Now continue with Step 1 below.
Step 1: STARTING THE SCAPY SHELL WITH LISP GOODNESS
Gain superuser privileges and start the programs
$ sudo -s
# source ./bin/activate
# ./lisp.py
# ./lig.py
Step 2: EXIT THE ENVIROMENT
$ deactivate