1
vote
1answer
113 views

ip route add works manually but throws “Error: an inet prefix is expected rather than …” when run via bash script

I'm trying to run a script that should add this route to a table 11: ip route add local 10.1.3.212 dev eth1 proto kernel scope host src 10.1.3.212 table 11 If I run this command manually, it is ...
2
votes
1answer
75 views

OpenVPN redirect-gateway breaks other tunnels

This is my ifconfig setup: eth1 Link encap:Ethernet HWaddr 54:04:a6:49:99:16 inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: ...
1
vote
2answers
82 views

Is it possible to see the routing table at the gateway (next-hop) router?

Suppose the output of the "route -n" (on Red Hat/Debian) command is as follows: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 a.b.c.d 0.0.0.0 ...
2
votes
1answer
778 views

iptables asynchronous NAT. packets drop after prerouting table

I have a Centos server acting as a NAT in my network. This server has one external (later ext1) interface and three internal (later int1, int2 and int3). Egress traffic comes from users via int1 and ...
0
votes
1answer
899 views

What's the difference between GRE and IPIP tunnel?

And which one is better for connecting two linux machines?
2
votes
1answer
409 views

Linux route cache shows high RTT for loopback - is it normal?

Here are parts of route cache from three different servers that are NOT under high load. # ip route show cache | grep -B 1 rtt local 127.0.0.1 from 127.0.0.1 dev lo cache <local> mtu ...