LINUX.ORG.RU

Избранные сообщения ne-vlezay

arp удаление uncomplete записей

 , ,

Короче, сознал я псевдо-мост, трафик на коротой не прикрыл. Теперь в arp-таблице присодствует:

Address                  HWtype  HWaddress           Flags Mask            Iface
10.194.0.1               ether   52:54:00:0b:ff:2e   C                     br0
10.194.0.50              ether   52:54:00:48:98:88   C                     br0
10.194.0.3               ether   52:54:74:22:98:84   C                     br0
10.194.0.50                      (incomplete)                              cn0
Как удалить теперь этот (incomplete).

ne-vlezay
()

Проброс USB-хаба в qemu

 , , , ,

Qemu при пробросе по usb имеет следующие проблемы:
1. Маленькая время ожидания(по этому при прошивке телефона на mediatek возникнут проблемы)
2. Не определяется устройство ffs

По этому я решил:
Пробросить в qemu USB-хаб.
Могут ли при его пробросе возникнуть проблемы?

ne-vlezay
()

Установка linux-next ядра

 , ,

Собственно, вопрос в чем, как на компьютер установить ядро linux-next? Ядро вроде скомпилировалось, но при попытке его загрузить, компьютер уходит в перезагрузку. В чём проблема?

ne-vlezay
()

macvlan не работает локальное подключение

 , , ,

Имеем macvlan интерфейс. Все внешние ресурсы доступны, хотя локальный почиму-то нет. В чём проблема?

3: host0p0@host0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a2:78:75:35:b3:9a brd ff:ff:ff:ff:ff:ff
    inet 10.194.1.3/24 brd 10.194.1.255 scope global host0p0
       valid_lft forever preferred_lft forever
    inet6 2a01:d0:c353:181::3/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::a078:75ff:fe35:b39a/64 scope link 
       valid_lft forever preferred_lft forever
    link/ether 26:b4:b8:4e:a3:6c brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 10.194.1.4/24 brd 10.194.1.255 scope global host0p1
       valid_lft forever preferred_lft forever
    inet6 2a01:d0:c353:181::4/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::24b4:b8ff:fe4e:a36c/64 scope link 
       valid_lft forever preferred_lft forever

root@hosting:~# ip netns exec bl ping 10.194.1.3
PING 10.194.1.3 (10.194.1.3) 56(84) bytes of data.
^C
--- 10.194.1.3 ping statistics ---
32 packets transmitted, 0 received, 100% packet loss, time 31731ms

root@hosting:~# ip netns exec bl ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=126 time=30.9 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=126 time=30.8 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 30.802/30.876/30.951/0.190 ms

То же самое и в ipvlan.

ne-vlezay
()

Проблема с загрузкой модуля

 , ,

При загрузке модуля возникает ошибка:

ipv6: unknown symbol in module crc_ccitt (err 0)

ne-vlezay
()

Отправка обращения в администрацию президента через wget

 , , ,

Короче, собираюсь наказать одного поситителя, который всё время спамит своим чудо антивирусом по имине К...н. Короче, собираюсь я ему кинуть комманду, которая отправляет обращение в АП коково нибудь провакационного содержания. Реально ли это сделать через wget?

ne-vlezay
()

Переброс пакетов из одного сигмента в другой на BASH

 , , ,

Реально ли на BASH реализовать программку, которая перебрасывает пакеты из одного сигмента в другой?

ne-vlezay
()

Авторизация на LOR через Wget

 , ,

Делаю:

wget http://linux.org.ru/ --post-data='nick=<FORBIDDEN>&passwd=<FORBIDDEN>' -O-|lynx --stdin
Однако, авторизация не проходит.

ne-vlezay
()

MPLS в Linux: тестирование

 , , ,

Короче, поднял я тестовый MPLS по схеме:

