Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
0
votes
1 answer

Network Config: Difference between Windows and Debian

We have a so called "LAB"-Network(VLAN). The Switch and Firewall are configured to allow access from the ip 10.150.151.1 (Windows Client in LAB) and 10.150.151.10(Debian Client in LAB) to a mail gateway(10.100.15.3). Using the following…
SaintCore
  • 83
  • 2
  • 3
  • 8
0
votes
2 answers

How to configure network interfaces for three NIC cards all on three different subnets

I am setting up a cloud environment on Ubuntu and I am running into an interesting problem. Out of the box Ubuntu (all linux really) doesn't allow you to specify more than one gateway in /etc/network/interfaces Since I am not using DHCP for any of…
Ethode
  • 200
  • 10
0
votes
2 answers

Make some route info persistent on RHEL

I would like to make the following route info persistent. I know how to do it for the default, but how about this line: 10.27.74.0 * 255.255.255.0 U 0 0 0 eth0 Destination Gateway Genmask …
yield
  • 771
  • 1
  • 9
  • 24
0
votes
1 answer

Mikrotik- a subnet route is ignored

I have the following schema: Site1 (Mikrotik) Static WAN IP - 192.168.28.11/28 dynamic connected route - 192.168.28.0/28 --> 192.168.28.1 (route1 for short) static connected route - 192.168.28.240/28 --> 192.168.28.1 (route2) Site2 (cheap simple…
user266784
  • 11
  • 3
0
votes
0 answers

How to define route on all IP addresses except some subnet

I need to set up the following rules: If IP is in range 192.168.0.0-192.168.0.255 then route iut from gateway 1 (let's say 192.168.2.1) otherwise for all other IP addresses route it through default gateway 192.168.1.1 I tried to set up this: route…
seeker
  • 231
  • 1
  • 3
  • 13
0
votes
0 answers

How to terminate any ip/ip tunnel which has this host as destination

I am in a situation where I want to terminate any tunnels at one device. I.e. I want to be able to create a tunnel to this device from any source ip adress. Something which can inspect a packet, see that it is a tunnel (IP-in-IP or GRE works fine…
0
votes
2 answers

Private Network Interface between to MacOSX servers

We would like to set up and private single cable connection between two Mavericks servers, that also need to talk to the rest-of-the-world. The two servers for sake of argument are DB and Web. There are two interface cards on each, which we'll call…
Dycey
  • 101
  • 2
0
votes
1 answer

IP route not on default gateway

I am trying to setup a network that is only accessible if you go through the '10.222.3.1' switch. It is a test environment that we do not want interfering with our production environment. The trouble I'm having is the core switch '10.222.3.254'…
0
votes
1 answer

Why adding a route here is throwing up an error?

I have a linux Fedora -16 machine that has two interfaces - em1 Link encap:Ethernet HWaddr B8:CA:3A:89:EE:F1 inet addr:136.170.195.17 Bcast:136.170.195.255 Mask:255.255.252.0 inet6 addr: fec0::f:baca:3aff:fe89:eef1/64…
dexterous
  • 215
  • 3
  • 7
  • 13
0
votes
1 answer

Public IP not responding because routing table...?

Fixed with: /etc/iproute2/rt_tables 1 tble_eth0 /etc/sysconfig/network-scripts/route-eth0 104.000.64.0/18 dev eth0 src 104.000.65.38 table tble_eth0 default via 104.000.64.1 dev eth0 src 104.000.65.38 table…
OnTheFly
  • 3
  • 3
0
votes
0 answers

Openvpn Packet loss troubles

Hy! I got an Openvpn server on Linux and use it to route all ipv4 traffic from my clients (win7,android, pfsense etc). I finally want to really understand the routing thing, although it works, but more because my server .conf was made upon trial and…
Peter Fleix
  • 1
  • 1
  • 2
0
votes
1 answer

force use of specific ip when talking to specific host

I have a server with multiple interface alias running debian. lets say eth0 eth0:0 and eth0:1 I'm looking for a simple solution, when connecting to host 1.2.3.4 (or host range, would be better) that I could enforce using ip address of eth0:1 (and…
Antony Gibbs
  • 515
  • 3
  • 12
0
votes
1 answer

Understanding aws ec2 default routes in

After launching a new EC2 instance on AWS, I get the following routes. The LAN subnet is 10.0.0.0/24. $ sudo route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.0.0.1 …
nwarp
  • 143
  • 3
0
votes
1 answer

Need help interpreting route output

GUEST CentOS VM (VirtualBox): [root@localhost network-scripts]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 10.0.2.2 0.0.0.0 UG 0 …
user
  • 123
  • 8
0
votes
1 answer

OpenVPN config for route some traffic through VPN CentOS 6

My server is using CentOS 6.4 64 bit and have 2 network adapter. 1st adapter have an internet ip: 192.241.190.x 2rd adapter is an LAN network with ip: 10.60.5.62 I installed openvpn and config for server on it, my client connect to server by ip…
Viet
  • 113
  • 1
  • 5