2 ====================================================
7 - MPLS is not supported on ``OmniOS`` or ``Solaris``. MPLS requires a
8 Linux Kernel (4.5 or higher). LDP can be built, but may have limited
11 Enable IP & IPv6 forwarding
12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 routeadm -e ipv4-forwarding
17 routeadm -e ipv6-forwarding
19 Install required packages
20 -------------------------
27 developer/build/autoconf \
28 developer/build/automake \
29 developer/lexer/flex \
30 developer/parser/bison \
31 developer/object-file \
33 developer/library/lint \
34 developer/build/gnu-make \
37 library/idnkit/header-idnkit \
39 system/library/math/header-math \
40 git libtool gawk pkg-config
42 Add additional Solaris packages:
46 pkgadd -d http://get.opencsw.org/now
47 /opt/csw/bin/pkgutil -U
48 /opt/csw/bin/pkgutil -y -i texinfo
49 /opt/csw/bin/pkgutil -y -i perl
50 /opt/csw/bin/pkgutil -y -i libjson_c_dev
51 /opt/csw/bin/pkgutil -y -i python27 py_pip python27_dev
53 Add libjson to Solaris equivalent of ld.so.conf
57 crle -l /opt/csw/lib -u
69 Select Python 2.7 as default (required for pytest)
74 ln -s /opt/csw/bin/python2.7 /usr/bin/python
76 Fix PATH for all users and non-interactive sessions. Edit
77 ``/etc/default/login`` and add the following default PATH:
81 PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/opt/csw/bin
83 Edit ``~/.profile`` and add the following default PATH:
87 PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/opt/csw/bin
89 Get FRR, compile it and install it (from Git)
90 ---------------------------------------------
92 **This assumes you want to build and install FRR from source and not
95 Add frr group and user
96 ^^^^^^^^^^^^^^^^^^^^^^
100 sudo groupadd -g 93 frr
101 sudo groupadd -g 94 frrvty
102 sudo useradd -g 93 -u 93 -G frrvty -c "FRR suite" \
103 -d /nonexistent -s /bin/false frr
105 (You may prefer different options on configure statement. These are just
110 git clone https://github.com/frrouting/frr.git frr
114 export LDFLAGS="-L/opt/csw/lib"
115 export CPPFLAGS="-I/opt/csw/include"
116 export PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig
118 --sysconfdir=/etc/frr \
119 --enable-exampledir=/usr/share/doc/frr/examples/ \
120 --localstatedir=/var/run/frr \
121 --sbindir=/usr/lib/frr \
122 --enable-multipath=64 \
125 --enable-vty-group=frrvty \
126 --enable-configfile-mask=0640 \
127 --enable-logfile-mask=0640 \
129 --with-pkg-git-version \
130 --with-pkg-extra-version=-MyOwnFRRVersion
135 Enable IP & IPv6 forwarding
136 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
140 routeadm -e ipv4-forwarding
141 routeadm -e ipv6-forwarding