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

0
votes
1answer
27 views

linux how to config route etc/network/interfaces?

how to config route in etc/network/interfaces ? i want add 3 route in eth0 and eth1 i have try to configure like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
0
votes
2answers
37 views

Cannot add route

Followed an excellent thread on configuring network settings. Looks like I got the address right (10.10.150.10/24) as I can ping my local interface (10.10.150.10), and the upstream router's address ...
0
votes
1answer
17 views

How does communication between a BeagleBoneBlack occur and what is special about its mounting procedure? [closed]

If a BeagleBone is connected to a linux machine (and probably also to Windows in some form) it will identify itself somehow as a network interface card and, consequentially, will be assigned an ...
1
vote
2answers
41 views

Is /etc/sysconfig/static-routes a deprecated method for adding persistent routes?

RHEL 5.x I'm comfortable with adding static routes via /etc/sysconfig/static-routes. When I was reviewing Red Hat documentation though, I didn't see this mentioned. Instead, the recommendation was ...
0
votes
0answers
18 views

Ubunut 14.04 route timeout

i add a static route in /etc/network/interfaces up route add -net 10.0.0.1 netmask 255.255.255.255 gw 192.168.0.12 But at night the Gateway 192.168.0.12 is shutdown for backup 2 hours. Now every ...
1
vote
1answer
32 views

Change preferred NIC in default routes

I have a VM with CentOS 7.1 and two NICs: eth0, dhcp, 192.168.1.0/24, access to the host and the Internet. eth1, static, 10.0.0.0/24, between VMs only. I have configured IP and connectivity is ...
0
votes
0answers
16 views

How do you interpret these routes? or more or more specifically, what is scope link?

I don't understand completely what these routes mean: [root@samplehost ~]# ip route show ...#default route here 10.68.172.0/24 dev eno33557248 proto kernel scope link src 10.68.172.20 ...
0
votes
1answer
27 views

Adding route entries to the routing table

I have a device that has a default IP address of 10.1.1.102 with netmask 255.255.255.0. Rather than changing it, I tried to add a routing entry to my routing table using route add. sudo route add ...
0
votes
0answers
12 views

socks to remote vpn clients on single server

I have the following setup: [user1] > ssh -D 1080 server > [server A a.a.a.a] openvpn --config vpn1.ovpn > [vpn server #1 x.x.x.x] [user2] > ssh -D 1081 server > [server A a.a.a.a] openvpn --config ...
1
vote
0answers
21 views

How to route using iproute2 not iptables?

I have a linux machine which has two ethernet ports. One interface eth0 is connected to public interface. And, other interface eth1 is connected to Wireless AP with private IP. eth0: ip: 202.x.x.2 ...
0
votes
1answer
36 views

iptables selectable tunnel

I have this configuration script: I OPENVPN TUNNELS openvpn --config serverx.ovpn > /dev/null 2>&1 & openvpn --config servery.ovpn > /dev/null 2>&1 & TEST ON MY ...
0
votes
1answer
93 views

route on specific interface based on port

I have a php / bash application on top of a Linux machine with 1 physical interface connecting to e.g., outbound webserver 123.123.123.123 :80. I do this via several openvpn providers. I have both tun ...
2
votes
2answers
51 views

How do I know what Interface is my public interface?

I am setting up an application and it requires me to manually enter a public interface. When running sudo route it gives the following result: Kernel IP routing table Destination Gateway ...
0
votes
0answers
24 views

How to route one IPv6 interface to another IPv6 interface

I am following an instruction from this link, it uses ethernet link and assigns bbbb::/64 address, and another interface (/dev/ttyACM0) that has aaaa::/64 address. It has the following network ...
1
vote
1answer
127 views

How to route traffic through different proxy servers based on destination

Background I work on a corporate network that is behind a proxy server. I also work with some remote sites that I am able to access via a bastion / jump host ssh proxy. In my ~/.ssh/config I have a ...
0
votes
1answer
44 views

connect two networks though common computer using route table

i have two computers. computer A network devices: dev address ------------- wlan0 192.168.1.2 eth0 10.42.0.1 computer A routing table: Destination Gateway Genmask Flags ...
0
votes
0answers
124 views

virtualbox, how to enable host to access the Internet via the guest?

I have a notebook and installed Fedora 21 into it, then I installed virtualbox, then I installed Windows XP as a guest. From the Windows XP, I used the eth0 as the bridge to let the dialer(only ...
2
votes
1answer
52 views

Per user routing on wifi

I'm using vpn but i want to have one user that could access network not through vpn but using my real ip address. The problem is that all solutions i found by quick google'ing, for example this ...
0
votes
1answer
440 views

Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers

I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
1
vote
1answer
76 views

How to add static route in Virtual Guest to reach Host network?

I have a Linux mint virtual machine running with public IP as 203.x.x.x with bridge mode Ethernet adapter whereas my physical machine IP Address is 145.17.x.x subnet. To access my physical PC's ...
0
votes
0answers
28 views

Can't access http anymore

My computer A is connected to an AP with an access to the internet. (interface called new0) I cannot have more than 1 computer connected to this AP. (authentification) I wanted to share internet, so ...
1
vote
2answers
30 views

How to use routing to use the next available inetface

My system has 2 interfaces (eth0, eth1). I open a socket and bind it with an ip attached to eth0, now I want the OS to route the packets to another ip (which attached to eth1 but i'm not sure it's ...
2
votes
1answer
56 views

route some traffic in subnet to other gateway

I want to route traffic destined for 192.168.5.0/24 to a gateway of 10.1.10.24, but all other traffic to a gateway of 10.1.10.1. I tried: ip route add 192.168.5.0/24 via 10.1.10.24 but it seems to ...
1
vote
1answer
82 views

Relationship bettwen route flags using route versus route flags using cat /proc/net/route

When you enter route in the command line, for flags it prints out U, UG, etc. In the file for route it stores flags as a number 0001, 0003 etc. How are the numbers for flags in the file ...
1
vote
3answers
456 views

Force all network traffic go through default gateway

I have a machine that I want to force all traffic to go through the default gateway. Even traffic on the local network. I have made it to work by removing the auto generated route for this interface, ...
1
vote
1answer
64 views

Forwarding traffic coming from SSH tunnel to VPN tunnel on a Linux device

I want to route network traffic that comes from one end of an ssh tunnel (constructed by ssh dynamic port-forwarding) into one end of a VPN tunnel. Given four Linux devices A, B, C and D, for ...
0
votes
0answers
43 views

Kernel routes not loaded to Quagga ospfd process (freeBSD)

I'm trying to redistribute kernel routes that are added using the route command. For example: route add -net 2.0.0.0/24 -interface em0 I'm using Quagga ospfd under pfsense to redistribute the ...
0
votes
1answer
72 views

Debian network disappearing

I'm running Debian v8 (systemd purged and systemV installed ... works fine). It is a clean installation (Debian v7 used to be on this machine) The harddrives failed after numerous power failures on 1 ...
0
votes
0answers
98 views

Where is the route table file in SUSE?

According to the documentation at http://www.softpanorama.org/Net/Linux_networking/Suse_networking/suse_etc_sysconfig_network_route.shtml there should be a table containing the routes at ...
1
vote
1answer
79 views

How to connect between two Linux machines VIA Linux router machine

I have three Linux machines that connected as the following: Linux_machine1 --> Route_linux_machine --> Linux_machine2 How to ssh from Linux_machine1 to Linux_machine2 Only VIA ...
1
vote
1answer
613 views

Where is routing table stored internally in the Linux kernel?

When I execute route -n, from where exactly (from which structs) is the information displayed retrieved? I tried executing strace route -n but I didn't help me finding the right place it's stored.
0
votes
0answers
32 views

How to tune dhcp networks configuration?

I'm not sure how should I configure my guest VirtualBox networks. So far, I figured out how to override this configuration so that I can connect to machines on both networks. But I'm manually ...
1
vote
1answer
89 views

Can't use 2 interfaces at the same time

I can't get eth0 and usb0 (same with wlan0) working at the same. When I activated the Android Tethering, I did route add default gw 192.168.42.129 usb0, and so, route -n outputs: Table de routage IP ...
0
votes
1answer
88 views

Connect through different interfaces to the same server

i have two pppoe interfaces - ppp0 and ppp1. I would like to reach the same server on both interface. I added the desired ip address to the route table: route add 10.88.40.13 ppp0 And I could ...
0
votes
0answers
512 views

iptables - hairpin NAT dual WAN

Here is my lab Client LAN: 192.168.150.95 Gateway: 192.168.150.1 RDP Server LAN: 192.168.150.2 Gateway: 192.168.150.1 Linux Router WAN: 177.129.XXX.XXX Gateway: 177.129.XXX.XXX LAN: 192.168.150.1 ...
0
votes
0answers
140 views

how to set a route and firewall for a static ip

These directions on setting the static ip address for vicidial seem at once very specific and overly broad: Type 'yast lan' and press ENTER Optionally, you can type 'yast' and navigate to the ...
0
votes
1answer
579 views

Problem with routing tables network interface in Centos 6.6

I've problem with the routing tables, I've 2 network interface. (2 interfaces with 2 difference network address IP address: 112.xxx.xxx.xxx: static IP and 10.xxx.xxx.xxx local IP) 1: IP address is: ...
1
vote
1answer
39 views

Gateway configuration is not working

I have three virtual machines, vm1, gwvm and vm2. gwvm has two interfaces, one connected to vm1 and other connected to vm2. Following image has IP and route details, Here vm1 and vm2 are in ...
2
votes
2answers
503 views

which order is the route table analyzed in?

On my pc I have to following routing table: Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 ...
0
votes
0answers
155 views

OpenVPN Server only Serves traffic from Google.com to Client

So I am pretty sure this is a routing/config problem. Whenever my client (Android OpenVPN) connects to the OpenVPN server it can only retrieve traffic from google.com searches. Whenever I try and ...
3
votes
0answers
91 views

delay in IP route deletion

(Apologies if this is the wrong StackExchange for this question, but there does seem to be some confusion regarding appropriate targeting of IP networking questions) I am very much a network newbie, ...
2
votes
1answer
3k views

proper syntax to delete default route for a particular interface?

summary: me@client:~$ sudo route del default ppp0 SIOCDELRT: No such process me@client:~$ sudo route del default dev ppp0 SIOCDELRT: No such process me@client:~$ sudo route del -net default dev ppp0 ...
1
vote
1answer
96 views

Connect to offline network on second interface

I have an offline router I'm using to connect a remote wireless device. The router cannot be configured as an access point, or I would just use it to extend the range of my existing WLAN and use the ...
2
votes
0answers
98 views

Binding to a VPN interface not working

so I've been working on setting up a Raspberry Pi running Raspbian lately, and I have almost everything set up the way I want. I plan on using it headless, but I've been using X11 forwarding to view ...
2
votes
0answers
291 views

Connecting to two ISP in local network using two different network

We have two ISP 1. BSNL (INDIA), 2. Airtel (INDIA). we getting Bsnl internet through D-Link DSL 2750U modem which holds the IP 192.168.1.1, Airtel internet modem with 192.168.2.1 IP address, Here it's ...
2
votes
0answers
189 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.
7
votes
2answers
12k views

How to add ipv6 default route

I have the following setup Linux 1 Linux 0 eth1 eth0-------------------eth0 14.14.14.80 19.19.19.20 19.19.19.10 2005::5/64 ...
0
votes
0answers
156 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 ...
2
votes
1answer
235 views

Bring network interface down if physical connectivity is lost

I have a headless Debian server with two network cards: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000 link/ether 01:02:1d:54:7c:01 brd ...
3
votes
0answers
817 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 ...