Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
0
votes
0 answers

Route Internet traffic to another Network card

sorry for my bad English :) I have a windows server with hyper-v installed. on this server I have 2 Network cards: NIC1: 192.168.x.x 255.255.255.0 NIC2: 65.21.40.x 255.255.255.x I want the VMs in hyper-v which uses 192.168.x.x range use NIC2 for…
Faraz
  • 1
0
votes
0 answers

multiple default route while in vpn, removing not working (Mac)

When I'm connected to vpn, I see multiple default routes in netstat: default link#20 UCSg utun3 default 192.168.20.1 UGScIg en0 When I run traceroute google.com, I see that requests lands…
chiddy
  • 1
  • 1
0
votes
1 answer

Convert nginx @route config to Apache

I have a vue project, it transfers all request to index.html, but if i refresh page, server can't find route, so in Nginx I config location /admin { try_files $uri $uri/ @routeradmin;index index.html index.html;} location @routeradmin { rewrite…
0
votes
1 answer

Route lan traffic to specific subnet using a VM with OpenVPN

I have a OpenVPN connection to access private services (service1, service2). To access them, I must connect using an OpenVPN client on "MacMini". I would like use the OpenWRT router (192.168.1.1) to connect to a VM (192.168.1.10). The VM has an…
chepe263
  • 101
  • 2
0
votes
0 answers

Routing table for 2 interfaces

I have the following interfaces eth0 192.168.1.178 subnet mask 255.255.255.0 default gateway 192.168.1.1 eth1 10.4.0.6 subnet mask 255.255.255.252 default gateway 10.4.0.5 I want eth1 only can communicate with 10.4.0.5/30 network, rest of the…
c_c
  • 1
0
votes
1 answer

OpenVPN tun not forwarding traffic

I'am wondering how to forward traffic from a gateway to a subnet. network setup I have this working setup. Host A, HOST C, and HOST VPN have interfaces from internal network IP addressing and communicate between each other. In host B i have run an…
rootin
  • 1
  • 2
0
votes
1 answer

Unable to reach different network using ubuntu server as a router in gns3

My network is shown in the picture, I am trying to ping from a windows vm to an ubuntu vm in a gns3 network. But I get: "Destination host unreachable". Network: https://i.stack.imgur.com/2xR6S.png I am trying to use ubuntu server 18.04 as a…
0
votes
1 answer

Routing all Traffic through a VPN Node while accepting incoming WAN Connections

I want to route all traffic through another VPN-Node, while: Keep the Connection to the VPN-Server active (already works) Still accepting WAN-Connections on that Client. My Client Node Configuration: # 35.1.1.1: WAN IP of VPN-Server # 192.168.8.1:…
Arakis
  • 361
  • 1
  • 2
  • 7
0
votes
3 answers

RedHat - add static routing rule

I've got two subnets and a RedHat 5.3 with 2 NIC, each with an IP on a single subnet: eth1 172.16.0.4, 255.255.255.0 eth0 194.20.23.183, 255.255.255.0 On each subnet I've got a Gateway / Firewall and I'd like to forward each NIC on its own GW. This…
AleIla
  • 103
  • 1
  • 5
0
votes
0 answers

RTNETLINK answers: Invalid argument for specific IP Ranges

ip route add blackhole 64.79.89.0/19 ip route add blackhole 64.79.85.0/19 I try to add these ranges into route but they give RTNETLINK answers: Invalid argument I am not sure if it is about those ranges or a specific problem on my server but other…
0
votes
2 answers

Add secondary IP to ESXi host from different subnets

I have to add a secondary IP to an ESXi host running ESXi 6.5. My objective is to allow communication between some machines running on a different local network and the VMs present inside ESXi through a secondary interface. Here is a map depicting…
M3m3l0rd
  • 3
  • 2
0
votes
0 answers

Docker Messing With IPTABLES?

I have a problem with docker docker: Error response from daemon: driver failed programming external connectivity on endpoint containername (containerhash): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d…
lion
  • 13
  • 6
0
votes
1 answer

Routing two debian virtual machines on one network

I have two debian virtual machines on two different physical servers with 2 interfaces on each virtual machines. One port of each vm is connected to each other on a network with CIDR of /21. and there is one sip trunk network connected to 1st vm…
xchan4
  • 1
0
votes
1 answer

Isolating my docker container from the rest of my local network (route add reject not working)

I'm just simply trying to add a route to reject any traffic to other systems on my local network from my docker container, but seems like my route add command isn't working and I'm not quite sure why. The command I'm used to running is route add…
LewlSauce
  • 151
  • 6
0
votes
0 answers

ipv6 route add with next hop fails

I'm trying to add an ipv6 route on machine B to subnet behind next hop A: 2:2:2::2/64 +---+ 192:168:2::1/64 192:168:2::10/64 +---+ -----| A |---------------------------------------| B | +---+ …
PieterV
  • 101
  • 2