Questions tagged [iproute2]
55 questions
11
votes
1 answer
tc / iproute2, how to list the configuration
This is my first time using traffic shaping and I am wondering how I can list the rules I applied like you can with iptables?
Walter
Walter
- 969
- 3
- 15
- 28
8
votes
1 answer
iproute2 not functioning ("RTNETLINK answers: Operation not supported")
The command and error message:
gtwy ~ # ip rule add from 64.251.23.186 table t1
RTNETLINK answers: Operation not supported
Older article of the same problem, but it did not help me:…
James Watt
- 1,815
- 7
- 19
- 26
7
votes
1 answer
IPsec in the Linux Kernel
I have some issues (questions) related tot the Linux Kernel implementation of IPsec and it's user-space interface.
The biggest question is which is the actual official project for the Linux Kernel IPsec implementation?
From what I understood the…
Catalin Vasile
- 249
- 1
- 3
- 9
6
votes
1 answer
What does the output of 'ss -s' mean?
I have a problem understanding the output of the Linux ss (socket statistics) command. I can not understand the meaning of the output of ss -s
For example:
[root@dls2304-1 ~]# ss -s
Total: 973 (kernel 996)
TCP: 600 (estab 280, closed 73, orphaned…
ruanhao
- 177
- 2
- 10
5
votes
3 answers
Create a virtual network interface using the iproute2 "ip link" command with a spoofed MAC address
How can I create a virtual interface similar to the following ifconfig command?
$ sudo ifconfig eth1 hw ether 00:01:02:aa:bb:cc
SIOCSIFHWADDR: No such device
This does not work. I want to set the MAC addresses to test my DHCP server's…
nelaaro
- 11,631
- 28
- 79
- 107
4
votes
2 answers
What is the second "state" in "ip link show" output
1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
The UP between the brackets means my link is operationnally up. But what does the state UNKNOWN…
little-dude
- 167
- 1
- 7
4
votes
1 answer
Respond to ICMP while having multiple local tables in Linux
I have an IP range and I want to listen on all IP addresses, assume that is 10.0.0.0/8
Using TPROXY and packet mark I can respond to TCP traffic. This range should be in local table, but I don't want outbound traffic responded locally, so I created…
Naeem
- 41
- 4
4
votes
1 answer
What does “scope” do in ip route and why it is necessary to setup static route in Linux?
If I want to replace default dhcp route rules with static ones, I have to add a rule ip route add scope link dev eth0. Or I will get an error: “Nexthop has a invalid gateway”.
Here are my questions:
Q1: What does “scope link” mean in ip…
user762750
- 381
- 1
- 3
- 12
3
votes
1 answer
Use Shorewall to port-forward requests based on the domain requested to different servers
How can I get my firewall to port forward traffic that is comming into different domain to different servers.
So I have two web servers. Each one hosts different domains on different servers/IP:
first.domain1.com 192.168.1.1
second.domain2.com …
nelaaro
- 11,631
- 28
- 79
- 107
3
votes
1 answer
How does iproute2's `ip link show` determine link state?
I have a network interface that ip link show reports like this:
3: docker0: mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 02:42:43:e6:b1:e7 brd ff:ff:ff:ff:ff:ff
But…
Tom
- 445
- 1
- 3
- 13
3
votes
2 answers
Which utility uses /etc/network/interfaces
I am attempting to setup a WiFi network with dnsmasq on ArchLinux where I have NetworkManager and iproute2 (not net-tools anymore in ArchLinux).
As I am reading some tutorials they offen refer to /etc/network/interfaces when setting up static ip for…
ps-aux
- 3,547
- 5
- 25
- 38
2
votes
1 answer
Understanding "ip route" command
I'm trying to set up a backup route for my network as a safety net when the primary link fails; by adjusting the administrative distance with the ip route command. I have one router (cisco 1900 series) and two modems. My issue is i don't really…
ss_millionaire
- 185
- 1
- 10
2
votes
1 answer
Different routing rules for a particular user using firewall mark and ip rule
Running Ubuntu 12.10 on amd64.
I'm trying to set up different routing rules for a particular user. I understand that the right way to do this is to create a firewall rule that marks the packets for that user, and add a routing rule for that mark. …
Paul Crowley
- 123
- 4
2
votes
1 answer
Creating Network Bridge in ArchLinux stops internet connectivity
I tried to add a new bridge interface in ArchLinux. I followed the instructions from the wiki but after assigning the bridge to the real interface I cannot connect anymore to other IPs from outside (for example pinging an IP like 8.8.8.8).
What I…
ChristophLSA
- 23
- 3
2
votes
1 answer
Policy routing for OpenVPN server & client on the same router?
PROBLEM
An OpenVPN server instance (tun, udp, port 1194) is set up on a Linux-based router that also runs an OpenVPN client instance (tun, udp, port 1197) connecting it to a VPN provider. Both the client and the server instance work fine…
ndvour
- 21
- 1
- 5