Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
1
vote
4 answers

How do I find out linux gateway IP address?

I have CentOS 6.7 with two Internet connections eth0 - dynamic IP address and dynamic gateway via DHCP (controlled by NetworkManager) ppp0 - dynamic IP address and dynamic gateway (configured with rp_pppoe) I want write script which will change the…
snex
  • 191
  • 2
  • 8
1
vote
0 answers

Static route between vlans

Windows server 2003. MS TMG with two NICs. I have two vlans in my network. vlan1: 200.1.1.0/255.255.255.0 vlan2: 200.1.2.0/255.255.255.0 I have an ISA server with two NICs in vlan2. NIC1: 200.1.2.100 (default gateway set to nothing - if I set this…
Rafi
  • 11
  • 2
1
vote
1 answer

How can I access to devices on remote LAN

Here is a quick diagram of what i'm trying to configure I have multiple clients connecting to my VPN Server (from 10.0.1.2 to 10.0.25.2). Each LAN behind the clients are always the same : 192.168.1.0/24 and devices use the client as default…
Thomas N.
  • 121
  • 1
  • 6
1
vote
0 answers

How to use virtual interface as default interface

I've got a cloud SSD VPS @ OVH, and I'd like to change the default interface used for requests. I have two interfaces: eth0 (which is the default interface) and eth0:0 (which is the new virtual interface that I'd like to use). Here is the output of…
Danogentili
  • 111
  • 1
1
vote
1 answer

How do I set Ubuntu server to two static IP addresses and proper routing with two interfaces

I'm trying to set up the routing table on Ubuntu 12.04. The network environment is as follows: server -----eth0 192.168.0.1 (DMZ)---LAN----10.13.x.x Because the communication between 192.168.0.1 and LAN is too heavy, the firewall will crash.…
HCChen
  • 11
  • 1
1
vote
1 answer

Traceroute and BGP peering

Doing a traceroute for example: 1: 1ms 1ms 1ms 1.1.1.1 2: 2ms 2ms 2ms 2.2.2.2 3: 5ms 5ms 5ms 3.3.3.3 4: 9ms 9ms 9ms 4.4.4.4 My question is: If the AS number of 2.2.2.2 and 3.3.3.3 are not peering directly, is it possible to get a traceroute…
Shiji.J
  • 186
  • 9
1
vote
0 answers

Adding a route to VPN network in server LAN, Windows machine

I set up an OpenVPN server in my LAN in routed mode (1 network card) and I want to connect to MyLaptop from the internet. To do so, I enabled IP forwarding on the VPN server, and added a route on MyLaptop to the VPN network, with the VPN server's…
dpeng
  • 119
  • 3
1
vote
1 answer

Windows VPN with different subnet

I just configured a Windows VPN server, this service will have a large number of clients, probably more than the LAN itself, I am thinking of using a different subnet on the VPN IP Pool, but not quite sure how to route the VPN client subnet to the…
D4.
  • 95
  • 3
  • 10
1
vote
2 answers

Ubuntu: Persisting IP Route Change on Reboot

The following command at the terminal gives me the networking changes I need: ip route change default via 10.255.255.1 dev eth0 src 82.82.82.82 To persist this on reboot I add the following to /etc/network/interfaces post-up ip route change default…
Peter S
  • 9
  • 1
  • 3
1
vote
1 answer

Routed traffic away from VPN has no internet (Fedora)

I'm very new to linux routing and such as a preface. I have a plex server set up on Fedora 22. I've recently started using a VPN service connected via OpenVPN. Everything works great via VPN on my internal network but of course externally my Plex…
xalten
  • 11
  • 1
1
vote
1 answer

Adding multiple static routes for the same host to different gateways

I have 2 openvpn clients connected to 2 different servers, on tun0 and tun1 devices. I need to add 2 static routes, for the same host IP, and map them to 2 different gateways and tun devices. I've ran these 2 commands: route add -host 69.30.217.90…
Yegor
  • 21
  • 1
  • 4
1
vote
2 answers

How to add persistent route for 2 VPN connections when interface # varies?

I need to configure split tunnelling with persistent routes for 2 VPN connections on the same computer as the user needs to connect to 2 different corporate servers at the same time. I have a problem though as the VPN interface # varies in some…
Hanuman
  • 11
  • 1
  • 1
  • 4
1
vote
1 answer

How to set route table priority on OS X

Is it possible to set route table priority or metric? On Ubuntu I can run following commands to achieve what I want, but I can't find alternative for OS X sudo ip rule add from all lookup $ROUTE_TABLE_NAME prio 1000 sudo ip route add default via…
endryha
  • 111
  • 2
  • 4
1
vote
1 answer

Add static route on Ubuntu 14.04 server

I have set up Ubuntu 14.04 server on a machine and configured /etc/network/interfaces with two gateways. The default one is em1 which is fine, but I need traffic to a specific IP address on the internet to be sent via the other gateway. The…
James
  • 31
  • 1
  • 1
  • 4
1
vote
4 answers

Why am I getting different results from two servers that located in the same destination network?

There's two servers with the same network IP, and the only difference between them is the last two numbers like: 37.211.15.247 and 37.211.166.178. The Hosting Provider claims that the subnet mask for both networks is 255.254.0.0 When I try the…
John Hark
  • 37
  • 1
  • 7