modprobe mpls_router
modprobe mpls_gso
modprobe mpls_iptunnel
sysctl -w net.mpls.conf.lo.input=1
sysctl -w net.mpls.platform_labels=1048575
ip link add veth0 type veth peer name veth1
ip link add veth2 type veth peer name veth3
sysctl -w net.mpls.conf.veth0.input=1
sysctl -w net.mpls.conf.veth2.input=1
ifconfig veth0 10.3.3.1/24 up
ifconfig veth2 10.4.4.1/24 up
ip netns add host1
ip netns add host2
ip link set veth1 netns host1
ip link set veth3 netns host2
ip netns exec host1 ifconfig veth1 10.3.3.2/24 up
ip netns exec host2 ifconfig veth3 10.4.4.2/24 up
ip netns exec host1 ip route add 10.10.10.2/32 encap mpls 112 via inet 10.3.3.1
ip netns exec host2 ip route add 10.10.10.1/32 encap mpls 111 via inet 10.4.4.1
ip -f mpls route add 111 via inet 10.3.3.2
ip -f mpls route add 112 via inet 10.4.4.2
ip netns exec host1 bash
ifconfig lo up
ip addr add 10.10.10.1/32 dev lo
ip netns exec host2 bash
ifconfig lo up
ip addr add 10.10.10.2/32 dev lo
ip netns exec host1 bash

Тестируем. 1. Вначале ping'ом:
Host1:
root@ne-vlezay80:~# ping 10.10.10.2 -I 10.10.10.1
PING 10.10.10.2 (10.10.10.2) from 10.10.10.1 : 56(84) bytes of data.
64 bytes from 10.10.10.2: icmp_seq=1 ttl=63 time=0.043 ms
64 bytes from 10.10.10.2: icmp_seq=2 ttl=63 time=0.038 ms
64 bytes from 10.10.10.2: icmp_seq=3 ttl=63 time=0.049 ms
64 bytes from 10.10.10.2: icmp_seq=4 ttl=63 time=0.048 ms
64 bytes from 10.10.10.2: icmp_seq=5 ttl=63 time=0.048 ms
64 bytes from 10.10.10.2: icmp_seq=6 ttl=63 time=0.047 ms
64 bytes from 10.10.10.2: icmp_seq=7 ttl=63 time=0.044 ms
64 bytes from 10.10.10.2: icmp_seq=8 ttl=63 time=0.046 ms
^C
--- 10.10.10.2 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7174ms
rtt min/avg/max/mdev = 0.038/0.045/0.049/0.006 ms
Host2:
root@ne-vlezay80:~# ping 10.10.10.1 -I 10.10.10.2
PING 10.10.10.1 (10.10.10.1) from 10.10.10.2 : 56(84) bytes of data.
64 bytes from 10.10.10.1: icmp_seq=1 ttl=63 time=0.040 ms
64 bytes from 10.10.10.1: icmp_seq=2 ttl=63 time=0.037 ms
64 bytes from 10.10.10.1: icmp_seq=3 ttl=63 time=0.037 ms
64 bytes from 10.10.10.1: icmp_seq=4 ttl=63 time=0.042 ms
64 bytes from 10.10.10.1: icmp_seq=5 ttl=63 time=0.042 ms
64 bytes from 10.10.10.1: icmp_seq=6 ttl=63 time=0.045 ms
64 bytes from 10.10.10.1: icmp_seq=7 ttl=63 time=0.045 ms
64 bytes from 10.10.10.1: icmp_seq=8 ttl=63 time=0.038 ms
^C
--- 10.10.10.1 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7176ms
rtt min/avg/max/mdev = 0.037/0.040/0.045/0.008 ms
Ну, что? Потестируем iperf'ом:
Host1:
iperf3 -s -B 10.10.10.2 -D
Host2:
root@ne-vlezay80:~# ip netns exec host1 bash
root@ne-vlezay80:~# iperf3 -c 10.10.10.2 -B 10.10.10.1   
Connecting to host 10.10.10.2, port 5201
[  4] local 10.10.10.1 port 57039 connected to 10.10.10.2 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  2.00 GBytes  17.2 Gbits/sec    0   1.95 MBytes       
[  4]   1.00-2.00   sec  2.01 GBytes  17.2 Gbits/sec    0   1.95 MBytes       
[  4]   2.00-3.00   sec  2.01 GBytes  17.2 Gbits/sec    0   1.95 MBytes       
[  4]   3.00-4.00   sec  2.01 GBytes  17.3 Gbits/sec    0   1.95 MBytes       
[  4]   4.00-5.00   sec  2.01 GBytes  17.2 Gbits/sec    0   1.95 MBytes       
[  4]   5.00-6.00   sec  2.01 GBytes  17.2 Gbits/sec    0   1.95 MBytes       
[  4]   6.00-7.00   sec  2.01 GBytes  17.3 Gbits/sec    0   1.95 MBytes       
[  4]   7.00-8.00   sec  2.01 GBytes  17.3 Gbits/sec    0   1.95 MBytes       
[  4]   8.00-9.00   sec  2.01 GBytes  17.3 Gbits/sec    0   1.95 MBytes       
[  4]   9.00-10.00  sec  2.01 GBytes  17.3 Gbits/sec    0   1.95 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  20.1 GBytes  17.3 Gbits/sec    0             sender
[  4]   0.00-10.00  sec  20.1 GBytes  17.3 Gbits/sec                  receiver

