Skip to main content

Questions tagged [routing]

Questions about using a router/networking, e.g. port forwarding, VPNs

Filter by
Sorted by
Tagged with
198 votes
13 answers
407k views

How can I make the Windows VPN route selective traffic (by destination network)?

I want to use a Windows VPN but only for a particular network, so that it doesn't take over my entire network connection. e.g., Instead of the VPN becoming the default route, make it only the route ...
Legooolas's user avatar
  • 5,910
134 votes
14 answers
122k views

What is the exact use of a MAC address?

I understand that IP addresses are hierarchical, so that routers throughout the internet know which direction to forward a packet. With MAC addresses, there is no hierarchy, and thus packet forwarding ...
119 votes
7 answers
45k views

IP address that is the equivalent of /dev/null

Is there an IP address that would result in any packet sent to be ignored (blackholed)? I know I can always set up a router with an IP address and then just have it ignore all packets sent to it, but ...
Tyler Durden's user avatar
  • 6,151
98 votes
5 answers
255k views

OpenVPN: Only route a specific IP addresses through VPN?

On a remote private network there are two servers -- a file server and a database server (these are both Win machines, in case it matters). The file server has its own fairly robust authentication ...
Brian Lacy's user avatar
  • 3,301
81 votes
3 answers
53k views

How do you get loopback addresses other than 127.0.0.1 to work on OS X

According to everything I read, the entire 127.x.x.x subnet should loopback. However, on my Mac, I can only ping 127.0.0.1 I know I've done this before (though possibly on another OS) and has come ...
elliotbetancourt's user avatar
69 votes
2 answers
123k views

What is the difference between ARP binding and DHCP address reservation?

In my TL-WR1043ND I have these functionalities and both of them pair an IP address to a MAC address. What is the difference? I read that ARP is for security reasons, others say it is for Wake-on-LAN. ...
totymedli's user avatar
  • 5,234
65 votes
10 answers
223k views

How to direct IP route through specific interface in OS X?

I'm on a mac and trying to route a particular address though a specific gateway on my wifi connection. I'm using: route add -host 54.81.143.201 192.168.15.1 Sometimes this will work, other times it ...
Sean256's user avatar
  • 809
52 votes
8 answers
70k views

How to force split tunnel routing on Mac to a Cisco VPN

Any one know how to hack the routing table (on a mac) to defeat the forcing of VPN routing for every thing over a cisco VPN? pretty much what I want to do is have only 10.121.* and 10.122.* addresses ...
user avatar
50 votes
2 answers
47k views

Does All LAN Traffic Travel Through A Router

I have a very simple question: if I have a router (DHCP enabled - leasing IP addresses between 192.168.0.2 and 192.168.0.254) with a switch plugged in, and I plug two computers into the switch, will ...
jrtc27's user avatar
  • 898
49 votes
9 answers
10k views

Why are subnet-masks relevant for the individual computer on the network?

I understand how subnet-masks are used to divide a network into sub-networks, but, why does every computer in the network need to know the subnet-mask and not just the router? I could understand it, ...
Orpedo's user avatar
  • 612
42 votes
3 answers
141k views

How to route only specific subnet (source ip) to a particular interface?

How to route only specific subnet (source ip) to a particular interface? OS: Linux I know I can do easily by destination IP by using something like route add 1.2.3.4/24 dev eth4 but I do not ...
Alex's user avatar
  • 1,155
42 votes
1 answer
34k views

iptables vs route

What's the difference between these two tools? Can anybody tell me what the main workflow of networking behind Linux (in relation to IPv4 packet filtering, NAT and IP routing table) is?
Determinant's user avatar
  • 1,280
41 votes
3 answers
9k views

What's 24 in "192.168.15.0/24"?

What's the meaning of /24 in the following command? route add -net 192.168.15.0/24 192.168.8.10
ohho's user avatar
  • 3,054
39 votes
8 answers
143k views

Access internal IP using public IP

I have a DSL modem with a public IP address (201.206.x.x), and I have a web server in my internal network (192.168.0.50). I set up the modem to forward requests to port 80 to my web server, so, if I ...
willvv's user avatar
  • 683
37 votes
3 answers
111k views

On Windows, how to determine route for IP destination?

How can I determine the IP route taken for a specific IP destination (without looking at "route print" and figuring it out manually)? In OS X there's route get 1.2.34 and in Linux there's /sbin/ip ...
Ilya's user avatar
  • 1,814
35 votes
4 answers
7k views

How smart is my network?

There is an argument within my office about how smart/efficient the network we have set up really is. We have a fibre line and a cable line running into a load balancing router, which has a hardware ...
bizzehdee's user avatar
  • 479
34 votes
5 answers
5k views

What stops an internet router from sniffing my traffic?

Packets travel through internetworks, and take many routes through internet routers. On each route that forwards traffic to another until reaching the ultimate destination, what stops them from ...
Naughty.Coder's user avatar
34 votes
6 answers
8k views

