Changed ISP, firewall no longer works

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: plug
Date:  
Subject: Changed ISP, firewall no longer works
try this command:

$ pump -i eth1

that should pull a dhcp address and gateway for your eth1.


--- "Vaughn Treude" <> wrote:
> > > > charset=iso-8859-1">
> > > > > Hello folks:
>     Thanks for your > suggestion when
> I was moaning about my problems with Getnet.  I've switched to > Deru, but
> I've already got problems.  As you would suspect, they don't help > you with
> Linux, just Windows.  I was able to get it working with a direct > connection


> to my laptop in its Windows incarnation, but that's not much good.  > I have
> an old PC running Mandrake 7 that I was using as a firewall - it has two >

NIC's -
> so I can get Internet service on every machine in my network.  > That's the
> machine that doesn't want to work for me.
>     The problem is they > changed me
> from a static IP (Getnet had that) back to DHCP (which I originally had >

working
> for my Qwest DSL service.)  The device on the Cisco modem is > eth1. 
> That goofy eth1 wouldn't let me change its IP address with ifconfig; it > was


> stuck at that fixed address.  I finally ended up rebooting it, and > the
> address was gone.  I also set its eth1 script to include the lines
> "ONBOOT=yes" and "BOOTPROTO=dhcp" as recommended in some article I > found in

a
> Google search.  Now the trouble is that I can't change the routing > with the


> route command.  First it wouldn't let me remove the old Getnet > static IP at


> all until I removed it from the "/etc/hosts" file and rebooted.  > Now I
> can't add a default root at all.  For one thing, I don't know what > to use
> for a gateway designation.  I added "gateway1" to the "hosts" file > with an
> address of "0.0.0.0", but I don't know if that's correct or not.  > Then if I


> try to say "route add default gw gateway1" it says "Invalid > argument." 
> (Which one?)  That probably doesn't make sense anyway.  If, on > the
> other hand, I try "route add default dev eth1" the error is "No such
> device."  Not true!  But the problem may be that eth1, > according to
> ifconfig, has no IP address.  But I can't set it to any specific > address,
> because Deru's DHCP server is supposed to give us one.  But how do > we get
> that address?  I vaguely remember something about the "dhclient" > command,
> but that's lost in the mists of time (didn't write down the  
> parameters!)  Also, it seems someone in PLUG told me I shouldn't > need to
> run dhclient.
>     Any > suggestions?
>  
> Thanks!
> Vaughn
>  
>