On Wed, 2003-01-01 at 06:00, Yang Yiqi wrote: > (Sorry, my message went under another thread unrelated to this subject so I am > resending it.) > > Happy New Year! > > I came across a problem trying to share my ADSL connection with another > computer: > > My notebook computer is running RH 8.0. I put in two PC card ethernet > adapters and both working fine as eth0 and eth1. I use one of the NICs > (eth1) for ADSL PPPoE connection. > > If I do not activate neither eth0 nor eth1, the internet connection works > fine. But I can no longer browse to any webpage if I activate either eth0 or > eth1, although I can still ping to any active putlic address from PPP0, which > means the connection is still alive. > > How can I set the machine to work with both eth0/eth1 and PPP0 activated? How > can I use this desktop as a gateway to make the internet connection availabe > to another machine? I can ping my notebook from the other machine after > activating eth0. First, don't activate eth1. It is used by pppoe and pppoe will activate it. Second, download and install shorewall (http://www.shorewall.net). The docs on the site include directions for setting up your PC to be a gateway. Follow these directions using ppp0 as your internet interface and eth0 as your internal interface. If you run into problems, I can send you my shorewall configuration files to get you started. Regards, -- Cliff Wells, Software Engineer Logiplex Corporation (www.logiplex.net) (503) 978-6726 x308 (800) 735-0555 x308
Attachment:
signature.asc
Description: This is a digitally signed message part