Questions tagged [ip-routing]

272 questions
5
votes
1 answer

Carrier Grade NAT concepts: IP bans

I'd like to deploy a Wireless WAN using IPV6 for at least the wireless bits given that 6 offers higher through-put. I'm exploring the concept of CGN and what strikes me immediately is the liability. Suppose you use a single IP address for 14…
Guitarax
  • 67
  • 2
5
votes
1 answer

Can't communicate between multiple interfaces on same subnet

I have multiple ethernet interfaces on one machine, all on the same subnet. Normally these are set up to run on separate VM's, and I understand the limitations imposed by Linux as described here, but I've been tasked to try and make it work on one…
Tanner
  • 141
  • 1
  • 7
5
votes
5 answers

Simple Quagga BGP router

We are attempting to setup a Gentoo Linux box to run a Quagga BGP router for our internet connection. We've tried many things, but everything we've tried results in Quagga reporting that there is no BGP network available and it never connects to the…
miquella
  • 250
  • 1
  • 5
  • 10
5
votes
4 answers

Help me understand the 'ip route' command for cisco routers

I just can't wrap my head around it. For example: I want the left-most router to be able to ping my computers on the left and vice-versa. Where would I set up ip route and to what address. I feel like I'm just guessing and don't really understand…
Sergio Tapia
4
votes
1 answer

When is route lookup performed when a packet flows through iptables?

Iptables is often illustrated using diagram I fail to understand when route lookup (routing tables) is performed: inside the "Routing Decision" grey boxes? If so, does it mean a packet is routed twice? after "nat POSTROUTING" and not shown in the…
matador
  • 41
  • 2
4
votes
3 answers

proxmox KVM routed network with multiple public IPs

I have a dedicated hosting with hetzner. Additionally i have bought a 6IP subnet. My main IP is: 148.111.111.200 My main subnet is: 255.255.255.224 My additional IPs are 148.222.222.1 to 148.222.222.6. My usage scenario is as follows: Several…
Sibin Grasic
  • 476
  • 1
  • 5
  • 19
4
votes
1 answer

Forward IP packets to tunnel device

I have created an tunnel device using ip tuntap add dev tun0 mode tun user 0 group 0 I then assign it an ip address 192.168.0.1/22 ifconfig tun0 192.168.0.1 netmask 255.255.252.0 On my ethernet device eth0, I receive packets from machines in the…
Ashwin
  • 41
  • 3
4
votes
2 answers

Using Internal or External IP for File Transfers in Data Center?

I am pretty sure I know the answer to this, but 2 technical people in my organization cannot agree, so I'm putting this on ServerFault to get a final opinion. We have a relatively simple set up in a data center: About 6 servers connected to an…
Jay
  • 89
  • 2
4
votes
1 answer

Setting up linux routing

The system I'm trying to set up has an IP address 172.31.2.1. Its default gateway is 172.31.254.1. This works fine, and I can reach anything the gateway allows me to go to (172.31.0.0/16 + 149.244.178.0/24). There is another gateway at 149.244.178.1…
Sagar
  • 524
  • 3
  • 7
  • 20
4
votes
1 answer

VLAN ACLs and when to go Layer 3

I want to: a) segment several departments into VLANs with the hopes of restricting access between them completely (Sales never needs to talk to Support's workstations or printers and vice-versa) or b) certain IP addresses and TCP/UDP ports across…
WuckaChucka
  • 375
  • 3
  • 8
  • 23
4
votes
1 answer

networkmanager-strongswan vpn - routing specific ip through VPN

I'm trying to setting a VPN on Linux Mint 19.2. I'm using the network-manager-strongswan so I added this file named VPN under /etc/NetworkManager/system-connections/…
3
votes
2 answers

Ubuntu defaults to IPv6, should default to IPv4

Ubuntu 16.04.5 with kernel 4.4 used to work as intended: IPv4 is default. Since changing to kernel (hwe) 4.15, it uses IPv6 as default. It has IPv6 available via Tunnelbroker, broadcasted by the router. It is now defaulting to IPv6: curl ifconfig.co…
Gaia
  • 1,777
  • 4
  • 32
  • 58
3
votes
1 answer

Traceroute time is too long

I m using RHEL 6.5 and eth0 interaface Interface Ip is 100.x.x.x and when i traceroute to 100.x.x.x it showing one hop that too ip address of interface itself. For eg traceroute to 100.65.111.14 from 100.66.28.75 gives 100.66.28.75 3000ms 3214ms…
bgv
  • 57
  • 1
  • 2
  • 6
3
votes
0 answers

linux ping incorrect source ip

I have a Linux box handling routing for my network. Here are some relevant configurations (public IP Addresses masked to 192.0.0.x): IP configuration: [root@gw ~]# ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group…
fdmillion
  • 389
  • 7
  • 14
3
votes
1 answer

IPTables, route specific port through VPN

I'm running my own mail server at home on a dynamic IP. Dynamic IPs are often blacklisted, so I currently send out mails through my provider's relay. I want to change that to sending mail directly, and for that purpose have a vserver somewhere with…
i3i5i7
  • 61
  • 3
1
2
3
18 19