[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: routing help on dual homed box



On Sun, Jan 06, 2002 at 09:51:07AM +0000, Alan Chandler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Saturday 05 January 2002 3:47 pm, Serge Rey wrote:
> > hi,
> >
> ... [snip]
> > i'm wondering if this is a routing problem? this is what the routing
> > table looks like for box C:
> [snip]
> > any clues as how to debug this further would be most appreciated.
> 
> What does you /etc/network/interfaces file say.  Debian uses these in the 
> ifup program to set up ifconfig and route correctly.  
> 

thanks for the reply. i had 0 little luck playing with the interfaces
file, so after many hours of swapping cards, and trying different
permutations of assignments of eth0 and eth1, i did a fresh potato
install. this time more success but i'm not quite there yet.

basically i configure eth1 as the interface to the lan. this works fine.
and, this is done at boot via the normal process (i.e., configured as
specified in /etc/networking/interfaces).

then i install dhcpcd.
from the cli if i issue "dhcpcd -h cxXXXXXX eth0" 
then the connection gets configured correctly. i can ping external
machines as well as local machines, so both eth0 and eth1 work.

now i'm trying to figure out the best way to automate this. i think my
problems the last few days were in the sequencing of configuring the
following mix of things

eth1 - lan
eth0 - dhcp
firewall script

the latter runs some masqing of the lan and has to run immediately after
eth0 is assigned an ip (so that the external connection is configured
correctly in the fw).

any suggestions of how to do this the proper (i.e., debian) way within
the context of the bootup scripts?

thanks,
serge

-- 
Sergio J. Rey	http://typhoon.sdsu.edu/rey.html
Reality is that which, when you stop believing in it, doesn't go away. 
                        - Philip K. Dick 

Attachment: pgp87fsos8pZp.pgp
Description: PGP signature


Reply to: