Hello folks; I am Linux newbie, so please be patient with me. I have
struggled through getting my linux box set up to do ip masqerading and
actually the biggest difficulty I've had is with DHCP on the @Home
network. I have it working--sort of. I hope you all won't mind me asking
this on this list, as  the (only) two kind persons who did answer
questions about DHCP on the comp.os.linux.networking newsgroup have not
been able to help. I am running Debian 2.1 on (don't laugh) a MacII with
two ethernet cards, eth0 being connected to the cable modem and eth1 to
an internal hub.

I can ping and telnet to the outside world from one of my internal
machines; and from my masq server, I can ping web addresses. I can ping
the ip number of outside web addresses from my internal machines. I
cannot however browse the web addresses from my internal machines. I
suspect I have not done something correctly to permit the domain name
services to get through properly. Can anyone guide me as to the likely
source of this error? Also, given the machine is a bit slow, would
setting up DNS caching be a good idea (how would I do this?) or be a
solution to the problem set out above?

I am using dhcp-client; I gave up on dhcpcd because I could not find any
assistance to why it wasn't working (but I could find somewhat helpful
documentation on dhclient on the NetBSD site:
http://www.netbsd.org/Documentation/network/dhcp.html). I have
customized the dhclient.conf as per the directions, but perhaps I have
done something wrong here as well; the script still stops on the point
indicated below complaining that there is no semi-colon.

Send host-name "server.techne.home";          <=== my masq server.
       send dhcp-client-identifier "CSxxxxxxx-X";     <=== a long string
from the @home service
       request subnet-mask; <=== I broke up these because the script
kept stopping on
       request broadcast-address; <=== these lines until I put them in
separated by semi-colons
       request routers;
       request domain-name-servers;

       timeout 30;
       retry 60;
       select-timeout 5;

       script "/etc/dhclient-script";

       lease {
         interface "eth0";                               <=== put your
interface device here.
         option host-name "server.techne.home";           <=== put your
hostname here
         option subnet-mask 255.255.255.0;
         option domain-name "home.com";      <=== put your domain name
here
         option domain-name-servers x.x.x.x/y;
<=== breaks at second period of domain name server
         renew 2 2000/1/12 00:00:01;
         rebind 2 2000/1/12 00:00:01;
         expire 2 2000/1/12 00:00:01;
       }




_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to