Changed ISP, firewall no longer works
Vaughn Treude
plug-discuss@lists.plug.phoenix.az.us
Fri, 25 Oct 2002 17:54:44 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_000F_01C27C4F.99B48380
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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=3Dyes" and =
"BOOTPROTO=3Ddhcp" 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
------=_NextPart_000_000F_01C27C4F.99B48380
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello folks:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Thanks for your =
suggestion when=20
I was moaning about my problems with Getnet. I've switched to =
Deru, but=20
I've already got problems. As you would suspect, they don't help =
you with=20
Linux, just Windows. I was able to get it working with a direct =
connection=20
to my laptop in its Windows incarnation, but that's not much good. =
I have=20
an old PC running Mandrake 7 that I was using as a firewall - it has two =
NIC's -=20
so I can get Internet service on every machine in my network. =
That's the=20
machine that doesn't want to work for me.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> The problem is they =
changed me=20
from a static IP (Getnet had that) back to DHCP (which I originally had =
working=20
for my Qwest DSL service.) The device on the Cisco modem is =
eth1. =20
That goofy eth1 wouldn't let me change its IP address with ifconfig; it =
was=20
stuck at that fixed address. I finally ended up rebooting it, and =
the=20
address was gone. I also set its eth1 script to include the lines=20
"ONBOOT=3Dyes" and "BOOTPROTO=3Ddhcp" as recommended in some article I =
found in a=20
Google search. Now the trouble is that I can't change the routing =
with the=20
route command. First it wouldn't let me remove the old Getnet =
static IP at=20
all until I removed it from the "/etc/hosts" file and rebooted. =
Now I=20
can't add a default root at all. For one thing, I don't know what =
to use=20
for a gateway designation. I added "gateway1" to the "hosts" file =
with an=20
address of "0.0.0.0", but I don't know if that's correct or not. =
Then if I=20
try to say "route add default gw gateway1" it says "Invalid =
argument." =20
(Which one?) That probably doesn't make sense anyway. If, on =
the=20
other hand, I try "route add default dev eth1" the error is "No such=20
device." Not true! But the problem may be that eth1, =
according to=20
ifconfig, has no IP address. But I can't set it to any specific =
address,=20
because Deru's DHCP server is supposed to give us one. But how do =
we get=20
that address? I vaguely remember something about the "dhclient" =
command,=20
but that's lost in the mists of time (didn't write down the =20
parameters!) Also, it seems someone in PLUG told me I shouldn't =
need to=20
run dhclient.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Any =
suggestions?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Vaughn</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_000F_01C27C4F.99B48380--