Hi list,

I need help with a complicate network structure and its routing table.

How should i route to a network behind another network that it is not
going through default gateway

local-network: 10.0.0.0 255.0.0.0 <conflict>
vpn-network:192.168.1.0 255.255.255.0
remote-network-through-vpn: 10.1.1.0 255.0.0.0  <conflict>
default-gateway:10.0.0.138

???solution ???
???????????????
change local area network ip and mask to 172.16.0.0
add route entry
route add 10.1.1.0 192.168.1.??? (should it be the ip of the gateway of
the 192.168 to the 10.0 network?






a few days ago I was called to set up a solaris machine( first time I
touch that) to connect to the internet.
I have no idea of how to set the vpn, so I upgraded the ADSL modem
(alcatel) and set it up nat.
I set up the network on the solaris machine ( very similar to linux,
just some diffs as eth0=hme0 in solaris.)
I set up the adsl modem as default gateway and that is it.


But here starts the story.

the adsl modem is 10.0.0.138 ( i know that I can change it to whatever I
want)
the ip for the machine is 10.0.0.1
netmask 255.0.0.0

now, when this person connects to the internet it launchs a vpn
connection to a firma in NY.
I do not remember the ip but lets assume it is
network: 192.168.1.0

we can reach that network through the vpn connection.
but from there we want to jump to another network 10.1.1.0

ok, first:
 1. because of my current subneting the packets that suppose to go to
10.1.1.0 are routed to my adsl modem and then dies.

if I change the subnet mask to 255.255.0.0 then I may solve the conflict
but still I have the problem of routing the packets.

so if the original routing table looks something like

10.0.0.0  10.0.0.1 hme0
0.0.0.0  10.0.0.138 hme0

i need to add another entry for the vpn

192.168.1.0 192.168.1.<dhcp-ip> hme0
and
10.1.1.0 192.168.<ip-of-gateway-from192to10> vpn-interface

is that right?


Meir Michanie
067-564766



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to