Questions tagged [gateway]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Define specific outbound public IP in servers in single network behind NAT

Case: I have two CentOS7.5 servers in a single private network. There's a external NAT router for public routing. No server firewall enabled or anything fancy. Servers are not aware of external IPs, ...
-1
votes
0answers
10 views

How to Enable beaglebone black 5GHz wifi channel?

Hello Community members, I am stucked at the 5GHz wifi band activation for beaglebone black wireless. As beaglebone black wireless does not support 5GHz band I purchased wifi cape which has WL1837 ...
1
vote
2answers
71 views

SSH connection issue with failover gateway

I have a system which can be accessed via SSH and HTTP. The system have two interfaces (eth0, eth1), and is working with Slackware 14.1. eth0 : 192.168.1.99, LTE Ethernet Gateway/Modem eth1 : 172.16....
0
votes
1answer
27 views

Setup routing on Ubuntu machine to ping between vlans

I am using KSZ8895MQ micrel which is a L2 managed switch with VLAN configuration connected to micro controller. OS is Lubuntu with DHCP server configured. I am able to get the different VLAN on the ...
0
votes
0answers
121 views

How to have two different gateways on two different bridges in Proxmox VE

We have two different network interfaces eno1 and eno2 (eno3 and eno4 are not connected) and we have one bridge vmbr0 we want to add another bridge vmbr1 and we want to set two different gateways on ...
6
votes
2answers
240 views

Blindly forward all packets from one interface to another

I would like to forward all L3 packets received on eth0 to another interface lets call m0 (m0 is a custom interface tied into custom hardware with a distinct L2 framing mechanism) as well as the ...
0
votes
0answers
146 views

Can't ping default gateway on ubuntu 18.0

I can't ping my default gateway on ubuntu 18.04. Below are the output of my settings: ifconfig enp12s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.30.149.90 netmask ...
0
votes
0answers
19 views

Losing IPv6 connection after starting OpenVPN

I am running a Pi-Hole Server on a VPS instance. To protect it from being an open relay i configured OpenVPN on IPv4 and only routed the DNS traffic over the VPN. My home network ist connected to that ...
2
votes
2answers
112 views

debian: cannot ping beyond the router

Hello fellow stackers, I'm not sure I planned my network configuration in a perfect manner. I have a home network topography like this: modem/router <-> debian router <-> LAN. I need to ...
0
votes
0answers
26 views

Sending TCP packets to specific back-end worker through Linux gateway

I'm looking for a way to implement a gateway that will route TCP packets from clients (1-4 client hosts), to specific back-end worker (docker container), according to some specific identifier (task_id)...
0
votes
1answer
247 views

How to prevent an unwanted default gateway to be added during reboot

I’m using a Beaglebone Black running a webserver on a Debian system. The BBB is working as a DHCP + DNS (using dnsmasq) in a local network (192.168.5.xyz) with no direct internet access. I can easily ...
4
votes
1answer
1k views

Why does Ubuntu resolve the name `_gateway` to the default gateway instead of `gateway`?

When I run the route command, the default gateway resolves to _gateway. I can ping _gateway, which resolves to my default-gateway and replies as such. Why does Ubuntu 18.04 prepend _ to gateway?
0
votes
1answer
184 views

How to Combine a Bridge with VLAN over a Bonding and Two Default Gateways

I have a Linux server with three NIC that are connected to a switch (one NIC is the management, two NIC form a LACP bonding). In addition I need to use a VLAN (167), because the switch is configured ...
0
votes
0answers
29 views

Routing local and gateway

i have the following configuration: PC (Win 10) -- c1: eth --> c2: in eth0 raspbian out wlan0 --> Router --> www c1: static configuration c2: Router has dhcp client c1: a) PC (Win 10) should ...
0
votes
1answer
187 views

/etc/network/interfaces - multiple gateways 3 NICs

Good Evening, Is this a correct network configuration? All of the routing takes place on my switches and firewall. Each server is able to ping the other on each subnet. Is there an issue with using ...
2
votes
0answers
1k views

Two default gateways with different metric on CentOS 7 box - how?

I'm begging for help here. Been spending hours researching how to solve what seemed like a simple problem: on a CentOS 7.6 host with two network interfaces on two different networks, how to have two ...
0
votes
0answers
27 views

Get OpenVPN gateway address

After connecting to a SSL VPN server, it assigns me an IP address. And it also gives me a gateway in the same network, I can use to connect to other networks reachable through the VPN tunnel. For ...
1
vote
1answer
183 views

