Program to control policy-based routing tables
Questions tagged [iproute]
59 questions
0
votes
1 answer
Route requests from external ip to another server
I got stuck at the point:
The php script makes curl request to another php script on external ip,
like
$ip = "111.222.333.444";
curl_setopt($ch, CURLOPT_URL, $this->ip . "/index.php");
I cannot modify the first script and unfortunately external…

Maksim
- 17
- 1
- 7
0
votes
0 answers
Deploy custom NodeJS Docker image on OpenShift 3
The base OpenShift NodeJS Docker image doesn't have iproute package installed so, my goal is to change the base image to achieve that. What I do is:
$ git clone --recursive https://github.com/sclorg/s2i-nodejs-container.git
$ cd…

John
- 1
0
votes
1 answer
What field corresponds to "dev" (device) param in netlink?
I'm trying to add a new route using the netlink package. The equivalent I need is ip route add $P1_NET dev $IF1 src $IP1 table $T1. The issue is that I don't know what field corresponds to the dev parameter. Is there a mapping somewhere or can I use…

Anthony Hunt
- 1,470
- 5
- 20
- 32
0
votes
0 answers
/etc/sysconfig/network-scripts/route-interface not exists on CentOS
It is normal that the file /etc/sysconfig/network-scripts/route-interface not exists on my CentOS 6?
According to documentation https://www.centos.org/docs/5/html/5.2/Deployment_Guide/s1-networkscripts-static-routes.html this file stores static…

Marco Marsala
- 2,332
- 5
- 25
- 39
0
votes
1 answer
NetEm IPv4 filtering
Hope I've came to the right place to ask this, if not I guess my question becomes where can I find people who know the answer as a week on google doesnt help!
I have NetEm setup and got it finally working but what I want to do is test using an IPv4…

DaveB
- 1
0
votes
1 answer
What is a valid TC (QoS) u32 filter handle id
I'm trying to find a way of using some kind of naming convention to distribute unique id's among my app modules.
I want each up to have a range of id's it can use to create TC filters / classes etc..
As it this page states :
A u32 handle is…

SagiLow
- 5,721
- 9
- 60
- 115
0
votes
2 answers
Cannot ping the other side of an OpenVPN tunnel (IPv6)
I have setup OpenVPN and now need to setup the routes manually, but I cannot manage to ping the other end. The tun0 interface is up and has the IPv6 address fd2d:65e3:ed0d:8::1010/64 (global scope) set by OpenVPN. Now I try to reach the other…

mwarning
- 721
- 5
- 22
0
votes
0 answers
/usr/bin/ld: cannot find -ldb Makefile error while compiling iproute2
I am trying to compile iproute2 and after running the make command I get the following error:
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -I/usr//usr/include -o arpd arpd.c…

user1692342
- 5,007
- 11
- 69
- 128
0
votes
1 answer
how to disable Haproxy ip route modifications
I installed haproxy to my server and on internet I saw that I need to run these commands:
/sbin/ip rule add fwmark 1 lookup 100
/sbin/ip route add local 0.0.0.0./0 dev lo table 100
Now I would like to remove the haproxy but after I removed it I…

chris
- 13
- 4
-1
votes
1 answer
Anycast/ECMP not working with iproute2/netlink between network namespaces
I am attempting to validate ECMP functionality on a linux host with unnumbered interfaces and network namespaces.
The following example can be used to demonstrate:
# add address to loopback for unnumbered veth interfaces
ip addr add…

theG
- 1,001
- 1
- 8
- 9
-2
votes
1 answer
Can't establish connection over second NIC (two hops)
We are having trouble with network routing configuration in Ubuntu Xenial.
We have many servers with both Debian 8.4 (Jessie) and Ubuntu 16.04.2 (xenial)
and the exact same networking setup (or at least as far as we can see).
They all have two NICs…

bitifet
- 3,514
- 15
- 37
-2
votes
2 answers
linux ip routing with multiple uplinks SINGLE interface
trying to setup a Proxmox machine that is running 3 vms. it has 3 public ips but these ips are on a single interface (eth0).
the 3 vms are on a bridge (vmbr0) with an address of 172.16.0.1/24
I have enable ip masquerading and forwarding. but I…

Jacqueline Loriault
- 680
- 8
- 16
-2
votes
1 answer
Install ip package on router with OpenWRT
I am using a Linkys WRT54G v3 router with OpenWRT v10.03.1. My end goal is to use Traffic Control (tc) and Network Emulator (netem) on the router, which are in the ip package (this is the iproute2 package in most linux distributions).
However, my…

wcarhart
- 2,685
- 1
- 23
- 44
-3
votes
1 answer
Is it possible to reverse engineer iproute tc commands?
I have QOS working well in VyOS but need to move to TinyCoreLinux as I'll be sharing this VM as a lab router. VyOS is 400MB vs TCL which is 10MB.
Using the "set" commands in VyOS, it generates the tc output as follow:
**# tc -p qdisc show dev…

letslogic.com
- 27
- 7