This isnt really to do with IP Masq, but I was hoping somebody could resolve this simple question.
 
Ive aquired a public IP address that sits inside a LAN, the rest of the lan is on a 192.168.0.x network.
 
And the public IP address is 203.108.170.40 (for instance).
 
I add a route to the linux machine  route add -net 203.108.170.0 netmask 255.255.255.0 which adds this class c to the routing table. I can now ping 203.108.170.40 from the linux machine (192.168.0.1).
 
My ISP has routed the public IP address though the linux machine so there is not problem, my problem is I can't ping the IP address from the internet, nor can I ping the internet from the 203.108.170.40 machine.
 
My routing is stuffed, and I don't know what is required, Ive tried adding an alias and routing the 203 class c through an alias eth0:0, but this doesnt do anything, im missing a route Im sure that routes 203.108.170.40 out to the internet's gw, but Im not sure how to do it....
 
Any thoughts ?
 
Cheers,
Stephen.

Reply via email to