See firewall, no internet

Kevin Brown plug-discuss@lists.plug.phoenix.az.us
Sun, 06 Oct 2002 00:20:08 -0700


If RH:

cat /etc/sysconfig/network-scripts/ifcfg-eth0 (or 1 or 2 for each device).

Look for the BOOTPROTO= line and check if it has DHCP/BOOTP enabled or is
statically assigning.

Since /etc/resolv.conf has the old DNS servers listed, I'm guessing it is either
trying to hold onto it or isn't reaching the correct DHCP server.  I believe the
dhcp client daemon keeps a cache of what info it was given in /etc/dhcpcd/

Could try ifdown eth0; rm /etc/dhcpcd/*; ifup eth0 and see what it does.

> ? thinking that this is redhat install...
> ? make sure that firewall config isn't
> ? interfering...
> ?
> ? service ipchains stop
> ? service iptables stop
> 
> Done.
> 
> ? less /etc/sysconfig/network (will show hostname
> ? / gateway which s/b
> ? smoothwall ip address
> 
> Contents of /etc/sysconfig/network:
> 
> NETWORKING=Yes
> HOSTNAME=localhost.localdomain
> 
> ? less /etc/resolv.conf which should be the name
> ? servers provided by the
> ? dhcp server
> 
> Contents of /etc/resolv.conf:
> 
> nameserver 216.218.xxx.x
> nameserver 216.218.xxx.x
> nameserver 192.168.200.1
> search localdomain
> 
> The first two are the DNS servers for the ISP of the location the computer
> came from.  The next one is the IP of my firewall.
> 
> ? ipconfig should show your ip addresses
> 
> Shows 192.168.200.87.  Hmm... This one does not make sense.  I have the
> firewall set to dole out IP addresses from 192.168.200.100 to .150.  How did
> it get .87?  It must be hard coded somewhere.  Interesting because that means
> that the firewall will not accept outgoing packets from an IP outside the
> defined range... OK, hunting stuff down.
> 
> Any further thoughts?
> 
> Alan
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss