The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
33 views

Multiple Gateways

I have this routing table: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.20.1 0.0.0.0 UG 0 0 0 eth0 192.168.20.0 ...
1
vote
2answers
152 views

How to bridge enp0s3 with a peer of veth?

My Lap: Ubuntu 15.10. And I have a wired NIC enp0s3. I want to create a veth pair veth0 and veth1 and bridge them with enp0s3, and set veth1 to a new netns ns1, so that processes in ns1 can access the ...
0
votes
0answers
31 views

Why does my ip-route-add fail silently?

I'm trying to configure host A to use a remote Linux server B as the router to Internet. A's eno50332208 has ip address 172.16.100.131. The interface used as gateway on B has address 172.16.100.128. ...
1
vote
1answer
115 views

Making custom routing changes permanent in CentOS 7

I need to make some custom routing commands be maintained whenever the main LAN network interface is restarted/system rebooted. I've been reading how to do this in CentOS 7 and accordingly to ...
1
vote
1answer
1k views

Squid 3.3 Transparent IPv4 and IPv6 Proxy with TPROXY

I'm attempting to change my Squid transparent setup from using generic NAT that's limited to IPv4 only and switching it to TPROXY, for IPv6 support. I'm having difficulties getting transparent clients ...
2
votes
1answer
190 views

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)...
3
votes
1answer
614 views

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 (...
0
votes
1answer
103 views

iproute2: How do i connect one machine to the internet via another

I have the following setup: A > 169.254.8.125/16 <--(ad-hoc)--> 169.254.9.109/16 < B > 192.168.178.21/24 <--(wifi)--> 192.168.178.1/24 < AP/router > internet I want to connect A to the ...
5
votes
1answer
4k views

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 ...
0
votes
1answer
240 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
1k 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
1answer
611 views

split routing with two PPPoE connections

I have a debian wheezy box running, which is supposed to function as router / firewall / webserver / samba server [...]. I have two accounts from my ISP: acc1 with one static IP, and acc2 with dynamic ...
1
vote
0answers
45 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
1answer
408 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
943 views

How to set route for multiple PPPOE Connection

Assume that I have 3 bridged network interface named br0 , br1 , br2 I set up 3 PPPoE connection on these interface named ppp0 , ppp1 , ppp2 Now I set up 3 another bridged network interface br3 , ...
1
vote
0answers
1k views

Simple source routing policy on dd-wrt router does not “stick”

Goal State: Have the traffic from one computer on my LAN use the VPN tunnel setup between my router and an OpenVPN provider, and leave all other traffic unaffected. Here's some relevant information ...
0
votes
1answer
75 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.
2
votes
1answer
647 views

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 ...
1
vote
2answers
778 views

Packets marked by iptables only sent to the correct routing table sometimes

I am trying to route packets generated by a specific user out over a VPN. I have this configuration: $ sudo iptables -S -t nat -P PREROUTING ACCEPT -P OUTPUT ACCEPT -P POSTROUTING ACCEPT -A ...
1
vote
1answer
2k views

Setting default route for tun1: RTNETLINK answers: No such process

I am currently trying to route all incoming and outgoing network traffic to/from applications listening on an OpenVPN tunnel tun1 through said tunnel. Here are my devices: tun0 is an OpenVPN server ...
4
votes
2answers
16k 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
824 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: ...
5
votes
1answer
8k 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
2
votes
1answer
16k 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: http://forums....