DHCP-PD on wan side with Stateful DHCPv6 assigned globally routable ips on lan side. Need to dynamically configure DHCPv6 on lan side

Context I'm currently neck deep in building an internet gateway out of an old fanless, headless Intel Atom/ITX computer I had laying around. These are my requirements: have an ipv4 and ipv6 ip ...
1
vote
0answers
182 views

Two default routes with same metric

Using NetworkManager on CentOS 7.6 I was able to create two default routes with same metric: # nmcli connection eth0 modify ipv4.route-metric 10 # nmcli connection eth1 modify ipv4.route-metric 10 # ...
0
votes
2answers
49 views

Linux gateway with one interface and aliases

Hello I am trying to use a linux machine as gateway for other machines in the same network using iptables, these are the configurations related to both machines: Machine A (This is the one I want to ...
1
vote
0answers
24 views

how to route Traffic from specific port through specific NIC / Gateway?

I tried a few solutions, like binding and iptables. But nothing worked for me. What i want to do is using some applications like Firefox with wlan0 nic for example. and eth0 for everything else. I ...
0
votes
0answers
67 views

Gateway failover using netplan not working

I'm having trouble setting up 2 IP address so that if one fails it will use the secondary IP address. I've setup netplan as shown in the picture. I can connect via ssh using both IP address, I test ...
2
votes
1answer
98 views

Finding the router ip address

I have compiled a little LFS system and I'm currently trying to get Internet connectivity up and running. I have managed to get it working manually, but this required me to know the router ip address. ...
1
vote
0answers
122 views

Gateway failover using netplan

I'm having trouble setting up 2 IP address so that if one fails it will use the secondary IP address. I've setup netplan as shown in the picture. I can connect via ssh using both IP address, I test ...
0
votes
0answers
23 views

What details are required for me to successfully connect to a gateway using FusionPBX?

I am completely blind and use a command-line interface to execute tasks along with the web control panel. I've always wanted to test out a PBX ever since I heard about them. Since I coulnd't get ...
1
vote
3answers
74 views

Define network interface as the default gw independently of IP

I know how to assign a default gw to an interface with an IP ip route add default via <host> dev <dev> # e.g. ip route add default via 192.168.0.101 dev eth0 The problem is that the IP ...
0
votes
0answers
82 views

How to determine gateway address in a shared connection?

Suppose you have two computers, A and B, both running Ubuntu 16.04. Then you connect them with an ethernet cable and share the connection from A to B, using network manager with the option "Shared ...
0
votes
1answer
71 views

How can I find out what my default gateway should be?

I have a linux (RHEL 7) server on a network and the default gateway is set incorrectly. How can I find out what the default gateway should be, without asking a Network Administrator?
0
votes
1answer
26 views

OpenVPN does not work with Gateway, but does with bridge

i want use openvpn on Linux Mint. When i tries the VPN connection (i am client) i writes these commands : sudo openvpn --config file.tcp.ovpn then my authorization Enter Auth Username: user_xy ...
1
vote
0answers
63 views

OpenVPN bridge gateway stops all traffic

I am not sure if this is a linux or windows issue. I have openvpn set up with a bridge interface that includes tap0 and eth0. I have my client machine (win10) getting its IP through my dhcp server. ...
1
vote
0answers
36 views

Routing Issue concerning VPN Gateway

I am using a raspberry with the newest stretch version and facing a routing issue. My network: LAN: 192.168.178.0/24 Subnet Mask 255.255.255.0 Default eth0 Gateway 192.168.178.1 (this network is ...
-1
votes
1answer
52 views

How to forbid my PC in LAN to make DNS queries? (in a PC -> VPN gateway scenario)

scenario: i have 2 pc's that are connected to each other over ethernet in a lan and one of the pc's is configured as a gateway that tunnels the traffic of the other pc over to a vpn service. ...
0
votes
1answer
161 views

system get wrong gateway when bonding

I have a physical system with Centos 6 as OS. In eth0 I set IP, gateway and netmask as below and the physical port is attached to a switch port that its VLAN is 12. DEVICE=eth0 TYPE=Ethernet ...
0
votes
1answer
291 views

Routing with two different gateways

I have the following problem. I cant ping 8.8.4.4 ping -I ens192 8.8.4.4 PING 8.8.4.4 (8.8.4.4) from 192.168.4.44 ens192: 56(84) bytes of data. ^C --- 8.8.4.4 ping statistics --- 2 packets ...
0
votes
1answer
280 views

Change default gateway & assigned IP via script

I need some pointing in the right direction as I've tried a lot of different things over the past few days without success. I'm new to using bash and linux in general. I'm trying to detect when the ...
0
votes
1answer
455 views

UFW allow rules not working?

I have a cluster configuration with one machine that functions as a gateway (call it master) and several machines that only have private IP addresses (call them s01 to s09). I recently installed ufw ...
0
votes
1answer
200 views

SSH through a gateway that needs a proxy to access final destination

I have to set up an ssh/sftp connection which needs a certain configuration, and I've been looking around but didn't find an answer. I'm not sure it's even possible without some work around. I have 4 ...
0
votes
1answer
119 views

Device has no access to gateway, but gateway is visibile/pingable

I have on my home LAN network my home router set up as gateway and few clients. One client (orangepipc) works also like DNS resolver with installed PiHole. on the gateway(192.168.11.1) is DHCP server, ...
1
vote
2answers
2k views

How to route to a gateway on different subnet? [closed]

My network is on 10.3.4.x/24, with my router on IP 10.3.4.254. I need to ssh access my server on IP 10.3.4.100 but when I set up the server I forgot that I restricted ssh access to 192.168.x.x IPs ...
0
votes
0answers
1k views

How to set default gateway after boot

I have setup raspberrypi zero w running raspbian as wifi router. I have PPPoE broadband connection. After setting up pppoeconf , hostapd & dnsmasq. I get this routing table :: route -n Kernel IP ...
0
votes
0answers
475 views

How to get gateway information for both interface as gateway information shows as 0.0.0.0

I have two interfaces with me as eth0 and wwan0. My both the interfaces have internet connectivity. But in my use case, I can plug and unplug any interface from my system. Ideally as soon I plug it ...
0
votes
1answer
344 views

On OS X, how to grant network 192.168.3.* access to network 192.168.1.*?

I connect to Wifi with OS X, it is network 192.168.1.*. Then I also connect a second computer to Mac's ethernet port, which is configured as network 192.168.3.*. I don't need the eth-box to access ...
1
vote
0answers
80 views

Connect 2 networks through a Linux gateway

I am moving my first steps in Linux networking and I'm a bit stuck on this. I have 2 private networks 10.0.1.0/24 and 10.0.3.0/24 And I want to be able to ping the machines from one network to ...
0
votes
2answers
601 views

Get internet on linux pc using windows pc as gateway

I have a linux pc which is on a network that does not have internet access. There I have also a windows pc which is on a network that have internet access. The 2 networks are visible one to each other ...
0
votes
0answers
1k views

Error 502 bad gateway

I can't install anything with apt... I just installed kali-linux 2017.3...after updating and upgrading 700MB files:The last lines of the output of apt upgrade: Err:2 http://http.kali.org/kali kali-...
1
vote
1answer
66 views

Route in Linux with 2 card 2 gateways

This is a new setup: The file server can ping the 10.5.4.1 with: route add 10.5.4.0 netmask 255.255.252.0 gw 10.5.8.2 But 10.5.4.1 cannot ping 10.5.8.10. It's important to know that in the gateway ...
1
vote
1answer
529 views

Problem with gateway server configuration on Centos 7

I'm trying to configure a host with Centos 7 and one network interface (eth0) to be a gateway. The problem is that Gateway can forward package, receive the answer but it fails with sending response ...
2
votes
0answers
171 views

How to ping the GW of a subnet?

There is a variable: SUBNET="10.1.1.0/24" I know that 10.1.1.1 is the GW in this subnet, always the first host. Q: But how can I automate to ping this GW once? There could be different subnets, ...
1
vote
1answer
153 views

How to get the internet working on Raspberry pi connected to a PC through an ethernet cable?

I am trying the following setup: Raspberry pi (eth0) <--> (eth0) laptop (wlan0) <--> Internet (The raspberry has a Raspbian.). Left-hand side LAN uses addresses 192.168.0.*. I am currently ...
0
votes
1answer
2k views

What is difference between the gateway in ifcfg-ens192 and the one print by route

when i cat the file /etc/sysconfig/network-scripts/ifcfg-ens192 a line showing the gateway for ens192: GATEWAY=10.2.2.2 but when i run netstat -r or route Destination Gateway Genmask ...