Hello all,
My box is running dachstein with dhcpd.lrp and
dhclient.lrp.
My preferred setup is:
Internet connection device:
ttyS0 ---> ppp dialup to an ISP
eth0 ----> external network with internet/or DSL
ISP
dhcp client device:
eth1 ----> dhcp clients
The services that I've already managed to make
work are:
1. DHCP server is already up.
2. ttyS0 dialup to an ISP is already
working via ppp0
3. eth0 internet connection is also
working
I'm sure that my internet hookups are working fine
because
I can traceroute into known internet sites. And the
way ppp0
internet connection
takes over the eth0 net connection is
just fine with me.
Now my problem is, how to make my dhcp clients
connect
to the net using which ever internet service
is up on the box.
I bring up both eth0(192.168.1.211) and
eth1(192.168.2.211)
in network.conf. They have the same masklens
(24),
eth0GW is correct (as it can connect to the outer
network layer
and it's internet), but I'm not really sure
what to use for
eth1's GW (I've tried using eth0's IP as
eth1's GW -- don't
know what to do really).
Does this problem has something to do with fixing my ipchains?
If so, or otherwise, please give me a hint on how to make my
dhcp client machines access the internet using eth0 and ppp0.
And also, I've already managed to configure ttyS1
as a dial-in port
to my box. I would also like to give internet
access to this dial-in
port.
TIA!
|