Questions tagged [gateway]
Gateway is a computer networking term. A gateway allows two or more computers to connect to the internet at the same time. While doing so, only the gateway's IP address will be visible externally. The other computers will be *hidden* behind the gateway.
401
questions
96
votes
4
answers
184k
views
What does "On-link" mean on the result of "route print" command?
I'm using Windows 7. When I type "route print" under command prompt, I get a IPv4 Route Table with several "On-link" values under the Gateway column. For example, like this one:
IPv4 Route Table
=====...
25
votes
1
answer
3k
views
How do I still have Internet connectivity after removing the default gateway IP address from macOS network configuration?
I am trying to learn/experiment with some networking basics. I am on macOS with DHCP configured. I purposely removed the default gateway IP address (192.168.0.1) by going to the networking settings. I ...
20
votes
4
answers
64k
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 ...
15
votes
3
answers
38k
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 ...
14
votes
7
answers
101k
views
How can I find the IP address of my client bridge router?
I have a client bridge (LinkSys WRT54GL router with DD-WRT firmware). I specified an IP address of 192.168.1.2 for the device, however, when I run ipconfig, the default gateway is now 192.168.0.1. ...
12
votes
2
answers
9k
views
Why does `route` hang for a while before the route table being dumped?
Typing the command:
% route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 2 0 ...
11
votes
5
answers
106k
views
What's the difference between "default gateway" and "preferred DNS server"?
TCP/IP Properties of a network connection in Windows Server 2003 has two different options, "Default gateway" and "Preferred DNS server".
11
votes
1
answer
16k
views
Understanding Windows Routing Tables and Default Gateways
Note:This is my home computer lab and not a business/production environment. I'm more than happy to break it and fix it again, so any suggestions are welcome!
SUMMARY
I've added this quick summary ...
10
votes
5
answers
61k
views
What is 1.1.1.1? Why does it work for traceoute but not ping?
Today while trying out with networks I took traceroute of 1.1.1.1 and found my gateway address. Whereas I pinged 1.1.1.1 it results with packet loss. I googled about 1.1.1.1 and can't find any ...
8
votes
3
answers
11k
views
SCP through SSH gateway connection
My network layout is something like this:
Now Alice has access to SSH gateway (just gateway from now on) with:
ssh [email protected]
and the authorized keys file on the gateway looks like this
#/...
8
votes
2
answers
28k
views
Find out dhcp assigned gateway and dns settings in Linux (CentOS)
How to find the gateway and DNS IPs in a DHCP configured network in CentOS?
I'm using CentOS installed in vmware using NAT connection and I want to make the ip static.
7
votes
4
answers
27k
views
Identify the device if it is hub, switch, router or gateway
If you are given two hosts which are connected via a blackbox which you dont know.
How can you recognize that blackbox as hub, switch, router or gateway without using any additional device or host?
...
7
votes
3
answers
5k
views
VirtualBox: VPN networking test environment
I want to setup VirtualBox instances of Ubuntu guest to make a VPN test network. The host is Windows 7 Ultimate.
My hope is to setup a VirtualBox instance which represents a gateway for the test ...
7
votes
5
answers
64k
views
How to find a WiFi repeater's IP to configure it?
I want to configure my WiFi repeater's settings. I'm connected through WiFi, as my laptop's Ethernet port broke.
I searched for the repeater's manual, it says that I should be able to connect using ...
6
votes
1
answer
20k
views
I don't want my DHCP to be a default gateway
I have a device which runs a DHCP server. When I connect it with USB to my computer, the PC gets an IP address and the device becomes the default gateway. I just want the device to agree on IP ...
5
votes
2
answers
14k
views
Complete masquerading NAT example using nftables on Linux?
I'm looking for a complete example how to do this using nftables. It should be a DHCP client on the upstream interface, have a 192.168.0.0/24 LAN on the other interface, and also act as a firewall.
...
5
votes
4
answers
912
views
Multiple home routers
Suppose I have the following configuration:
Router A: WAN port connected to the Internet, LAN = 192.168.1.0/24
Computer A: Connected to router A as 192.168.1.101
Router B: WAN port connected to ...
5
votes
1
answer
5k
views
WireGuard VM or Container to act as gateway
I have a home server running Proxmox with 9 VM's and CT's. I would love to be able to route specific VM/CT traffic through a VPN gateway. I know that this can be done with OpenVPN, but it's quite ...
5
votes
1
answer
20k
views
How do I configure AT&T's Uverse 2Wire 2701HGV-B Gateway into DMZPlus Mode?
I subscribed for AT&T's Uverse service and they shipped me a Wire 2701HGV-B Router/Gateway/Firewall/WiFi.
I would like to configure AT&T's hardware to have less control and use my trusted ...
5
votes
1
answer
595
views
Rackspace Firewall/Gateway Setup
I have rackspace account and wish to have this sort of setup:
Firewall/Gateway
eth0 - Public IP (56.X.X.X)
eth1 - Private IP (10.X.X.X)
Ubuntu 10.10. Accepts connections from the internet and ...
4
votes
3
answers
2k
views
Subnet or Not with 20 mask?
In a client warehouse,I'm installing a Pick to Light system but I'm having connection issues
between the server and the P2L controller. sometimes they communicate, sometimes they are not.
Their IT use ...
4
votes
2
answers
15k
views
Strange default router address for interface 'ppp0'
I'm using a 3G-modem to provide an Internet connection to my Linux box.
So, when I issue the ifconfig command, I see the following:
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> ...
4
votes
2
answers
23k
views
Can a subnet have more than one gateway?
I am new to networking.
While reading Network+ Guide Networks books, I came to Subnets but the book does not mention how many gateways a subnet can have. For example for 192.168.1.0/24 the gateway is ...
4
votes
1
answer
3k
views
Connect device to internet using a Linux Computer
I have the next architecture:
[Device Eth0]--LAN---[Eth 0 Linux Computer Wth0]--Wifi--[Router Wifi]
Device Eth0 :IP:10.0.0.15, MK:255.255.255.0,GW:10.0.0.2
Linux Computer Eth0: IP:10.0.0.2, MK:255....
4
votes
1
answer
2k
views
socat UDP IPv6 to IPv4 gateway results in lots of processes
I have an IPv4-only UDP application listening on port 624. I created an IPv6/IPv4 front-end with socat, listening on port 625. I can now use the server's IPv4 or IPv6 address to access the IPv4-only ...
4
votes
1
answer
477
views
Batch file - splitting a default gate way in to it's component parts, adding a number then reconstituting
Basically, what I need to do is get the default gateway of a Win7 machine which I have accomplished with the below code:
@echo off
for /f "skip=1 delims={}, " %%A in ('wmic nicconfig get ...
4
votes
1
answer
7k
views
Allow only one website using iptables in a linux router [duplicate]
I have a Linux server I'm using as a router for my internal network. I need to block all the websites except one or two using iptables.
How can I set this up?
4
votes
1
answer
4k
views
Configuring default gateway returned by dhcp server
I have a machine which connects via ethernet to a private LAN, and wireless to a network which provides internet connectivity. The private LAN uses a wireless router to perform DHCP.
The problem is ...
4
votes
1
answer
6k
views
Using VPN connection in OSX will only route through the first service in "Service Order"
I am trying to get my VPN connection to only route network traffic related to my workplace through the VPN connection and any other traffic through my Wi-Fi connection.
If I have my Wi-Fi at the top ...
3
votes
3
answers
8k
views
Why there is only one Default Gateway?
I am novice in networking trying to figure how multiple network interfaces work. My doubt is when there are two or more NIC's on a machine, what is the meaning of default gateway present in the /etc/...
3
votes
2
answers
1k
views
How to use local filemanager to do a ssh -J (jump, gateway)
This is what I am trying to do. I want to connect to a server C, using a local file manager (nautilus, nemo, pcmanfm). I used to do this just writing
sftp://username@ServerC
in the location bar, or ...
3
votes
1
answer
2k
views
Why is tracert not showing my public ip address?
Tracert does not show the IP of my WAN interface, not the gateway also. My public IP starts with 37 and it does not appear in tracert.
tracert www.google.com
1 3 ms 3 ms 2 ms vodafone....
3
votes
4
answers
73k
views
Drive letters swapped after system restore (C: → D:)
I’ve been having problems with my Gateway desktop recently. I decided to do a system restore (in safe-mode), and the next thing I knew, the drive letter had been changed from C: to D:.
I can’t do ...
3
votes
2
answers
2k
views
If localhost is called 'localhost', why is the gateway not called 'gateway'? [closed]
If you run server services in your computer, it is very easy to configure the same computer to use it: just point the client to localhost.
Now the gateway often runs your DHCP, DNS, proxy, firewall, ...
3
votes
1
answer
49
views
Routing all ethernet connection requests to a single page
For an art exhibition, i am trying to configure a raspberry pi to work as a gateway to the internet. Connected to the pi is a 4G dongle and a wifi router. I have used IP Tables to forward all ethernet ...
3
votes
1
answer
5k
views
OSX Yosemite - How to add route having two default gateways
I'm on OSX Yosemite and I have two different active connections...
- WIFI (en0)
- Tethering USB (en7)
SnakeBook:~ root# netstat -nr
Routing tables
Internet:
Destination Gateway ...
3
votes
1
answer
27k
views
Setting multiple gateway for internet connection
In our office we have windows xp and 8 pc connected in network.We are using about 4 internet connections. But in pc only one default gateway is set.But if one internet connection is failed then ...
3
votes
1
answer
3k
views
Linux: multiple network connections - 3G/4G / Wifi / LAN / etc; how can i set a preferred network connection to use?
I've been looking at how I can setup a laptop that has multiple network interfaces, but a problem exists if all the connections are active, i.e. 3G, WiFi and LAN are all connected, I would like it to ...
3
votes
2
answers
4k
views
2 gateways 1 nic Ubuntu
Please note that this is ONE NIC and TWO Gateways
Now this solution is super easy in Windows:
* Connection Properties -> TCP/IP Properties -> Default Gateways -> Add (separated by metrics)
I notice ...
3
votes
1
answer
2k
views
Route between two private networks
I have a two private networks (home: 192.168.1.0/24 and virtual: 10.10.0.0/24) which I like to connect and have them to be reachable in both ways.
Network home is managed by my home router which is ...
3
votes
1
answer
83
views
dynamically distribute gateway
Here is picture of very simplified network:
Linux is running on all of PCs.
PC10 act like router = default gateway for net 1 and net2. Everywhere is IPv6 protocol. All PCs must have static IPv6 ...
3
votes
1
answer
11k
views
virtualbox: How is the Gateway IP of a guest OS determined when configured as NAT
In a host system, a gateway generally refers to the IP address of either a router or a network segment. Generally, the output of route PRINT or route -n corroborates to the actual IP of my gateway.
D:...
3
votes
1
answer
3k
views
Two DHCP interfaces asigned to two default gateways to OS
I have a Ubuntu box that has two networking interfaces (eth0 and wlan0). They are both configured for DHCP in /etc/network/interfaces, but they both assign a default gateway:
/etc/network/interfaces
...
3
votes
0
answers
545
views
MacBook / OSX can't access router/gateway web admin page - but other devices in same network can
Problem
I’m trying to access my router web admin page, http://192.168.0.1/, from my MacBook. I can easily access the web admin page from other devices, like my Windows machine and my iPhone. But not ...
3
votes
0
answers
6k
views
set up Windows 10 PC as internet gateway for a Linux PC on local LAN to access internet
I have a Windows 10 PC with two NICs that I want to use as a gateway between a small LAN which is using 192.168.0.x IPv4 addressing and the internet.
What I have set up is the Windows 10 PC with two ...
3
votes
2
answers
739
views
linux routing - how to switch PCs between multiple gateways
I have a linux router with multiple gateways (cable modem, ppp, vpn, etc). What's the best way to forward all internet traffic for individual users through different gateways?
Here's an example:
...
3
votes
1
answer
916
views
Failed to connect to Internet when using an OpenWRT VM as gateway
I have set up an OpenWRT x86-64 virtual machine with VirtualBox. The VM has two network interface, one for LAN and the other for WAN, all bridged to Wi-Fi interface of the host (Macbook). I want the ...
3
votes
0
answers
8k
views
Windows 8.1: Force all traffic through VPN
I have applications running which need to access a URL through the VPN - NOT through the general internet.
I want to be able to specify that all traffic MUST flow through the VPN, but I don't know ...
3
votes
1
answer
473
views
Using a Ubuntu AWS instance as tunnel for RDP to simulate bandwidth
I have a bunch of windows instances on EC2 which I can connect to using RDP.
I want to test the performance of RDP under various bandwidth and latency conditions.
I know about thetc qdisc tool which ...
3
votes
0
answers
5k
views
Looking for a router-like web interface for my Debian gateway [closed]
Hey, I need a web interface program for my debian gateway which has the features of a router's one. Specifically, I must be able to easily
Forward ports to various clients on the LAN or the router ...