Hello,
Let me try reposting this once more maybe I wasn't too clear in my
previous post.
I have a Linux RH7.3 server running ssh service. I want clients to log
in using ssh from two different Wans.
Wan1: Frame relay router (closed network with another frame relay
router)
Wan2:DSL router allowing clients to login from the internet.
The ip of the frame relay router is 192.168.100.254
The ip of the dsl router is 192.168.10.254
The fr relay is associated with eth0:192.168.100.10 defaultgw
192.168.100.254
The dsl is associated with eth1:192.168.10.10 defaultgw 192.168.10.254
Our GUI network configurator is not working due to bugzilla reports.
However it worked during the initial install and setup of these two
cards. But now we cannot access the tool.
We tried linuxconf but that only allows us one default gw to be
configured. Only one network works at a time.
Is it possible to have two default gateways (one per interface) and
have the box recognize and negotiate them both at the same time?
Which config files can I vi to achieve the desired result of two
gateways without using the gui tool?
If we are only allowed one default gateway per machine, how will the
box know
that the other router exists?
If static routes is the answer, then it is not clear to me how this
will work.
route -net add 192.168.10.0 255.255.255.0 eth1
Remember someone coming over the internet will have a private ip of
192.168.20.1 nat'ed through some pubic ip 68.1.1.10 for example trying
to ssh to
my public ip 68.1.10.20 conecting to my eth1:192.168.10.10.
|--?------eth1---dsl router--------internet
server--|
|--defgw--eth0---frame router1--|--frame router2
Any suggestions?
Thanks guys.