iperf Done.

root@ne-vlezay80:~# iperf3 -c 10.10.10.2 -B 10.10.10.1 -b -b 1tb
Connecting to host 10.10.10.2, port 5201
[  4] local 10.10.10.1 port 57609 connected to 10.10.10.2 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   1.00-2.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   2.00-3.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   3.00-4.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   4.00-5.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   5.00-6.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   6.00-7.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   7.00-8.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   8.00-9.00   sec  2.11 GBytes  18.1 Gbits/sec    0   1.95 MBytes       
[  4]   9.00-10.00  sec  2.11 GBytes  18.2 Gbits/sec    0   1.95 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  21.1 GBytes  18.1 Gbits/sec    0             sender
[  4]   0.00-10.00  sec  21.1 GBytes  18.1 Gbits/sec                  receiver

iperf Done.


tcpdump:

root@ne-vlezay80:~# tcpdump -i veth2 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on veth2, link-type EN10MB (Ethernet), capture size 262144 bytes
07:02:36.886598 IP 10.10.10.1 > 10.10.10.2: ICMP echo request, id 1677, seq 1, length 64
07:02:36.886617 MPLS (label 111, exp 0, [S], ttl 64) IP 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 1677, seq 1, length 64
07:02:37.895065 IP 10.10.10.1 > 10.10.10.2: ICMP echo request, id 1677, seq 2, length 64
07:02:37.895081 MPLS (label 111, exp 0, [S], ttl 64) IP 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 1677, seq 2, length 64

root@ne-vlezay80:~# tcpdump -i veth0 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on veth0, link-type EN10MB (Ethernet), capture size 262144 bytes
07:03:30.368146 MPLS (label 112, exp 0, [S], ttl 64) IP 10.10.10.1 > 10.10.10.2: ICMP echo request, id 1679, seq 1, length 64
07:03:30.368172 IP 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 1679, seq 1, length 64
07:03:31.399057 MPLS (label 112, exp 0, [S], ttl 64) IP 10.10.10.1 > 10.10.10.2: ICMP echo request, id 1679, seq 2, length 64
07:03:31.399080 IP 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 1679, seq 2, length 64
07:03:32.423182 MPLS (label 112, exp 0, [S], ttl 64) IP 10.10.10.1 > 10.10.10.2: ICMP echo request, id 1679, seq 3, length 64
07:03:32.423210 IP 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 1679, seq 3, length 64
07:03:33.447195 MPLS (label 112, exp 0, [S], ttl 64) IP 10.10.10.1 > 10.10.10.2: ICMP echo request, id 1679, seq 4, length 64
07:03:33.447214 IP 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 1679, seq 4, length 64
07:03:34.471219 MPLS (label 112, exp 0, [S], ttl 64) IP 10.10.10.1 > 10.10.10.2: ICMP echo request, id 1679, seq 5, length 64
07:03:34.471239 IP 10.10.10.2 > 10.10.10.1: ICMP echo reply, id 1679, seq 5, length 64