I have a domain, static IP address and many devices I'd like to access outside my house. How do I route them?

I have a domain (e.g. example.com), static IP address (e.g. 212.5.5.5) and local devices at 192.168.0.1:80, 192.168.0.2:80, 192.168.0.3:80, 192.168.0.4:80, 192.168.0.4:47 (this one is not a website). ...
Larry's user avatar
  • 343
34 votes
3 answers
69k views

Add an "on-link" routing entry

On Windows 7 I have been using the command route add to add routing entries with a gateway. I now want to add a routing entry with no gateway, where the route is directly reachable. Windows 7 calls ...
Randomblue's user avatar
  • 3,485
32 votes
4 answers
46k views

Route the traffic over specific interface for a process in linux

Is it possible to route the traffic used by a process over a specific interface? For example, network traffic by download application should always use the interface wlan0 whereas all other ...
Suresh's user avatar
  • 583
32 votes
3 answers
129k views

"Network is unreachable" when attempting to ping google, but internal addresses work

I can get to other PCs in my house on the 192 network, but trying to go outside gives me the "network is unreachable" message. p3p1 is up with a good IP Address. Running Fedora 16. What should I ...
Scott C Wilson's user avatar
32 votes
5 answers
3k views

How do I tell Windows to use 802.11 in preference to 3G?

I have a Samsung NC-10 netbook which I take to work every day. Most of the time I use it just on the train/bus, but I also use it at work and home. It has a built-in 3G card which I want to use when ...
Jon Skeet's user avatar
  • 5,144
31 votes
2 answers
95k views

Route all trafic for specific ip over specific network interface

I have a linux server that needs to get some routing. I'm fairly new at this and i don't find any clear source on google. The setup should be simple: All traffic to a server on ip 192.168.72.20 ...
Frederiek's user avatar
  • 413
30 votes
3 answers
10k views

Why can I ping 10.0.0.0/8 addresses from a 192.168.1.0/24 subnet?

My home network uses a 192.168.1.0/24 subnet, and when I ping 192.168.1.137 I get a response saying the host is unavailable (as expected because I don't have any machines using that address) However, ...
Ryan Oliver Lanham's user avatar
30 votes
5 answers
40k views

How do IP answer packets reach their destination inside of a private LAN? [duplicate]

This is a little theory question that has been confusing me for a pretty long time. Basically, if we are inside of a private LAN, and we want incoming packets to reach, for example, an HTTP server ...
InsomniaArray's user avatar
30 votes
7 answers
33k views

Does DD-WRT QoS actually work?

There have been various reports of DD-WRT QoS not working (here, here and elsewhere). The DD-WRT QoS Documentation mentions some checks would indicate whether the proper priorities are being applied ...
Codebling's user avatar
  • 744
29 votes
2 answers
33k views

Does the order of entries in the routing table matter?

Does the routing order matter: > route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 123.x.x.151 0.0.0.0 255.255.255.255 UH ...
static's user avatar
  • 1,367
26 votes
5 answers
85k views

How to tell Windows 7 to ignore a default gateway

I currently have 2 network cards in my PC -- one connected to an internal network on a router with a disconnected WAN port (10.x.x.x), and one connected to the internet through a consumer router (192....
zildjohn01's user avatar
  • 2,337
26 votes
1 answer
86k views

NAT vs. port forwarding [duplicate]

Possible Duplicate: What is port forwarding and what is it used for? What is the difference between NAT and port forwarding? Are they two different names for the same thing? What would be a short ...
Bunkai.Satori's user avatar
25 votes
4 answers
234k views

"Connection refused" vs "No route to host"

I have an Apache server running on a server: [root@te-srv2 ~]# ps -ecf|grep httpd root 698 32047 TS 19 10:45 pts/24 00:00:00 grep httpd root 32081 1 TS 19 10:16 ? 00:00:00 /...
Erel Segal-Halevi's user avatar
25 votes
3 answers
80k views

How to map an IP adress to localhost?

I want to map the IP address 192.168.1.222 to 127.0.0.1 so that if I use 192.168.1.222 in the web browser or ping command I get the response (and that from my 127.0.0.1). Is this possible via ...
Sebastian's user avatar
  • 373
24 votes
4 answers
22k views

What's the meaning of link#4 in mac's route table?

jichaodeiMac:~ jichaoyang$ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default openwrt.lan UGSc 10 ...
Jichao's user avatar
  • 7,570
24 votes
1 answer
35k views

Does the traffic go through my company network when I browse when connected through SSL-VPN

I work for a company which is not in my country. The enterprise intranet is in a different country. We do not have many employees in my country - so everyone works from home. When we need intranet ...
user93353's user avatar
  • 583
22 votes
2 answers
1k views

Internet Sharing on Lion breaks my routing table

When in the office, I'm connected to a 192.168.1.0/24 network. When Internet Sharing is off, the first entry of netstat -nr is default 192.168.1.254 UGSc 10 62 en0 ...
seaders's user avatar
  • 321
21 votes
2 answers
35k views

Route only specific traffic through VPN

I've looked up previous people asking similar questions, but have yet to get a straight answer that will work for my given situation, so here goes.. I'm running on Linux (Fedora 22) and have a VPN ...
Josh Raymond's user avatar
20 votes
4 answers
32k views

How do I setup Ubuntu/Linux's Network manager to selectively route network traffic through the VPN?

I'm using Ubuntu 9.04 and I just noticed that ALL of my network traffic is being routed through my VPN. I would like the VPN to route only the traffic hitting servers on the VPN and then connect ...
Elijah's user avatar
  • 494
20 votes
4 answers
66k views

How can I ping via an alternate gateway?

Our network has two modems, each one hidden behind a router. The primary router is on 10.1.1.1, the backup router is on 10.1.1.2, and are both configured to the 10.1.1.0/24 subnet. Both routers have ...
Luke Schlather's user avatar
20 votes
1 answer
24k views

What does 0.0.0.0 gateway mean in routing table?

I am new to being a Linux system admin and I am learning about routing tables. Currently I have two interfaces in my virtual machine: vagrant@vagrant-ubuntu-trusty-64:~$ ifconfig eth0 Link ...
Kintarō's user avatar
  • 331
20 votes
4 answers
34k views

How to set up application-specific routing table on Windows?

Suppose network interface 1 (net1) and 2 (net2) are both connected to the Internet. I want application 1 (app1) to use net1, and application 2 (app2) to use net2. How can it be done under Windows? If ...
netvope's user avatar
  • 5,345
19 votes
3 answers
22k views

What is "Disable class based route addition" good for?

In the advanced TCP/IP settings of a Windows VPN connection, I found a checkbox labeled Disable class based route addition. The checkbox is only enabled as long as Use default gateway on remote ...
JRoppert's user avatar
  • 293
19 votes
2 answers
23k views

How does the router know which device to send packets to? [duplicate]

my question does not concern how it moves through the internet, but how it moves through the router to a certain device. All devices connected to a router in a home network have the same external IP. ...
user avatar
18 votes
2 answers
8k views

How do I make certain web addresses use a specific network adapter on Mac OS X?

I have two Internet connections at work, my wired Ethernet connection (which is heavily filtered behind a firewall, can't connect to Apple Updates, etc.) and a wireless connection that is unfiltered. ...
JacobJ's user avatar
  • 283
16 votes
2 answers
19k views

Stop VPN being used on internet traffic on Win 7 [duplicate]

Possible Duplicate: How can I make the Windows VPN route selective traffic (by destination network)? How To Use Local Internet Connection To Access Internet While Still Connected with VPN I am ...
Jon's user avatar
  • 337
16 votes
3 answers
93k views

Can't add default route - RTNETLINK answers: Network is unreachable

On an Ubuntu 14.04 server (3.16.0-30) I'm trying to add a default route and getting error as follows: ip route add default via 172.16.111.99 dev bond0.11 RTNETLINK answers: Network is unreachable ...
sxc731's user avatar
  • 413
16 votes
3 answers
29k views

Is it possible to have 2 different VPN connections simultaneously on the same machine? maybe on different network interfaces?

I am setting up a new cluster in my new workplace, and I am still administering another cluster in my last work place. Basically I am "copying" the configuration of the first one to setup the new one. ...
Danduk82's user avatar
  • 248
16 votes
5 answers
92k views

Rerouting local LAN and Internet traffic when in VPN

I'm connecting to a VPN which doesn't allow split tunneling and basically reroutes my Internet traffic through, which is slow. Additionally and more importantly, this also effectively removes my ...
Domchi's user avatar
  • 2,789
16 votes
3 answers
40k views

SSH server can't be connected to when VPN is turned on

I recently found that when my workstation connects through a VPN connection then its SSH server can't be connected to from a remote site. I am sure it's a routing problem because the the VPN client ...
btw0's user avatar
  • 261
15 votes
2 answers
705 views

How on earth can this reported hour-long ping time be real?

I recently spent the Easter bank holiday with my parents, who live in a very rural area in the UK. They have a (terrible) ADSL internet connection, which is run over several kilometres of dodgy copper ...
Landak's user avatar
  • 151
14 votes
1 answer
6k views

Can someone explain a tracert to my own public IP?

I'm trying to learn about ip routing and I'm am trying to trace route my own public IP. I just searched my ip online and tried it. the results I got were > tracert [my_public_ip] 1 <1ms 192....
masonCherry's user avatar
14 votes
2 answers
59k views

Windows 7: how can I add an IP range in the "route" command?

I'm using two network connections, and I tried using the "route" command so that when I access a specific internal IP on my LAN, it would use connection 1, anything else would go normally through ...
KeyStroke's user avatar
  • 373

1
2 3 4 5
57