Re: DHCP setup

From: W Cardwell (wcardwell_at_nc.rr.com)
Date: 07/15/03


Date: Tue, 15 Jul 2003 00:53:58 GMT


"jones" <jonesl@graduate.hku.hk> wrote in message
news:ac56a577.0307140941.78569d78@posting.google.com...
> Thanks for your reply.
>
> I've found that the 192.168.123.145 is actually an address provided by
> a previous hardware DHCP server (which is now removed from the
> network). Once I release and renew the IP, the ME get an address
> assigned by the Linux DHCP server immediately. The ME can now ping the
> gateway (eth0) with IP 192.168.0.1. However, the ME still cannot
> research the internet. The eth0 config is as follows:
>
> IP: 192.168.0.1
> Subnet: 255.255.255.0
> Gateway: 192.168.0.1
>
> And the config of eth1 is as follows:
>
> IP: 212.236.95.99
> Subnet:255.255.255.248
> Gateway: 212.236.95.101
>
> The DNS server option is 210.33.45.67. It is the DNS provided by the
> ISP. I choose it as our network does not have any DNS server.
>
> Would someone give me some hints to solve it? Is it related to my NIC
> settings? Should I start other services, like IP forwarding, in order
> to route the packet from the internal network to the external world?
> Is there anything to work on the Firewall settings?
>

The linux box must be told to forward packets with the command

/bin/echo "1" > /proc/sys/net/ipv4/ip_forward

People usually put this command in their firewall script. If you use RedHat,
you can use the /etc/sysctl.conf file, where you can put
"net.ipv4.ip_forward=1"

Since your Internet interface has a static IP range, you need to set up
Source Network Address Translation (SNAT) in your firewall script. See 'man
iptables' and the iptables-howto for specifics.



Relevant Pages

  • Re: WAP54Gs with WPA not handing out IPs from SBS2003 server
    ... Do you have enough IP addresses in the DHCP pool on the DHCP server? ... There's not even 50 machines total on the network. ... I'll assume you're running Windoze XP Home using Wireless Zero Config ... With the PCMCIA card, it's the WZC software. ...
    (alt.internet.wireless)
  • Re: WAP54Gs with WPA not handing out IPs from SBS2003 server
    ... Do you have enough IP addresses in the DHCP pool on the DHCP server? ... There's not even 50 machines total on the network. ... I'll assume you're running Windoze XP Home using Wireless Zero Config ... With the PCMCIA card, it's the WZC software. ...
    (alt.internet.wireless)
  • Re: Whats the benefit of using superscopes?
    ... A superscope is a collection of individual scopes that can be ... A superscope is actually a collection of individual scopes. ... Place DHCP clients from multiple network IDs on the same ... The superscope will allow the DHCP Server to answer requests from ...
    (microsoft.public.windows.server.networking)
  • <LONG>Re: Question rephrase
    ... >currently only one master NS server, ... become a master NS for that network. ... a computer is brought back into our facility, the first thing security ... so your DHCP server configures itself? ...
    (comp.os.linux.networking)
  • Re: Networking between Irix and Osx
    ... Is your router a DHCP server? ... My router is a DHCP server and my G5 was already configured to ... keep networking information (ip, dns,etc.) from it. ... In the panel Modify Network Settings on Iris, i also try to write the ...
    (comp.sys.sgi.admin)