Questions tagged [ip-routing]
281 questions
1
vote
1 answer
Select next-hop based on source address
I'm trying to set up a Ubuntu-based gateway between clients and the core router, the ideal traffic flow should be:
ClientGroup 1 (10.0.0.0/24) -> Ubuntu gateway (10.0.0.2) -> Core router (10.0.0.1) -> Internet
ClientGroup 2 (10.0.1.0/24) -> Ubuntu…

GreenVine
- 23
- 4
1
vote
1 answer
Forcing route to interface, no matter what
I've got 2 interfaces on my server (eno1 & eno2).
Whenever any process try to reach an IP (lets say 183.182.99.1), I want the traffic to use the eno2 link.
Here is my current routing table:
default via 192.168.1.1 dev eno2 metric 90
default via…

Stopi
- 211
- 1
- 7
0
votes
1 answer
No uidrange rule with IProute2
When I run "ip rule help" there is no uidrange option in the selection sectors. I also get an error when I try to add a uidrange rule.
Iproute2: 4.9.0-1
Command: sudo ip rule add uidrange $uid-$uid table vpn
Output: Error: argument "uidrange" is…

Vernox Vernax
- 13
- 3
0
votes
1 answer
Convert one interface to a tunneled interface
I have a server with 2 WAN interfaces, eth1 and eth2. Each one have one router connected which gives them these IPs: 192.168.3.101 and 192.168.1.101.
The thing is that I want to completely avoid traffic through eth1 and instead create a tun0 which…

Jorge Fuentes González
- 191
- 11
0
votes
1 answer
Ubiquiti EdgeRouter uses default route over static when responding to ICMP
I need to have a working connection between two router devices and the subnets behind them. Everything else in the setup seems to work except one static route. Here is the basic information about my setup:
Juniper:
Vlan95 10.250.0.1/24
Vlan1 …

nyoatype
- 65
- 1
- 9
0
votes
0 answers
How to handle VPNs and native IPv6
I've got native IPv6 via my ISP (they give me a /48). Using RAs (SLAAC), my router is advertising a particular /64 to machines in my network - in other words my network has full native IPv6.
My router is also connected to an OpenVPN network to…

Iain Lane
- 101
- 3
0
votes
1 answer
Iptables forward incoming traffic multiple ip
I have a server with 5 ipv4
95.x.y.1
95.x.y.2
95.x.y.3
95.x.y.4
95.x.y.5
and I need to forward only the incoming traffic from port 80 to port 8080 (and same ip) so
95.x.y.1:80 --> 95.x.y.1:8080
95.x.y.2:80 --> 95.x.y.2:8080
95.x.y.3:80 -->…

Francesco
- 1
- 1
0
votes
2 answers
Dante on multiple gateways in subnet
I have two gateways in my subnet.
192.168.1.2 - main
192.168.1.1 - secondary (yeah that's not a mistake)
So I am using 192.168.1.2 everywhere as default route
Is it possible to configure danted so it will forward outgoing connections to the…

POMATu
- 210
- 2
- 10
0
votes
2 answers
Tyring to figure out ip-route
I've been playing with packet tracer and trying to fully grasp ip routing. So far I'm doing ok i think.
Why am i able to ping r3 from pc1 (route working correctly as it should) vice-versa but cant ping r3 from r1.

kwapster
- 1
- 1
0
votes
1 answer
map local address to external one?
Currently I have a network setup like this:
Router (aka. OuterRouter) to connect to the Internet (localIP: 192.168.0.1/24, externalIP: )
Router (aka. InnerRouter) for local network. This router uses its external address…

SOReader
- 101
- 2
0
votes
1 answer
ip routing src rewrite
been fighting on this configuration for too long.
Let say a public IP : 1xx.24.184.yy/32
Let say a private network : 10.184.yy.0/28 gw 10.184.yy.3
Now I would like my public IP routed via the gateway
What is the good configuration ?
…

Gilles
- 1
0
votes
1 answer
Time Clock IPsec and Layer3 Routing
Thank you for your time, I incorrectly asked this in Network Engineering so I'm moving it here.
I have a Remote Office and a Main Office linked via IPSec with the Main Office being 192.168.16.0/24 and the Remote being 192.168.1.0/24. I can ping all…

BigMikeL
- 121
- 1
- 6
0
votes
1 answer
How to enable correct routing with a VPN interface?
I installed wireguard on a server in a LAN and have a problem with a single ping between two components. the topology is as follows:
srv is a Linux machine (Ubuntu 18.04) which has one physical interface with the IP 192.168.10.2 and a virtual…

WoJ
- 3,607
- 9
- 49
- 79
0
votes
1 answer
IP routing issues in Ubuntu
I have four servers:
VPN Server (10.12.96.5/28)eth5 & 10.8.0.1(TUN0)
Web Server 10.12.96.4/28
Proxy Server 10.8.0.4/24
PBX Server 10.12.96.3/28
PROXY-----VPN-----WEBSERVER
VPN-----PBX
The VPN server has a private IP 10.12.96.5/28, and a VPN IP of…

Ian Arman
- 123
- 3
- 8
- 15
0
votes
1 answer
DITG (ITGSend, ITGRecv) via two network interfaces of the same machine
I have a server on which a transmission benchmarks shall be performed. This server has 3 network interfaces (172.16.10.205 for SSH, 10.0.4.105 for sending, 10.0.8.105 for receiving)
to satellite from satellite
…

Charly
- 101
- 2