Click to See Complete Forum and Search --> : Cable Modem change causes lost connection


BluesMan
06-01-2001, 10:59 PM
My cable modem provider, Cox@home, changed me over to DHCP yesterday. I've had a RH6.1 firewall up and running for almost a year. I
used winipcfg on my windoze box to verify the
new IP address that I'd been given, changed my external firewall NIC to that address and
now cannot ping out. I've verified several times that the address does not change (at least during the 4 hrs I've spent on this)
I've verified default gw, DNS, and routes.
when I run a netstat -i I can see a bunch of
RX errs when I try to ping externally. Anybody got any ideas to try?

DT

BluesMan
06-01-2001, 11:01 PM
As a follow up I will also ask if anyone knows how to run an ipchains fw with DHCP, since my ISP is now working that way.
Dave

bdg1983
06-02-2001, 11:38 AM
The following is from the ipchains NHF (2nd page) in the Networking Section. Not sure if it is what you need, but seems appropriate.

# DHCP: For people who receive their external IP address from either DHCP or BOOTP
# such as ADSL or Cablemodem users, it is necessary to use the following
# before the deny command. The "bootp_client_net_if_name" should be replaced
# the name of the link that the DHCP/BOOTP server will put an address on to?
# This will be something like "eth0", "eth1", etc. #
# This example is currently commented out.
#
#
#/sbin/ipchains -A input -j ACCEPT -i bootp_clients_net_if_name -s 0/0 67 -d 0/0 68 -p udp
# Enable simple IP forwarding and Masquerading
#
# NOTE: The following is an example for an internal LAN address in the 192.168.0.x
# network with a 255.255.255.0 or a "24" bit subnet mask.
#
# Please change this network number and subnet mask to match your internal LAN setup
#
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ
# End of file.


Give that a try and perhaps review the entire NHF on ipchains or one of the many other Networking NHF's or the Security NHF's.

Strike
06-02-2001, 04:35 PM
Um, you were on static IP before and now you use DHCP? You need to configure your NIC to use DHCP to get an IP address then. I highly recommend using dhcpcd to do this.