Comments (4)
Hello,
Could you tell me which version of FRR you are using with the following command ?
$ zebra -v
And the version of ipmininet that you use with the following command ?
$ pip show ipmininet
Can you execute the examples simple_ospf_network
and simple_ospfv3_network
or does it raise the same issue ?
from ipmininet.
@jadinm Hi ,Thanks for your reply and here is my terminal log, simple_ospf_network works well but simple_ospfv3_network raise the same issue
zebra -v
vihanchou@Ubuntu18:~/Desktop/SRv6$ zebra -v
zebra version 1.2.4
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
--build=aarch64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/aarch64-linux-gnu --libexecdir=${prefix}/lib/aarch64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-exampledir=/usr/share/doc/quagga/examples/ --localstatedir=/run/quagga --sysconfdir=/etc/quagga --disable-watchquagga --with-libpam --enable-user=quagga --enable-group=quagga --enable-vty-group=quaggavty --enable-configfile-mask=0660 --enable-logfile-mask=0640 --enable-multipath=64 --libdir=/usr/lib/quagga CFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-FLrsys/quagga-1.2.4=. -fstack-protector-strong -Wformat -Werror=format-security CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-FLrsys/quagga-1.2.4=. -fstack-protector-strong -Wformat -Werror=format-security FCFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-FLrsys/quagga-1.2.4=. -fstack-protector-strong FFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-FLrsys/quagga-1.2.4=. -fstack-protector-strong GCJFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-FLrsys/quagga-1.2.4=. -fstack-protector-strong LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-FLrsys/quagga-1.2.4=. -fstack-protector-strong -Wformat -Werror=format-security OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-FLrsys/quagga-1.2.4=. -fstack-protector-strong -Wformat -Werror=format-security
pip show ipmininet
vihanchou@Ubuntu18:~/Desktop/SRv6$ pip show ipmininet
Name: ipmininet
Version: 0.9
Summary: A mininet extension providing components to emulate IPnetworks running multiple protocols.
Home-page: https://github.com/cnp3/ipmininet
Author: Olivier Tilmans
Author-email: [email protected]
License: GPLv2
Location: /home/vihanmy/anaconda3/envs/python369/lib/python3.6/site-packages
Requires: mininet, ipaddress, mako, setuptools
Required-by:
sudo python -m ipmininet.examples --topo=simple_ospf_network
vihanchou@Ubuntu18:~/Desktop/SRv6$ sudo python -m ipmininet.examples --topo=simple_ospf_network
*** Adding Routers:
r1 r2 r3 r4 r5 r6 r7
*** Creating network
*** Adding hosts:
h0r1 h0r2 h0r3 h0r4 h0r5 h0r6 h0r7 h1r1 h1r2 h1r3 h1r4 h1r5 h1r6 h1r7
*** Adding switches:
s1
*** Adding links:
(r1, h0r1) (r1, h1r1) (r1, r2) (r1, r3) (r2, h0r2) (r2, h1r2) (r2, r4) (r2, r5) (r3, h0r3) (r3, h1r3) (r3, r2) (r3, r6) (r3, r7) (r4, h0r4) (r4, h1r4) (r4, r5) (r5, h0r5) (r5, h1r5) (r6, h0r6) (r6, h1r6) (r6, r7) (r7, h0r7) (r7, h1r7) (s1, r1) (s1, r2) (s1, r3) (s1, r4) (s1, r5) (s1, r6) (s1, r7)
*** Configuring hosts
h0r1 h0r2 h0r3 h0r4 h0r5 h0r6 h0r7 h1r1 h1r2 h1r3 h1r4 h1r5 h1r6 h1r7
*** Found 31 broadcast domains
*** Allocating IPv4 addresses
*** Allocating IPv6 addresses
*** Starting controller
*** Starting 1 switches
s1
*** Starting, 7 routers
r1 r2 r3 r4 r5 r6 r7 *** Starting, 14 hosts
h0r1 h0r2 h0r3 h0r4 h0r5 h0r6 h0r7 h1r1 h1r2 h1r3 h1r4 h1r5 h1r6 h1r7
*** Setting default host routes
h0r1 via r1-eth2, h0r2 via r2-eth2, h0r3 via r3-eth2, h0r4 via r4-eth2, h0r5 via r5-eth2, h0r6 via r6-eth2, h0r7 via r7-eth2, h1r1 via r1-eth3, h1r2 via r2-eth3, h1r3 via r3-eth3, h1r4 via r4-eth3, h1r5 via r5-eth3, h1r6 via r6-eth3, h1r7 via r7-eth3,
*** Starting CLI:
mininet>
mininet>
mininet>
mininet> exit
*** Stopping 7 routers
r1 r2 r3 r4 r5 r6 r7
*** Stopping 0 controllers
*** Stopping 30 links
.(r1 exited - ignoring cmd('ip link del r1-eth2',))
.(r1 exited - ignoring cmd('ip link del r1-eth3',))
.(r1 exited - ignoring cmd('ip link del r1-eth0',))
(r2 exited - ignoring cmd('ip link del r2-eth0',))
.(r1 exited - ignoring cmd('ip link del r1-eth1',))
(r3 exited - ignoring cmd('ip link del r3-eth0',))
.(r2 exited - ignoring cmd('ip link del r2-eth2',))
.(r2 exited - ignoring cmd('ip link del r2-eth3',))
.(r2 exited - ignoring cmd('ip link del r2-eth5',))
(r4 exited - ignoring cmd('ip link del r4-eth0',))
.(r2 exited - ignoring cmd('ip link del r2-eth4',))
(r5 exited - ignoring cmd('ip link del r5-eth0',))
.(r3 exited - ignoring cmd('ip link del r3-eth2',))
.(r3 exited - ignoring cmd('ip link del r3-eth3',))
.(r3 exited - ignoring cmd('ip link del r3-eth1',))
(r2 exited - ignoring cmd('ip link del r2-eth1',))
.(r3 exited - ignoring cmd('ip link del r3-eth4',))
(r6 exited - ignoring cmd('ip link del r6-eth0',))
.(r3 exited - ignoring cmd('ip link del r3-eth5',))
(r7 exited - ignoring cmd('ip link del r7-eth0',))
.(r4 exited - ignoring cmd('ip link del r4-eth2',))
.(r4 exited - ignoring cmd('ip link del r4-eth3',))
.(r4 exited - ignoring cmd('ip link del r4-eth1',))
(r5 exited - ignoring cmd('ip link del r5-eth1',))
.(r5 exited - ignoring cmd('ip link del r5-eth2',))
.(r5 exited - ignoring cmd('ip link del r5-eth3',))
.(r6 exited - ignoring cmd('ip link del r6-eth2',))
.(r6 exited - ignoring cmd('ip link del r6-eth3',))
.(r6 exited - ignoring cmd('ip link del r6-eth1',))
(r7 exited - ignoring cmd('ip link del r7-eth1',))
.(r7 exited - ignoring cmd('ip link del r7-eth2',))
.(r7 exited - ignoring cmd('ip link del r7-eth3',))
.(r1 exited - ignoring cmd('ip link del r1-eth4',))
.(r2 exited - ignoring cmd('ip link del r2-eth6',))
.(r3 exited - ignoring cmd('ip link del r3-eth6',))
.(r4 exited - ignoring cmd('ip link del r4-eth4',))
.(r5 exited - ignoring cmd('ip link del r5-eth4',))
.(r6 exited - ignoring cmd('ip link del r6-eth4',))
.(r7 exited - ignoring cmd('ip link del r7-eth4',))
*** Stopping 1 switches
s1
*** Stopping 14 hosts
h0r1 h0r2 h0r3 h0r4 h0r5 h0r6 h0r7 h1r1 h1r2 h1r3 h1r4 h1r5 h1r6 h1r7
*** Done
sudo python -m ipmininet.examples --topo=simple_ospfv3_network
vihanchou@Ubuntu18:~/Desktop/SRv6$ sudo python -m ipmininet.examples --topo=simple_ospfv3_network
*** Adding Routers:
r1 r2 r3 r4 r5 r6 r7
*** Creating network
*** Adding hosts:
h0r1 h0r2 h0r3 h0r4 h0r5 h0r6 h0r7 h1r1 h1r2 h1r3 h1r4 h1r5 h1r6 h1r7
*** Adding switches:
*** Adding links:
(r1, h0r1) (r1, h1r1) (r1, r2) (r1, r3) (r2, h0r2) (r2, h1r2) (r2, r4) (r2, r5) (r3, h0r3) (r3, h1r3) (r3, r2) (r3, r6) (r3, r7) (r4, h0r4) (r4, h1r4) (r4, r5) (r5, h0r5) (r5, h1r5) (r6, h0r6) (r6, h1r6) (r6, r7) (r7, h0r7) (r7, h1r7)
*** Configuring hosts
h0r1 h0r2 h0r3 h0r4 h0r5 h0r6 h0r7 h1r1 h1r2 h1r3 h1r4 h1r5 h1r6 h1r7
*** Found 30 broadcast domains
*** Allocating IPv4 addresses
*** Allocating IPv6 addresses
*** Starting controller
*** Starting 0 switches
*** Starting, 7 routers
r1 ospf6d configuration check failed [rcode: 1 ]
stdout:
stderr: *** Error reading config: There is no such command.
*** Error occurred processing line 56, below:
ospf6 router-id 0.0.0.2
Config checks failed, aborting!*** Removing excess controllers/ofprotocols/ofdatapaths/pings/noxes
killall controller ofprotocol ofdatapath ping nox_corelt-nox_core ovs-openflowd ovs-controllerovs-testcontroller udpbwtest mnexec ivs ryu-manager 2> /dev/null
killall -9 controller ofprotocol ofdatapath ping nox_corelt-nox_core ovs-openflowd ovs-controllerovs-testcontroller udpbwtest mnexec ivs ryu-manager 2> /dev/null
pkill -9 -f "sudo mnexec"
*** Removing junk from /tmp
rm -f /tmp/vconn* /tmp/vlogs* /tmp/.out /tmp/.log
*** Removing old X11 tunnels
*** Removing excess kernel datapaths
ps ax | egrep -o 'dp[0-9]+' | sed 's/dp/nl:/'
*** Removing OVS datapaths
ovs-vsctl --timeout=1 list-br
ovs-vsctl --timeout=1 list-br
*** Removing all links of the pattern foo-ethX
ip link show | egrep -o '([-_.[:alnum:]]+-eth[[:digit:]]+)'
ip link show
*** Killing stale mininet node processes
pkill -9 -f mininet:
*** Shutting down stale tunnels
pkill -9 -f Tunnel=Ethernet
pkill -9 -f .ssh/mn
rm -f ~/.ssh/mn/*
*** Cleanup complete.
from ipmininet.
Ok so your problem is that you are using Quagga and not FRR
The version of ipmininet 0.9 supports FRR 7.5 but not Quagga
There are slight differences in the configuration files and this is one of them
from ipmininet.
Thanks for your help!
from ipmininet.
Related Issues (20)
- How do I get link delay from the network state? HOT 2
- Whether ipmininet supprt HMAC TLV? HOT 2
- ImportError: cannot import name 'StaticRoute' HOT 1
- BGP default permit filters collide with autogenerated route map names HOT 1
- Various pitfalls when trying to use complex BGP filters
- [Enhancement][PCEP] Add support for PCEPLib
- Why traffic cann't be captured by wireshark? HOT 2
- Does ipmininet available for both SDN(by openflow ) and SRv6? HOT 2
- Cannot install IPmininet HOT 4
- citation HOT 1
- [OpenR] The OpenR install script does not work on Ubuntu 20.04
- Please create a new release of VM HOT 1
- [Install failed] Can't install in ubuntu 22.04 HOT 1
- Is adding a OpenFlow Switch in a network possbile?
- Impossible to use BBP RouteMapEntry call_action and exit_policy
- Hub is not working HOT 1
- Is it possible to unbuffer sys.stdin for a node's shell process HOT 2
- OpenR doesnt work
- Hosts can't ping each other in a simple topology. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipmininet.