49
votes
Accepted
How do I still have Internet connectivity after removing the default gateway IP address from macOS network configuration?
You have only disabled IPv4 by deleting the IPv4 default gateway.
You have not disabled IPv6.
You are using IPv6 to get to IPv6-capable sites.
SuperUser.com, surprisingly, does not appear to be IPv6-...
12
votes
Accepted
Subnet or Not with 20 mask?
Yes. If the subnet mask is smaller than 255.255.252.0 (CIDR /22) all devices with IP addresses 192.168.1.x and 192.168.2.x belong to the same subnet and don't need a router to communicate with each ...
8
votes
Complete masquerading NAT example using nftables on Linux?
Here's what I'm using, assuming lan0 is connected to your internal network, and wan0 to your ISP.
I'm not sure what you mean by "DHCP client on the upstream interface", since this is done with a DHCP ...
7
votes
What is 1.1.1.1? Why does it work for traceoute but not ping?
1.1.1.1 is used as the default address of the DHCP server on CISCO routers.
However, on the public internet, 1.1.1.1 now belongs to Cloudflare DNS service.
Whois record:
inetnum: 1.1.1.0 - 1....
7
votes
How to use local filemanager to do a ssh -J (jump, gateway)
GVFS (the common network-fs library used by Nautilus and Nemo) creates its SFTP connections using the regular ssh tool as the transport.
The ssh manual page says that -J is a shortcut for the ...
6
votes
Why is tracert not showing my public ip address?
Traceroute results correspond to whole routers, not their individual interfaces. Even though a router has multiple IP addresses on various interfaces, it will always produce only one trace reply.
When ...
5
votes
Find out dhcp assigned gateway and dns settings in Linux (CentOS)
In CentOS 7 you can use nmcli d show to get the gateway and DNS addresses for all interfaces.
5
votes
Accepted
WireGuard VM or Container to act as gateway
I finally got it working. This is for anybody who wants to achieve the same as me.
Install Ubuntu, install Wireguard server.
Create a wg0.conf using your VPN provider's configuration. In my case, I ...
4
votes
What is 1.1.1.1? Why does it work for traceoute but not ping?
As stated by Daniel B in his answer, the 1.1.1.1 address is currently assigned to APNIC labs (as it was when the question has been asked). However, until January 2010, the 1.0.0.0/8 network block, of ...
4
votes
Where is this web pages located/ hosted?
There's a web server on your consumer router - it makes it easier to configure things. It quite literally listens in on port 80 (usually only for IP ranges it serves) unless set otherwise.
The ...
4
votes
Accepted
Connect device to internet using a Linux Computer
it should work with the following commands
at first enable ip forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
reset iptables rules
iptables -F
iptables -t nat -F
allow forwarding from the ...
4
votes
How to find a WiFi repeater's IP to configure it?
Since you refer to ipconfig, I presume you are on some version of Windows, so I shall offer a solution based on this assumption.
Since your router is 192.168.1.254, then any IP addresses in your ...
4
votes
Accepted
How to extend physical device Limit?
You don't need VPN, just NAT. Any home gateway router / wireless router with an Ethernet WAN port would work. NAT makes all your private LAN's traffic look like it's coming from a single IP address ...
4
votes
How to extend physical device Limit?
You don't need a VPN Gateway, any home router that supports upstream (WAN) ethernet will do what you need.
You just need to set it up to work in NAT mode then you can attach as many devices as you ...
3
votes
Accepted
Gateway to another computer for internet access
There are two things that you need to do, both on Computer 1:
First, as sudo, issue:
echo 1 > /proc/sys/net/ipv4/ip_forward
Now, again as sudo:
iptables -t nat -A POSTROUTING -o eth0 -j ...
3
votes
Accepted
How to use 'scp' to directly send my file to the target location via a gateway?
create a tunnel first: ssh -L 2222:yy.yy.yy.yy:22 [email protected], then you can scp with scp -P 2222 A fun@localhost.
3
votes
Accepted
Why the ping reply time from switch is higher than that from devices on it?
Switches are amazingly good at switching. Their hardware is entirely designed to switch packets as quickly and efficiently as possible. Typical small switches, whether managed or unmanaged, have ...
3
votes
OSX Yosemite - How to add route having two default gateways
I was tackling a similar problem: How to set route specific interface metrics under Mac OS X and stumbled upon the answer to your question. What Mac OS X does is this: since it sees two routes to the ...
3
votes
Accepted
Routing all ethernet connection requests to a single page
The solution that you need is a captive portal.
A Captive Portal is a webpage that will be shown initially to anyone who connects to your network.
In your Raspberry Pi you will need to install a ...
3
votes
Accepted
firewalld: forward traffic as a wireguard VPN gateway
With firewalld 0.9 and newer, you use firewalld policy objects to control cross-zone forwarding (prior to firewalld 0.9, there wasn't a way to do this).
If you have eth0 bound to your internal zone, ...
3
votes
Standard protocol(s) to advertise alternative internet gateways to local, already DHCP-configured network
Is there a standard protocol that allows a device to advertise its ability to act as an (alternative) internet gateway to other devices on the local network,
No, not for "regular" DHCP-...
2
votes
Why do the virtual machines and the host have different default gateways?
Because VirtualBox assigns 10.0.2.0 network by default to its NAT network (refer to the documentation):
The virtual machine receives its network address and configuration on the private network ...
2
votes
Use Raspberry as a router between three networks
The routing on the Raspberry Pi is probably OK. You need to make sure that your Internet-facing router has a route for 192.168.99.* that points to 192.168.2.1. Also, you will need to have your ...
2
votes
Complete masquerading NAT example using nftables on Linux?
Masquerading is a special case of SNAT. If you want to attach the trafic to output interface or output address (Source address for your internal IPs) use SNAT
2
votes
Disabling internet connections while keeping one web service online
Letting 192.168.0.1 be your gateway, and 1.2.3.4 the whitelisted host,
define a static route for 1.2.3.4 that uses 192.168.0.1,
and define 192.168.0.253 to be the default router
(where 192.168.0.253 ...
2
votes
Accepted
Setup default gateway with two "hops"
Your IT department gave you the wrong information. Your analysis is correct, and your default gateway should be 172.30.2.65. The final hop before the internet is 192.130.6.177 by the sounds of it, ...
2
votes
Accepted
Can i use different network for different applications in ubuntu
In absolute generality, it is not possible to set a route per application, even in modern pcs. However, there is a large number of partial solutions to this problem, of different degrees of complexity....
2
votes
I'm unable to create a static ip route. error says: RTNETLINK answers: Network is unreachable
I see the problem.
You are trying to connect from vm-client1 which has only one interface with connected network 192.168.101.0/24 but you are trying to add gateway on network 192.168.102.0/24 which ...
2
votes
Explaining the functions of cable gateway with wirelessAP device
Can we say that this device:
1. acts as a router and separates the home network of mine from the Internet?
Yes, but it's more than a router. There doesn't appear to be a way to make it do plain IP ...
2
votes
Accepted
TTL expired in transit
I guessed your addresses, ran a traceroute (well, mtr) to all four of them, and while it shows a loop, it's ping-ponging between two addresses that look very much like a point-to-point link between ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gateway × 398networking × 184
router × 88
routing × 77
linux × 55
ip × 36
vpn × 31
wireless-networking × 23
dns × 23
dhcp × 22
iptables × 20
windows-7 × 19
windows × 18
lan × 16
ubuntu × 14
subnet × 14
internet × 13
ssh × 12
virtualbox × 12
windows-10 × 11
wireless-router × 11
firewall × 11
openvpn × 11
ipv6 × 10
nat × 10