Questions tagged [routing]

Use this tag when the topic is related to managing the paths that IP traffic will take. This includes subnets created by access points, and on the high end it could be multiple feeds coming through a Cisco unit.

Use this tag when the topic is related to managing the paths that IP traffic will take. This includes subnets created by access points, and on the high end it could be multiple feeds coming through a Cisco unit.

373 questions
54
votes
3 answers

How to make IP forwarding permanent?

I know that I can enable IP forward by echoing 1 to /proc/sys/net/ipv4/ip_forward, but how can I make this permanent? By the way I want another method rather than start up scripts, is there any?
Hojat Taheri
  • 5,409
1
vote
1 answer

Routing 2 ISPs to 2 different networks

Ok, so here is my scenario. eth0 and eth3 point to 2 different ISPs, eth1 is an internal network say on 192.1.1.0 and eth2 is on another network say 10.1.1.0. I want each network to be on their own internet connection. I'm using IPtables to route…
Josh
  • 11
1
vote
0 answers

Ubuntu - Routing between different subnets

Topology I was looking at the other similar questions and could not find one that matches this one. I have an Ubuntu VM with 2 different subnets running on Hyper V. ETH0 - IP 10.10.1.2/24 - GW 10.10.1.1 - VLAN 10 - Hyper V tagging vlan 10 ETH1 - IP…
1
vote
1 answer

How to add routes

In windows I add to the routing table: route add 159.182.151.0 MASK 255.255.255.0 159.182.152.110 How to add similar to ubuntu ? thanks.
0
votes
1 answer

Ubuntu 16.04 Port forwading troooble 2 x NIC

I am trying to setup a Gateway / Firewall between our router and Windows AD network! I have followed a lot of instructions and tutorials on the web but i am still missing something as i cannot get INTERNET access from the internal network(Windows)…
0
votes
1 answer

Routing issue gateway

This is the first time ever I am posting something, so if I am doing wrong please tell me. My issue is that I have an ubuntu server with 2 network cards. One is connected into the internal network 172 ... eth0 and another connected to a vodacom lte…
0
votes
1 answer

Routing private network

i'm newbie to NAT & Routing, I have an Ubuntu pc with 2 NIC's eth0 which is connected to a private Network with ip 172.16.10.0/24 and eth1 connected to 10.3.0.250/16 and eth1 connects to the internet successfully through the organisation's proxy…
0
votes
0 answers

Ubuntu static routes location

I have Ubuntu 18.04 server wich can't boot because HDD problems and I didn't succeed to fix it. The HDD is readable and I can open it from Ubuntu usb drive for example. So, is it possible to find where is stored static routes of the "dead" ubuntu…