We have a router between 2 of our offices and I have added a gateway to
servers and PCs to allow then access between the 2 sites. The problem I
have is that I cannot add I gateway to the interface on our email/internet
server which is being used for a proxy connection for the software Delegate.
I can do this:
route add -net 192.168.2.0 gw 192.9.200.14 netmask 255.255.255.0 dev eth0
which allows users to access their email via the network card with the IP
address 192.9.200.38
but to allow them access to the proxy server i tried using the interface
where the IP
address 192.9.200.41 is located as follows:
route add -net 192.168.2.0 gw 192.9.200.14 netmask 255.255.255.0 dev eth0:0
but it gave the error :SIOCADDRT: Invalid argument
I am assuming this is the correctn interface eth0:0 to use as our browsers
connect via the proxy with IP address 192.9.200.41
the o/p from "route" is :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
proxy * 255.255.255.255 UH 0
0 0 eth0:0
10.0.0.2 * 255.255.255.255 UH 1
0 0 sl0 212.140.56.14 * 255.255.255.255
UH 0 0 0 ppp0 192.9.200.0 *
255.255.255.0 U 0 0 78238 eth0 192.168.2.0
box14 255.255.255.0 UG 0 0 117 eth0
127.0.0.0 * 255.0.0.0 U
0 0 851 lo
default * 0.0.0.0 U
0 0 14 ppp0 default *
0.0.0.0 U 1 0 2053 sl0
any ideas ???