I'm having all kinds of problems here adding a route out to our new load balancer. Can anybody shed some light on why I'm getting this error:
> route add 192.168.3.0 mask 255.255.255.0 192.168.2.1
The route addition failed: The parameter is incorrect.
The basic summary of the network is this:
192.168.2.2 is this machine
192.168.2.1 is a hardware firewall
192.168.3.2 is the hardware firewall's external address
192.168.3.1 is the load balancer
All I want is to configure a route so that I can get to the config pages of the load balancer from this machine in order to test the new settings.
Now, to complicate it a little, this machine does have two network cards:
192.168.2.2 - New NIC
194.73.225.51 - Live internet connection
And on the Live connection we have a default gateway of 194.73.225.49.
If I remove that default gateway, and add a default gateway on the new NIC of 192.168.2.1, everything works fine and I can access the 192.168.3.x subnet.
However, I don't really want to do that yet. I'd like to just get a route established so I can test things before swapping the default gateway over.
As far as I can see, nothing in the routing table is clashing, and the syntax looks fine. Can anybody spot what I've missed?
> route add 192.168.3.0 mask 255.255.255.0 192.168.2.1
The route addition failed: The parameter is incorrect.
The basic summary of the network is this:
192.168.2.2 is this machine
192.168.2.1 is a hardware firewall
192.168.3.2 is the hardware firewall's external address
192.168.3.1 is the load balancer
All I want is to configure a route so that I can get to the config pages of the load balancer from this machine in order to test the new settings.
Now, to complicate it a little, this machine does have two network cards:
192.168.2.2 - New NIC
194.73.225.51 - Live internet connection
And on the Live connection we have a default gateway of 194.73.225.49.
If I remove that default gateway, and add a default gateway on the new NIC of 192.168.2.1, everything works fine and I can access the 192.168.3.x subnet.
However, I don't really want to do that yet. I'd like to just get a route established so I can test things before swapping the default gateway over.
As far as I can see, nothing in the routing table is clashing, and the syntax looks fine. Can anybody spot what I've missed?