0
votes
0answers
40 views

qlen value in iproute2 output

I have the following output for ip addr: ┌─[hhfh:HHFH]─[Downloads]─[07:28 PM] └──$ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
0
votes
1answer
50 views

Granular routing with iptables and iproute2 over VPN

On a host at my house I have a host for a VPN that I need for a couple of purposes. Living temporarily in Japan, it functions as a NAT for some devices so I can still use my NETFLIX and some other ...
0
votes
1answer
77 views

What is the second “state” in “ip link show” output

1: lo: <LOOPBACK,UP,LOWER_UP> 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 ...
1
vote
0answers
24 views

Using TC from iproute, unable to match canid

I'm trying to use tc from iproute2 to prioritize packets sent to a canbus. Before doing so I read this guide about the issue: http://rtime.felk.cvut.cz/can/socketcan-qdisc-final.pdf Even using the ...
0
votes
0answers
130 views

Routing eth1 <-> eth0 <-> eth1

I have 2 Linux servers. Both of them are connected to the Internet via eth0, both of them have white static IP addresses (100.0.0.1 and 200.0.0.1). The first server's connection is 100 Mb/s, the ...
0
votes
1answer
166 views

Convert ifconfig command to iproute2

I am using this ifconfig command to set IP on a network interface ifconfig eth0 x.x.x.x netmask x.x.x.x mtu 1400 Now they say that ifconfig is deprecated and I should use iproute2. I converted ...
0
votes
1answer
61 views

ip route show src filed

I read the man page of ip and still do not understand what src is and I could not find much documentation. Please, if you can explain it thoroughly or point to some link it a good answer.
4
votes
1answer
9k views

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 ...
2
votes
1answer
613 views

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: ...
3
votes
1answer
3k views

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
1
vote
1answer
8k views

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: ...