Как видим, в Linux MPLS работает довольно таки не плохо, но нехватает:
*VPLS
*MPLS в netfilter для фильтрации mpls-пакетов на P уровне. :D
А так впринцепе, всё работает.

В случае чего для стыка с провайдером хватит. Вот связанные проекты: https://frrouting.org/ https://github.com/FRRouting/frr/pull/343

Кстати, вот ifconfig:

root@ne-vlezay80:~# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:100 (100.0 B)  TX bytes:100 (100.0 B)

veth1     Link encap:Ethernet  HWaddr d2:60:95:e8:a4:d6  
          inet addr:10.3.3.2  Bcast:10.3.3.255  Mask:255.255.255.0
          inet6 addr: fe80::d060:95ff:fee8:a4d6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1047404 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2164674 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22610878516 (21.0 GiB)  TX bytes:104546390092 (97.3 GiB)

Самое прикольное то, что некакой фрагментации нет))

ne-vlezay
()

Проблема при установке dpdk

 , ,

При попытке установить dpdk, возникает ошибка:

In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:619:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 2 * 16), _mm_alignr_epi8(xmm3, xmm2, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:679:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0E: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0E); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:620:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 3 * 16), _mm_alignr_epi8(xmm4, xmm3, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:679:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0E: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0E); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:621:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 4 * 16), _mm_alignr_epi8(xmm5, xmm4, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:679:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0E: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0E); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:622:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 5 * 16), _mm_alignr_epi8(xmm6, xmm5, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:679:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0E: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0E); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:623:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 6 * 16), _mm_alignr_epi8(xmm7, xmm6, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:679:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0E: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0E); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:624:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 7 * 16), _mm_alignr_epi8(xmm8, xmm7, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:679:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0E: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0E); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:639:13: error: called from here
             _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset));    \
             ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:679:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0E: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0E); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:640:13: error: called from here
             _mm_storeu_si128((__m128i *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset));    \
             ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:679:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0E: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0E); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:617:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:618:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:619:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 2 * 16), _mm_alignr_epi8(xmm3, xmm2, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:620:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 3 * 16), _mm_alignr_epi8(xmm4, xmm3, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:621:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 4 * 16), _mm_alignr_epi8(xmm5, xmm4, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:622:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 5 * 16), _mm_alignr_epi8(xmm6, xmm5, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:623:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 6 * 16), _mm_alignr_epi8(xmm7, xmm6, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:624:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 7 * 16), _mm_alignr_epi8(xmm8, xmm7, offset));        \
         ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:639:13: error: called from here
             _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset));    \
             ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/x86intrin.h:37:0,
                 from /usr/src/dpdk-17.02/build/include/rte_vect.h:70,
                 from /usr/src/dpdk-17.02/build/include/rte_memcpy.h:46,
                 from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
 ^
In file included from /usr/src/dpdk-17.02/lib/librte_eal/common/eal_common_options.c:52:0:
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:640:13: error: called from here
             _mm_storeu_si128((__m128i *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset));    \
             ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:680:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/usr/src/dpdk-17.02/build/include/rte_memcpy.h:820:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
/usr/src/dpdk-17.02/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_options.o' failed
make[5]: *** [eal_common_options.o] Error 1
/usr/src/dpdk-17.02/mk/rte.subdir.mk:61: recipe for target 'eal' failed
make[4]: *** [eal] Error 2
/usr/src/dpdk-17.02/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
make[3]: *** [linuxapp] Error 2
/usr/src/dpdk-17.02/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
make[2]: *** [librte_eal] Error 2
/usr/src/dpdk-17.02/mk/rte.sdkbuild.mk:78: recipe for target 'lib' failed
make[1]: *** [lib] Error 2
/usr/src/dpdk-17.02/mk/rte.sdkroot.mk:126: recipe for target 'all' failed
make: *** [all] Error 2
В чём проблема?

ne-vlezay
()

Запуск нормального linux на Lenovo S660

 , , ,

Что имеем:
Телефон Lenovo S660.
https://market.yandex.ru/product--lenovo-s660/10725079
На нём стоит Android 4.4.1.
Что хочится:
запустить на этом телефоне полноценный debian GNU/Linux, а также узнать, будет ли на нём работать OpenBSD?
Я думаю выгледить это будет так:
В телефоне есть разделы:

