On Tue, Aug 15, 2000 at 04:25:37AM -0700, Ben Logan wrote:
> Greetings,
> 
> I have two computers connected via a crossover cable
> and ethernet cards.  Both are running RH6.2.  I've got
> IP-Masquerading on computer A so that B can access the
> internet through the faster modem in A.
> 
> The problem is that when I have computer A set as the
> default gateway for B (necessary for IP-Masq), I can't
> ftp into B from A.  If I remove that particular route,
> I can ftp fine.  My routing table is set up with the
> route command (I don't use routed).

What error message do you get when you try to connect?
Are both hosts listed in each other's /etc/hosts file?
What ipchains commands are you using to setup masquerading?
What do the routing tables of both hosts look like?

> Another problem is that I sometimes need to connect
> directly to the internet from B instead of using A's
> modem.  When I do that, the default gateway gets set
> to my ISP, and when I disconnect, doesn't get set back
> to computer A's address.  I have to manually add the
> route to get the lan to work again.

pppd supports ip-up.local and ip-down.local scripts which, if located
in /etc/ppp and made executable, will be run when the IP link is
brought up and down.  From those you can try and massage the routing
table.  

-- 
Steve Borho                      Voice:  314-429-8300 ext:3042
Member of Technical Staff
Celox Networking Inc

Fortune of the day:
Women aren't as mere as they used to be.
                -- Pogo



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to