Questions tagged [iproute]
42 questions
0
votes
1 answer
Redirect remote desktop traffic with 2 WANs and 1 LAN
Im configuring a linux centos sever for testings and the network configuration for it is:
WAN 1= 192.168.1.103/24 eth0
WAN 2= 172.16.1.249/16 eth1
LAN = 192.168.10.1 eth2
server is configured to be a non transparent proxy without authentication,…

luiguiv
- 1
0
votes
1 answer
iproute2 premptive route creation, i think
Firstly:
I know could do this the easy way with SSH but I want to learn how to route.
I want to route packets back through the same tun0 interface from which they came into my system.
I can do it for single routes.
This works:
sudo ip route add…

Bryan Hunt
- 321
- 4
- 14
0
votes
0 answers
Ubuntu/netplan/iproute: route everything except specific /24 across interface
2 VLANs
10.160.32.0/24 on ens160 -> * (assume multiple non-merging subnets)
10.192.16.0/24 on ens192 -> management
Through ens160 I can hit other networks via routing.
Through ens192 is my management interface which isn't routeable via…

ClontarfX
- 1
- 2
0
votes
1 answer
Communication between two interfaces on same machine
How can I achieve communication between 2 clients connected to 2 interfaces. E.g. Client A connected to eth0 and Client B connected to wlan0? Both will get DHCP IP.

sbx
- 13
- 4
0
votes
1 answer
Totally isolate two interfaces -Linux
I'm a bit embarrassed but I need your help.
I have three interfaces on a virtual machines. I want to completely isolate my interfaces between them.
I created one route table for each interface:
inet 192.168.1.100/24 brd 192.168.1.255 scope…

Aurelien
- 1
0
votes
1 answer
Ubuntu server as both a private NAT router and a public router
I am attempting to do something I've never tried before. I have a Dell PowerEdge 540 that I've installed Ubuntu on. I got a Comcast Business line installed, and have the following physical network configuration:
Ubuntu Server 20.04.3 LTS
enp10s0f0:…

JimmyP624
- 23
- 2
0
votes
1 answer
how to mark connections to route multiple gateways?
hi i am having trouble setting up permanent routes for my network interfaces,
i have :
os : linux (centos 7)
eth0 : IP 172.16.3.6 -- Gateway : 172.16.0.1
eth0:1 : IP 10.1.5.102 -- Gateway : 10.1.5.101
eth0:2 : IP 10.1.5.106 -- Gateway :…
0
votes
1 answer
CentoOS and IP RULE
I don't understand my situation. I have a network lab like on a picture.
I can't ping 192.168.5.1 from 192.168.1.2 then the 192.168.5.1 has 192.168.4.2 like a default gateway.
Linux# ip route
default via 192.168.4.2 dev eth1 proto static src…

Paravozik
- 23
- 1
- 5
0
votes
0 answers
Connection Refused - Cent OS7
It seems that the OS is blocking the connection outbound, I'm just not sure if it's because on my config. As I cannot yum install or curl but it shows connection refused. I tried the below commands to check.
netstat
curl
iptables
yum update
ip…

EatCodePlaySleep
- 1
- 1
0
votes
1 answer
Ubuntu Routing: Dual Nics with 2 Vlans
I am new to linux routing. I have an architecture similar to this
. I realize this network architecture is fundamentally flawed however I am not permitted to change the architecture. I did some research and believe I need to create routing tables…

Eric Humenay
- 1
- 1
-1
votes
1 answer
SAVE IP ROUTE RULES AFTER REBOOT
I have two internet connections from two different ISPs and I need to balance & failover the traffic originating to and from my network between the two ISPs.
My settings:
FIRST ISP (eth0): 152.152.104.226
SECOND ISP (eth1): 172.110.132.115
LOCAL…

Valeriu
- 43
- 1
- 2
- 8
-1
votes
1 answer
ip routing policy in linux
I have a linux system with two network interfaces (eth0 in x.x.x.0 and eth1 in x.x.y.0). Is there any posibility to add some route policy to send all the traffic to network x.x.y.0. I would like even the traffic from eth0 to be send to eth1's…

Dragos
- 11
- 1
- 1
- 3