News: This forum is now permanently frozen.
Pages: [1]
Topic: Static Routes not being applied  (Read 1181 times)
« on: December 10, 2012, 23:43:42 »
mechgt *
Posts: 1

There's something odd going on with my static routes... they sometimes work Huh

Setup:
m0n0 (virtual appliance, v1.34) is the gateway to internet for many virtual machines.
WAN IP address is supplied by DHCP like such:
IP: 172.0.0.100
Subnet: 255.255.255.0
DefaultGW: 172.0.1.1 (<-- this is an uncontrollable problem, note the gw is in a different subnet)

I need for the default gateway to be 172.0.0.1 (address of another switch/router that actually resides in my subnet).

The IT folks do some sort of magic to make that work for a lot of machines in our office, but it always runs havoc with non Windows machines.  My solution:
Create 2 static routes like:
0.0.0.0/1 uses gateway 172.0.0.1
128.0.0.0/1 uses gateway 172.0.0.1
 
Once I make the rules and click Apply, communication begins working.... until I reboot m0n0.  After a reboot, the route doesn't work anymore.  To make it work again, all I have to do is open the route (making NO changes) and click save/apply then it works again.

Any idea why m0n0 is behaving like that?
« Last Edit: December 11, 2012, 16:25:33 by mechgt »
« Reply #1 on: February 11, 2013, 00:08:06 »
PiterRing **
Posts: 59

You can use static settings WAN.

minamotosoftУХоГмыло.ком
//Если гМыло в онлайне - стучите в чат, не стесняйтесь.
« Reply #2 on: February 11, 2013, 18:03:36 »
Јаневски ***
Posts: 153

You can use static settings WAN.
Agreed.

 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines