dhcp3 help
Gian Piero Carzino
gcarzino at tiscali.it
Fri Feb 24 14:36:30 UTC 2006
Jeff Henline ha scritto:
> I'm hoping someone can point me in the right direction in getting a
> problem fixed with dhcp3. I think I have it set up correctly, for the
> most part. I have two nics, eth0 (wan) and eth1 (internal).
>
> The settings for eth0 are set to: dhcp
> The settingg for eth1 are set to: manual: 192.168.0.1
> <http://192.168.0.1>, subnet mask: 255.255.255.0 <http://255.255.255.0>,
> gateway address: EMPTY
>
> I have internet on the server and eth1 is serving addresses starting at
> 192.168.0.200 <http://192.168.0.200> to clients on the network. The
> problem is that clients are unable to reach the outside world.
If I catch the point, you want your machine to act as a router
(translating internal addresses from eth1 to internet addresses through
eth0)...
That must be configured in some way (dhcp simply gives addresses and net
parameters to the other machines, but doesn't modify packets for you).
I know this (it's called *masquerade*) can be done with iptables...
though I normally use other tools (like a firewall, I use shorewall).
Hope this helps
--
Gian Piero Carzino
<gcarzino at tiscali.it>
More information about the ubuntu-users
mailing list