Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
0
votes
1 answer

How to route differently, with default route in place?

I have a setup as below: PC A --> Microtik --> C3750 --> ISP router Both Microtik & C3750 is configured with 0.0.0.0 0.0.0.0 ISP IP static route. This means that traffic from PC A will go to microtik, then C3750 and finally to ISP IP before going to…
Jun10r
  • 1
  • 5
0
votes
1 answer

How can I add (not replace!) a default route upon OpenVPN connection?

When I run sudo openvpn foo.conf I do not yet have a default gateway defined. Once the connection is established, I run sudo ip route add default via X.X.X.X, where X.X.X.X is the local IP of the newly created tun interface. That works perfectly…
user569825
  • 351
  • 3
  • 6
  • 12
0
votes
1 answer

VPN, ICS and routing

My setup looks like this: I have a Win10 PC that is connected to the internet and connected to a VPN. I share the VPN network interface via ICS to the second network card that connects to my router and the rest of my network. Now I want to route one…
Abhut
  • 1
  • 1
0
votes
1 answer

rhel7 default gateway in the route table

After restarting network/rebooting the server, the default gateway IP address is also getting added as a route Destination in RHEL7. How can I prevent this? We have not specified this setting and not sure how RHEL is picking up and adding this in…
0
votes
1 answer

Adding a persistant static route to a hardened embedded QNX Unix device

I'll start by saying forgive my ignorance if this is a simple task. I have enough knowledge of *nix to set it up and get around but this embedded version is a little different (missing 90%+ of standard commands) and I've hit a roadblock. I have a…
ADY
  • 93
  • 1
  • 12
0
votes
1 answer

Routing and OpenVPN not running on the default gateway

I'm having difficult time setting the correct iptable in order to route OpenVPN traffic to my internal OpenVPN client. My network is similar to this +-------------------------+ (public IP)| |…
lufee
  • 11
  • 3
0
votes
1 answer

Linux - how to set a default route with 0.0.0.0 as gateway

I have a problem where I need to manually set up a route on Ubuntu 18.04 during the init (ram) process. I cannot use any of the new networking tools, only Busybox is available. The routing table should looks like this: Destination Gateway …
Casper
  • 163
  • 1
  • 8
0
votes
1 answer

Get IPv6 route for VM

is there any option to get something like this for IPv6 (inet6 or -6): ip route get 8.8.8.8 Result: 8.8.8.8 via 94.**.***.1 dev ens3 src 94.**.**.112 uid 0 cache Where I can get the local IPv6 adress from the server (domain doesnt exists / is…
Aeris
  • 123
  • 1
  • 1
  • 6
0
votes
2 answers

Configure routing table to switch between two interfaces

I have a Raspberry Pi (OS: Raspbian, debian based), that is connected to a router via Ethernet and a GSM module via USB. I have a situation where I need to switch internet access between two interfaces based on availability. If the Ethernet (eth0)…
Dushyant Bangal
  • 123
  • 1
  • 1
  • 9
0
votes
2 answers

Use non default route as non privileged user

On Ubuntu 16.04, the default route for IPv4 is an interface other than eth0. If I try to curl -vvv --interface eth0 v4.ifconfig.co I get * SO_BINDTODEVICE eth0 failed with errno 1: Operation not permitted; will do regular bind But if I sudo it…
Gaia
  • 1,855
  • 5
  • 34
  • 60
0
votes
1 answer

windows 10 ip route not working for modem usb 3G

i have 2 interfaces: 1 .- Cable ethernet 2 .- USB modem 3G, The problem is i cannot work with both at same time, routing seems not to be working for me... I cannot nake this work: 0.0.0.0 0.0.0.0 10.39.232.98 10.39.232.97 …
0
votes
1 answer

what is the route table file

When I run the below command, where is it stored? Or it remains in the memory until a reboot? ip rule add from x.x.x.x table 1 I just wanted to use a custom name for IPV6 which would separate it from IPv4. So I gave table eth0V6 which threw an…
RatDon
  • 189
  • 1
  • 1
  • 6
0
votes
2 answers

IP route subnet via private IP

I've got 2 servers running Debian Linux: Server 01 with private IP 10.0.10.10 on eth0 Server 02 with private IP 10.10.10.10 on eth0, and also subnet 100.0.0.0/10 on tun-test From Server 01 I am able to ping Server 02 on 10.10.10.10. But I would…
Alfred Balle
  • 409
  • 3
  • 9
  • 22
0
votes
0 answers

Configure OpenVPN client to have public IP

Good morning, I'm currently trying to bring a public IP address directly to a VPN client. I'm using OpenVPN. Firstly, I've made bridge br0 on the server's side and I've adjusted OpenVPN configuration to use tap0 which is already included in the…
0
votes
1 answer

Some IP addresses are unreachable due to invalid route

I want to connect to remote machines. The problem is that I can connect to every machine except one. After some invertigation I found that problem is in route. Here is example: PS C:\Users\Alex> tracert 172.17.56.66 Tracing route to 172.17.56.66…