Questions tagged [gateway]

A gateway is a network point that acts as an entry way to another network.

A gateway is a network point that acts as an entryway to another network. It's a link between two devices allowing them to share information by translating between protocols on a computer or between dissimilar computers. It can be a computer connected to both networks and ferrying information between them, or a dedicated router device built for this purpose. Examples are email gateway, Voice/Media gateways, and NAS to name a few.

130 questions
16
votes
3 answers

Ubuntu 14.04 as a Gateway / Router and a Firewall

My current system setup is Ubuntu 14.04 Desktop 64 Bit,and I am using Internet from a router using a public IP eth0 - WAN Public IP 182.x.x.x eth1 - LAN private IP 192.168.0.1 Now I want to distribute this connection to other computers using my…
12
votes
2 answers

Share my VPN connection with other LAN users

I have a PC with one physical LAN adapter connecting to a VPN server. Is there a way i can setup a (virtual) gateway interface on that same LAN adapter in a way so the other devices on my network can use that as gateway and run their traffic through…
UbuNoob
  • 123
12
votes
1 answer

When are network, broadcast and gateway required for configuring a network interface manually?

https://wiki.debian.org/NetworkConfiguration#Bridging_without_Switching The above URL says, the following. But it is not clear to me when they are optional and when they are not. Could you provide me with some link to references that describe this?…
user1424739
  • 1,021
10
votes
1 answer

How do I stop netplan from binding a default gateway on every interface

I have a fresh install of ubuntu server 17.10, however the problem may affect previous versions, but this is the first time I have encountered this situation. The server is running 2 separate network cards, one for internal local network…
7
votes
2 answers

How to get default gateway with a dhcp

I have ubuntu 12.04 and I have configured /etc/network/interfaces like this auto eth2 iface eth2 inet dhcp I also have auto eth1 iface eth1 inet static address 60.60.60.1 netmask 255.255.255.0 network 60.60.60.0 …
doon
  • 221
4
votes
1 answer

Two gateways on same network

My machine runs Ubuntu Server 16.04 and it has two NICs, eth0 and eth1, as shown in the network diagram. Its role was initially to route traffic from the 192.168.50.0/24 subnet to the 192.168.1.0/24 subnet where the DSL router is that connects to…
Panos
  • 299
4
votes
2 answers

Route all traffic of a machine through another within a subnet?

I have two computers, both running ubuntu 12.04 64 bit. I need to route traffic of one computer through the other. computer A: 192.168.1.3 (eth0) computer B: 192.168.1.7 (eth0), 192.168.1.5 (eth1), 192.168.1.6 (eth2) I need these three interfaces…
N. S.
  • 381
4
votes
2 answers

How can i give internet access to local network via DHCP/Gateway server?

I think i now find myself somewhere between cognitive overload and like a babe lost in the woods. Thus i hope someone out there can assist me! :) I setup a Ubuntu 12.04 server on my home local network. It's a DHCP / Gateway setup following what…
ddtpoison777
  • 41
  • 1
  • 2
3
votes
0 answers

Routing tables - Default gateway and traceroute discrepancy

I'm using 16.04 and having a discrepancy that appears to be slowing down the internet access for my machine. I'm on a PC and connecting to internet using a USB WIFI device instead of the ethernet port present on the motherboard. IP address of my…
Ejaz
  • 185
3
votes
1 answer

A question about the Internet/ConnectionSharing (NAT) via iptables

I'm following this tutorial to setup a NAT gateway: https://help.ubuntu.com/community/Internet/ConnectionSharing#Ubuntu_Internet_Gateway_Method_.28iptables.29 With simple eth0 as WAN and eth1 as LAN it works. Then I tried to bridge eth1 and eth2…
Wei Xia
  • 53
3
votes
1 answer

Prioritizing WLAN over LAN connection

I'm using my LAN connection to work with a peripheral device, and I would like to use my WLAN connection for internet access. The problem is that Ubuntu considers LAN connection as priority, and doesn't consider to use the WLAN gateway. Network…
3
votes
2 answers

DHCP server with multiple interfaces on ubuntu, destroys default gateway

I use Ubuntu, and I have many interfaces. eth0, which is my internet connection, and it gets its info from a DHCP-server totally outside of my control. I then have eth1,eth2,eth3 and eth4 which I have created a DHCP-server for.(ISC DHCP-Server) It…
3
votes
1 answer

Ubuntu 22.04: Netplan (static ip) - Unable to ping gateway or internet IP's, local network devices ping fine

Situation I have VMWare ESXI running with an Ubuntu Server 22.04 instance. This instance runs PowerDNS for my local network and needs a static IP. My local network uses class A-type IP addresses, in the range of 10.0.1.xxx and wifi runs on a…
Harold
  • 159
3
votes
1 answer

Ubuntu Server Netplan - conflicting default route declarations for IPv4 - 4 different /24s on each port

I have a server with 2 network cards of 4 ports, but only one of them is used. Each port is connected to a L2 switch and configured for a different VLAN with 1 usable IP from a different /24 subnet - each with different default gateway. Only 1 of…
lion
  • 91
3
votes
1 answer

How to set default gateway in Ubuntu Server 18.04 with netplan

I have a single network interface on this server named enp2s0 This interface had a static address 192.168.2.xxx with gateway 192.168.2.1 Now I changed the static address in yaml file to 192.168.1.xxx and the gateway too in 192.168.1.1 but every time…
Stefano
  • 31
  • 1
  • 1
  • 3
1
2 3
8 9