PRELOADER
MBR
EBR1
PRO_INFO
PMT
NVRAM
PROTECT_F
PROTECT_S
SECCFG
UBOOT
BOOTIMG
RECOVERY
SEC_RO
MISC
LOGO
EBR2
RESV
FLEX
EXPDB
ANDROID
CACHE
USRDATA
BMTPOOL
Я думаю, что сам дистрибутив будет лежать в USRDATA, а остальные разделы будут просто для галочки.
Также меня интерисует, будет ли на этом телефоне работать X-сервер, и будет ли в X работать сенсорный экран. И как активировать на нём wifi, gprs, bluetooch, если на нём будет запущен не android, а linux?

ne-vlezay
()

Как в OpenBSD включить встроенный гипервайзер

 , ,

При попытке его использовать, появляется:

/dev/vmm: Device not configured
В чём проблема?

ne-vlezay
()

Можно ли подключится к магистральным провайдерам, если маршрутизатор не поддерживает MPLS

 , , , ,

Короче, мучеет меня один вопрос, можно ли подключется к магистральным провайдерам, если устройство поддерживает только BGP, то есть не поддерживает MPLS. Итак, сейчас перейдём к сути вопроса: смотрел трасировки с одного Route Server который построен на JONOS. Вот сама трасировка:

 1  12.0.1.204 (12.0.1.204)  1.131 ms  1.342 ms  0.708 ms
 2  cr2.n54ny.ip.att.net (12.122.115.74)  6.323 ms  6.415 ms  3.135 ms
     MPLS Label=24018 CoS=1 TTL=0 S=1
 3  cr2.n54ny.ip.att.net (12.122.115.74)  4.117 ms  6.182 ms  3.614 ms
     MPLS Label=24018 CoS=1 TTL=1 S=1
 4  cgr1.n54ny.ip.att.net (12.122.130.109)  6.494 ms  6.197 ms  4.042 ms
 5  192.205.34.54 (192.205.34.54)  3.272 ms  3.080 ms  2.620 ms
 6  nyk-bb1-link.telia.net (80.91.254.9)  2.639 ms  2.630 ms  11.900 ms
 7  ffm-bb4-link.telia.net (213.155.131.144)  100.208 ms ash-bb3-link.telia.net (213.155.130.77)  10.932 ms ffm-bb4-link.telia.net (213.155.135.60)  100.277 ms
     MPLS Label=587872 CoS=0 TTL=1 S=1
 8  ffm-b1-link.telia.net (62.115.116.160)  108.882 ms ffm-bb4-link.telia.net (62.115.139.42)  115.370 ms  115.463 ms
 9  ffm-b1-link.telia.net (62.115.137.167)  106.527 ms transtelecom-ic-313016-ffm-b1.c.telia.net (213.248.69.66)  93.228 ms ffm-b1-link.telia.net (62.115.116.158)  110.914 ms
10  mskn01.transtelecom.net (217.150.63.138)  131.646 ms  132.274 ms  133.247 ms
     MPLS Label=17323 CoS=0 TTL=254 S=1
11  Rosniiros-gw.transtelecom.net (217.150.63.137)  129.635 ms  129.568 ms  129.195 ms
12  MSK-KHOUSE-MR4.Ripn.net (193.232.226.22)  143.181 ms Rosniiros-gw.transtelecom.net (217.150.63.137)  139.691 ms MSK-KHOUSE-MR4.Ripn.net (193.232.226.22)  145.840 ms
13  m9-cat-1.kiae.ru (144.206.2.146)  142.641 ms  137.633 ms  136.989 ms
14  * m9-cat-1.kiae.ru (144.206.2.146)  149.023 ms *

Меня смутило в ней то, что между 10 и 11 хопом проскакивает MPLS метка. Также ещё меня интерисует, можно ли к магистральным провайдерам подключится, если устройство не поддерживает MPLS?

ne-vlezay
()

Пришлите в эту тему свои конфиги quagga а также bird.

 , , , ,

