Forums Search Login Register
New Posts Todays Posts Find Users Posts Unanswered Threads Help Mark Forums as Read

Thread Options  Subscribe to this thread Subscribed Users  Add Reply 
Posts: 1,317
Hi, I'm looking for assistance in setting up persistent static routes. I've been digging through help articles for the past several hours without much luck. Syntax seems to change from version to version, with additions like netplan and network manager added for additional fun. I've removed both Network Manager (couldn't get it to manage any wired connections, which kind of defeated the purpose) and NetPlan (including all the .yaml files).

That leaves me with /etc/network/interfaces. I thought this would be fairly easy to configure but Ubuntu appears to be ignoring my new routes no matter what I try. Current config is this:

#LAN Interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.x
up ip route add via dev eth0
up ip route add via dev eth0
up ip route add -net via dev eth0
post-up route add -net netmask gw dev eth0

#DMZ Interface
allow-hotplug eth1
auto eth1
iface eth1 inet static
address 69.40.211.x
netmask 255.255.255.x
gateway 69.40.211.x

So as you can see above I've been trying different syntax in the hopes that that was my issue. None of those routes stick though. I end up with a link-local for the and a default for 69.40.211.x. Missing are any of the additional routes that I'd like to go out via Eth0 and

Can anyone assist me with what I'm missing here? So far as I can tell I've eliminated anything that should be overriding the interfaces config and those were the various examples I found online.

Also worth noting, I can't restart the service without getting file exists/permission errors. No clue what could be causing that, I've been testing by just rebooting the server.

04-24-2018, 01:00 AM
Subscribe to this thread Subscribed Users  Add Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [server] Server Load Going Through the Roof ocolebrightn 0 2 02-22-2020 07:53 AM
Last Post: ocolebrightn
  Dual booting with 2 disks Trogdor 0 2 02-17-2020 05:22 AM
Last Post: Trogdor
  Issue with rotate display on rpi4 with ubuntu server 19.10 Wilma 0 10 02-14-2020 09:01 AM
Last Post: Wilma
  [server] Keeping Nextcloud and expanding JerrieKasica 0 9 02-07-2020 03:30 AM
Last Post: JerrieKasica
  Fail to connect to Windows shares: "failed to retrieve share list from server" DonJuan 0 22 01-19-2020 03:24 AM
Last Post: DonJuan
  LAN Internet slow in Ubuntu compared to Windows in dual boot blelahharrisc 0 14 01-16-2020 07:55 AM
Last Post: blelahharrisc
  Starting dual boot Ubuntu meloygoodwinq 0 10 01-13-2020 10:56 AM
Last Post: meloygoodwinq
  Ubuntu gamepack cant find server qkathlinewillish 0 10 01-01-2020 10:14 PM
Last Post: qkathlinewillish
  [ubuntu] Dual-boot Windows partition recently started mounting as read-only lonniedivers 0 20 12-26-2019 05:09 PM
Last Post: lonniedivers
  [lubuntu] Suddenly having dual boot issues Lubuntu and MBR legacy bios zbernadinerrrhat 0 24 12-15-2019 03:01 AM
Last Post: zbernadinerrrhat

Forum Jump:

User(s) browsing this thread: 1 Guest(s)

Contact Us Privacy Policy Top RSS
Forum Software By: MyBB, © 2002-2020