A route is the path through the network packets take in order to reach their destinations. The route command lets the user view and modify the IP routing table

learn more… | top users | synonyms

3
votes
3answers
215 views

Change routes for VPN

I need to use for some things a cisco VPN connection, but I don't want to route all my trafic over the VPN but only that traffic, that is send to a specific network. How does a script look like, that ...
3
votes
1answer
76 views

IP rule table look up does not seem to work

I have a sytem with three network interfaces. Below is the configuration that I'm trying to set up. wlan0 (its actually an WiFi AP interface) - other devices connects via this interface. net1 - ...
1
vote
1answer
153 views

How to relay packet in a wireless ad hoc network?

I am trying to connect several Linux computers in wireless ad-hoc multicast : -computer C1 (192.168.1.3) -computer C2 (192.168.1.5) -computer C3 (192.168.1.6) C1 can not reach C3 On computer C1, ...
0
votes
1answer
181 views

Separate traffic between two tun+ devices with openvpn

I'm running two OpenVPN clients, so I have two tun interfaces configured. Each of the tun interfaces has a different subnet. One of the interfaces, let's say tun1 has a default route, so most of my ...
0
votes
1answer
34 views

Adding access to PPP

I have a PPP connection over USB (dev ppp0), and an eth0 connection. My Linux box has IP 192.168.1.1, I have a second Windows PC with an IP of 192.168.1.3. The ppp conection is 192.168.1.2 - which is ...
3
votes
0answers
177 views

OpenVPN and routing problem on OpenWRT

My home topology: router1 (192.168.1.1) - D-Link dsl2540u server with static IP available from Internet (ADSL via ppoe). 4 LAN ports. router2 (192.168.1.2) - D-Link DIR-300 with OpenWRT. Plays ...
2
votes
0answers
39 views

Default iterface/routes metric in Linux

When I run ip route on my Linux machine, I see default via xxx.xxx.xxx.xxx dev eno1 metric 202 I wonder, where this 202 metric is configured and what other ip commands use it.
2
votes
0answers
89 views

forward virtual interface network in KVM guest to the physical interface in the host machine

I am trying to experiment with Linux IP routes. This is what I have so far. I have a host machine whose network details are as below. wlan0 inet addr:192.168.1.9 Bcast:192.168.1.255 ...
2
votes
0answers
130 views

KVM guest as default gateway for bridged network

I currently have two vm's both on kvm (virt-manager), both running on separate virtual interfaces (virbr0 and virbr1). The IP of virbr0 is 192.168.122.0; the IP of virbr1 is 192.168.123.0. Both VMs ...
2
votes
0answers
56 views

Update Route Entry On another DD-WRT upon New IP address (WAN) SSH linux

I have two routers on two different gateways/ISPs but on the same local subnet (192.168.). If router A (192.168.1.1) gets IP address from the ISP (for example 24.64.10.15, non-static), I would like ...
2
votes
0answers
345 views

How to bind ppp0 interface (PPTP VPN) as 'external' in proxy server?

I'm trying to bind ppp0 interface (PPTP VPN) as 'external' interface in proxy server (Tinyproxy). Unfortunately it does not work. Using route add -net default gw 10.9.0.1 I can make all the traffic ...
2
votes
0answers
431 views

Route VPN gateway traffic via tun0 instead of normal gateway

On my Linux box, I have a tun0 interface by IPIP tunnel like: tun0 Link encap:IPIP Tunnel HWaddr inet addr:10.10.10.2 P-t-P:10.10.10.1 Mask:255.255.255.255 and I running an ...
1
vote
0answers
128 views

Forward multicast between two LAN segments (Chromecast)

I've found some rules but most are inconclusive. Chromecast uses DIAL and discovers via multicast from what I've understood.. I have an Ethernet-connected computer which I would like to route via my ...
1
vote
0answers
334 views

CentOS 7 persistent routing issue?

I have Googled a lot but still can't find a working way on how to make some persistent routes on centOS 7. [root@asd network-scripts]# route -n Kernel IP routing table Destination Gateway ...
1
vote
0answers
84 views

How to route network in order to use internet on CentOs?

I have 2 computer in local network which have CentOS both. One has wireless card which can use internet connection. Other computer does not have internet connection. I want to route ip addresses in ...
1
vote
0answers
667 views

Route to LAN subnet via OpenVPN client

I am trying to route to a LAN subnet that is connected via an OpenVPN client. I am having trouble with the route command - I cannot make sense of it. The OpenVPN link is established and I can ping ...
1
vote
0answers
27 views

A Way Around: Host Accessing Guest in Internal Network?

folks. I have installed a Linux virtual machine in VirtualBox with 2 adapters: vnet0 is a host-only network and vnet1 is an internal network. I am able to get the IP address given by vnet0. ...
1
vote
0answers
373 views

I have a route to the network but from the traceroute output it doesn't leave the server

I have an HP-UX box and I'm trying to determine why a host can't be reached. I'm trying to reach the host 10.32.13.146 root@hp-ux:/root # traceroute -I 10.32.13.146 traceroute to 10.32.13.146 ...
1
vote
0answers
506 views

Packets not received by TUN device

I created a TUN device(nat64) and created a route so that all the required packets are forwarded to the TUN device from an eth device. But, I see that many packets are not received by the TUN device. ...
0
votes
0answers
51 views

connected to ethernet and wifi, “route” browser's connection to wifi only

Sometimes, in my company, I have to work with a different network (through ethernet) that has no internet. On the other hand, I do have access to out Wifi, which has internet. Since I have to spend a ...
0
votes
0answers
28 views

route -n gives output “route: fscanf”

If I boot my system and no interface has an IP address I get the above output. However if I give an interface an IP, even if I remove it again, this will disappear. Why does this happen? Is it that ...
0
votes
0answers
66 views

SSH can't use internet when multiple interfaces present in route

I'm trying to make SSH tunnel connection on any possible interface (which has internet connection). I'm currently using ppp0 and eth0 interfaces. ppp0 always has internet and reinitialized if ...
0
votes
0answers
41 views

Connecting one network interface to the Internet disconnects the other interface

We have got an HP-UX server, but whenever I got connected to that machine using the ethernet cable I got disconnected from internet although my laptop has 2 nw interfaces. One wired one wireless. Why? ...
0
votes
0answers
200 views

Trouble with adding routes to different subnets

I'm having some confusion with adding routes to different subnets. Here's the layout: I have a vpn connection on tap0 which connects me to 192.168.14.110 That connection, on the other end is routed ...
0
votes
0answers
116 views

How to route 3 computer in wireless ad-hoc network?

I have three computers connected on the same wireless ad-hoc network with the following adresses : 192.168.1.3 <-----> 192.168.1.5 <-----> 192.168.1.6 On computer 5, I only did : ...