Собственно интересует, как у кого настроен bgp с провайдерами и точками обмена. Если у кого-нибудь есть bgp-стыки с провайдерами или IX.
При публикации конфигурации, рекомендуется адреса стыков провайдера закрывать XX на конце.
Конфиги cisco, juniper, mikrotik и других коммерческих систем - не предлагать.

Перемещено leave из talks

ne-vlezay
()

Странная трасировка

 , ,

Сделал mtr до yota. Вот, смотрим:
https://hkar.ru/O2F5
Как видим, трасировка доходит до yota.ru и там отображается mpls метка. Потом трайс сразу же показывает на ip-адрес где находится сайт. Скажите, крутится ли mpls на сервере yota или нет?
И если да, как они на web-сервере умудрились поднять mpls? Не ужеле они устанавили на www-сервер OpenBSD или NetBSD?

ne-vlezay
()

debian sid проблемы с репозитарием

 ,

Имеем сервер на Debian sid. При попытке обновить репозитарий, показывает:

root@vrnforum:~# apt-get update
Get:1 http://mirror.yandex.ru/debian sid InRelease [231 kB]
Ign:2 http://mirror.yandex.ru/debian sid/main amd64 Packages.diff/Index
Ign:3 http://mirror.yandex.ru/debian sid/main Translation-en.diff/Index
Get:2 http://mirror.yandex.ru/debian sid/main amd64 Packages.diff/Index [27.9 kB]
Ign:2 http://mirror.yandex.ru/debian sid/main amd64 Packages.diff/Index
Get:3 http://mirror.yandex.ru/debian sid/main Translation-en.diff/Index [27.9 kB]
Ign:3 http://mirror.yandex.ru/debian sid/main Translation-en.diff/Index
Ign:4 http://mirror.yandex.ru/debian sid/main amd64 Packages
Ign:5 http://mirror.yandex.ru/debian sid/main Translation-en
Get:4 http://mirror.yandex.ru/debian sid/main amd64 Packages [7,436 kB]
Err:4 http://mirror.yandex.ru/debian sid/main amd64 Packages                   
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:7436344 [weak]
   - SHA256:ba420fbb488830d0110d821c6a2cc44e47f7e538808bc5ddd84239afd9f48422
   - MD5Sum:65a7f76d86df77f409cfcaefcaff1426 [weak]
  Hashes of received file:
   - SHA256:37042878dd9cc78b25482da6b1d7548adfed530786fcac9a0bfa19036f856ea6
   - MD5Sum:a687922e44ef365802d1a9447fc2fc8c [weak]
   - Filesize:7436196 [weak]
  Last modification reported: Wed, 22 Feb 2017 02:24:58 +0000
  Release file created at: Wed, 22 Feb 2017 08:29:32 +0000
Fetched 7,492 kB in 12s (600 kB/s)                                             
Reading package lists... Done
E: Failed to fetch http://mirror.yandex.ru/debian/dists/sid/main/binary-amd64/Packages.xz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:7436344 [weak]
    - SHA256:ba420fbb488830d0110d821c6a2cc44e47f7e538808bc5ddd84239afd9f48422
    - MD5Sum:65a7f76d86df77f409cfcaefcaff1426 [weak]
   Hashes of received file:
    - SHA256:37042878dd9cc78b25482da6b1d7548adfed530786fcac9a0bfa19036f856ea6
    - MD5Sum:a687922e44ef365802d1a9447fc2fc8c [weak]
    - Filesize:7436196 [weak]
   Last modification reported: Wed, 22 Feb 2017 02:24:58 +0000
   Release file created at: Wed, 22 Feb 2017 08:29:32 +0000
