Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
2
votes
1 answer

Windows 7 routing traffic through the gateway for local addresses

Windows is adding a route for a local address (10.0.0.90 - my fileserver) with a gateway of (10.0.0.138 - this is my gateway), the gateway only has a 100Mbs link so all of my fileserver bound traffic is being reduced to 100mbs, if I unplug the…
Luke
  • 171
  • 5
2
votes
1 answer

Under what circumstances will Linux ignore the route table when choosing the MAC address for an outbound frame?

While debugging a problem with the networking configuration for a set of virtual machines running under KVM, I discovered a circumstance where the kernel in the guest VM has decided to stamp the outgoing Ethernet frame with a destination address…
jonseymour
  • 243
  • 1
  • 5
  • 13
2
votes
1 answer

Windows 7 + IPSec: Force all remote traffic through VPN

I have set up a VPN connection to an remote L2TP/IPSec VPN server, which works fine. Now i like to ensure that all remote traffic is being routed through this VPN, so if the VPN connection drops, no remote connection is being established I thought…
dapperdan
  • 31
  • 4
2
votes
3 answers

Route all wlan0 traffic over tun0

I'm looking for a way to route all wlan0 traffic (tcp and udp) over tun0 (openvpn). However, all other traffic originating from the device itself should not be routed through tun0. I'm guessing this could be realized using iptables or route, but…
Tuinslak
  • 1,465
  • 8
  • 32
  • 56
2
votes
1 answer

How can I get the remote machine with Windows Server 2008 after “route /f” executed on it?

Here is the thing, I had made a stupid mistake yesterday. I run "route /f" on a remote machine with Windows Server 2008, and this command cleared the routing tables, including the default route, which is fatal. Since no one is working on the remote…
huubby
  • 121
  • 1
2
votes
2 answers

How to remove route with IP?

Used to ban some flood-bots with route add -host $ip reject But couple of 'good' IPs were banned as well. My question is stupid (but I've searched and found no good solution (all were large and/or didn't work)): How to unban it if I know the IP…
ABTOMAT
  • 181
  • 1
  • 1
  • 10
2
votes
2 answers

ip over specific network interface

I have two network interfaces with respective ips eth0 : 192.168.70.153 eth2 : 192.168.70.155 when I make route -C Kernel IP routing cache Source Destination Gateway Flags Metric Ref Use Iface 192.168.70.155…
JuanPablo
  • 913
  • 3
  • 10
  • 21
2
votes
0 answers

Two separate WAN uplinks for two different NAT networks

I have a server running ubuntu 10.04 with four interfaces. eth0 and eth1 have static WAN ip's, and eth2 and eth3 are connected to two separate NAT networks 192.168.0.0/24 and 192.168.1.0/24 respectively. eth0 is masqueraded and NAT traffic from…
nixnotwin
  • 1,543
  • 5
  • 35
  • 55
2
votes
3 answers

Force static route for IP on same subnet?

Any way to force the use of a defined host static route when the IP is on the same subnet and disregards the static route entry? For instance I have a host host: 192.168.1.2 with subnet 255.255.255.0 and a default of 192.168.1.1 I'd like to…
CarpeNoctem
  • 2,437
  • 4
  • 23
  • 32
2
votes
2 answers

set default route interface in iproute2

I have two machines. One runs arch linux and another runs fedora. arch uses iproute2. so i need a conversion for iproute2 from route. this command will set the default interface to ppp0. I have searched for documentation but I have still no…
Idlecool
  • 234
  • 3
  • 9
2
votes
2 answers

openvpn: after changing to server mode, client does not create TUN device

I had a previously working configuration with the config files used in a previous question However, I've changed this now to the following configuration using server mode, everything on the logs seem fine, however the client doesn't create any tun…
lurscher
  • 172
  • 1
  • 3
  • 17
2
votes
2 answers

Splitting a subnet, and routing it on a two interface iptables firewall

I have a two interface Linux iptables firewall. Currently I have several servers behind it on a private network 192.168.0.x. The firewall currently has each IP configured locally and uses NAT to port forward to the appropriate server, for…
Antonius Bloch
  • 4,680
  • 6
  • 29
  • 41
2
votes
1 answer

vpnc “Target networks” and DNSUpdate options not working

VPNC documentation describes the options to restrict VPN connection route to a range of IPs and also leave system DNS setting untouched. My vpnc configuration (/etc/conf/default.conf) contains the following lines: Target networks 192.168.103.0/24 …
tishma
  • 203
  • 4
  • 13
2
votes
3 answers

What does this route map modification mean?

I've inherited administration duties for a firewall/gateway server, and I'm trying to understand what a particular static route setup in rc.local means: ... route add 123.123.123.123/30 10.10.3.14 route add 123.123.123.123/32…
Chris R
  • 533
  • 1
  • 5
  • 20
2
votes
3 answers

choose the outgoing interface for a default route

I have a FreeBSD 8.0 virtual box with two ethernet interfaces, em0 and em1. em0 is 192.168.1.99 and em1 is 192.168.1.100. Both are "Attached to: Bridged Adapter". When both are up, if I say # route add default 192.168.1.1 # netstat -rn # default …
nc3b
  • 153
  • 1
  • 7