E: Failed to fetch http://mirror.yandex.ru/debian/dists/sid/main/i18n/Translation-en.bz2  404  Not Found [IP: 2a02:6b8::183 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
с официальным такая хрень:
root@vrnforum:~# apt-get update
Ign:1 http://ftp.debian.org sid InRelease
Ign:2 http://ftp.debian.org sid Release
Ign:3 http://ftp.debian.org sid/main amd64 Packages
Ign:4 http://ftp.debian.org sid/main all Packages
Ign:5 http://ftp.debian.org sid/main Translation-en
Ign:6 http://ftp.debian.org sid/main Translation-en_US
Ign:3 http://ftp.debian.org sid/main amd64 Packages
Ign:4 http://ftp.debian.org sid/main all Packages
Ign:5 http://ftp.debian.org sid/main Translation-en
Ign:6 http://ftp.debian.org sid/main Translation-en_US
Ign:3 http://ftp.debian.org sid/main amd64 Packages
Ign:4 http://ftp.debian.org sid/main all Packages
Ign:5 http://ftp.debian.org sid/main Translation-en
Ign:6 http://ftp.debian.org sid/main Translation-en_US
Ign:3 http://ftp.debian.org sid/main amd64 Packages
Ign:4 http://ftp.debian.org sid/main all Packages
Ign:5 http://ftp.debian.org sid/main Translation-en
Ign:6 http://ftp.debian.org sid/main Translation-en_US
Ign:3 http://ftp.debian.org sid/main amd64 Packages
Ign:4 http://ftp.debian.org sid/main all Packages
Ign:5 http://ftp.debian.org sid/main Translation-en
Ign:6 http://ftp.debian.org sid/main Translation-en_US
Err:3 http://ftp.debian.org sid/main amd64 Packages
  404  Not Found [IP: 2001:610:1908:b000::148:12 80]
Ign:4 http://ftp.debian.org sid/main all Packages
Ign:5 http://ftp.debian.org sid/main Translation-en
Ign:6 http://ftp.debian.org sid/main Translation-en_US
Reading package lists... Done
W: The repository 'http://ftp.debian.org sid Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ftp.debian.org/dists/sid/main/binary-amd64/Packages  404  Not Found [IP: 2001:610:1908:b000::148:12 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
с чем связанна данная проблема?

ne-vlezay
()

Отправка и получение MPLS пакетов в Linux через perl или другой язык программирования

 , ,

Итак, начнём. В операционной системе linux имеется базовая поддержка mpls, а также есть поддержка технологии IP over MPLS. Но, потому-что при работе ip over mpls мы получаем скорость около 70Mbps, хотя работа была через veth интерфейс. Но, меня заинтересовало следующие:
Можно ли через userspace-приложение сформировать MPLS пакет с определённым содержанием, например с текстом Hello, world! или написать vpls через tun/tap?

ne-vlezay
()

Сломался Netassist

 , , ,

Короче, решил зайти на tb.netassist.ua, а он выдаёт:

Forbidden

You don't have permission to access / on this server.
Apache Server at tb.netassist.ua Port 80
Хотя, их туннель работает нормально. В чём проблема, и как быть если мне нужно поменять ip-адрес на который настроен туннель?

ne-vlezay
()

MPLS для доступа в магистральный интернет

 , , ,

Вот, читаю:
https://4cio.ru/userfiles/file/Beeline.ppt
https://static.beeline.ru/upload/images/Documents/Prilozhenie_na_okazanie_Usl... http://data.sberbank.ru/common/img/uploaded/files/tender/SZB_ACC_p3.doc
Там написано, что для доступа к MPLS VPN нужен CE-маршрутизатор.
А теперь читаем:
http://voronezhskaya-obl.beeline.ru/about/partners/operators/ там написано:

Присоединение к IP/MPLS-сети «ВымпелКом» по интерфейсам: G.703/G.704, FE/GE/10GE

Скажите, нужен ли для магистрального доступа в интернет маршрутизатор с подержкой MPLS?
Как я понял, он нужет только тогда, когда надо VPN организовать?
А также скажите, можно ли для подключения магистралов обойтись только linux-роутером с подержкой BGP?

ne-vlezay
()

VRF в linux

 , ,

Делаю:

root@debian-sl:/home/oem# ip link add vrf-blue type vrf table 10
RTNETLINK answers: Operation not supported

Как использовать в linux vrf?
Ссылка на документацию: https://www.kernel.org/doc/Documentation/networking/vrf.txt

ne-vlezay
()