[NTLUG:Discuss] Firewalling Using RedHat
Bug Hunter
bughuntr at one.ctelcom.net
Mon Feb 18 16:44:57 CST 2002
you have to set the route flag in the kernel. a tutorial in IP
Masqueradeing usually talks about it.
for the 2.2 kernel it was:
echo 1 > /proc/sys/net/ipv4/ip_forward
I don't know about the 2.4 kernel yet.
On Mon, 18 Feb 2002, Tim Willis wrote:
> I used webmin, good idea, thanks. I should have thought of that
> earlier. Now the networking is correct. I went through lokkit and set
> another machine's default gateway to the internal NIC on my RedHat box,
> and it still wouldn't route. Do I need to set up IP Masquerade on this
> box as well?
>
> > -----Original Message-----
> > From: discuss-admin at ntlug.org
> > [mailto:discuss-admin at ntlug.org] On Behalf Of Bug Hunter
> > Sent: Monday, February 18, 2002 13:30
> > To: discuss at ntlug.org
> > Subject: Re: [NTLUG:Discuss] Firewalling Using RedHat
> >
> >
> >
> > dmesg should provide some clues.
> >
> > also, look in /etc/sysconfig/network-scripts and see if an
> > ifcfg-eth1 script exists (and an ifcfg-eth0). If they don't
> > somehting failed during the network configuration, and you
> > either need to redo it by hand or try something like webmin.
> >
> >
> > On Mon, 18 Feb 2002, Tim Willis wrote:
> >
> > > Here is my situation. I've just added an additional NIC to
> > my RedHat
> > > 7.2 box. It recognized the card and I configured it with
> > the correct
> > > IP and subnet, and then the boot process continued.
> > >
> > > However, upon doing ifconfig, I only get the lo interface
> > paramaters.
> > > I've had to re-set the network configuration for my internal card
> > > (eth0) each time I've re-booted.
> > >
> > > Looking in the GNOME Network configuration utility I've found that
> > > both cards are listed, and also, they are configured with
> > the proper
> > > IP, netmask, and gateway. However, like above, if I run
> > ifconfig, I
> > > only get the parameters for lo. After I do ifconfig eth0
> > > 192.168.254.2 netmask 255.255.0.0 / route add default gateway
> > > 192.168.254.1, I can get the parameters for eth0 (in
> > addition to lo).
> > > If I try to set the IP and netmask for eth1, the message is:
> > >
> > > SIOCSIFADDR: No Such Device
> > > eth1: No such device
> > > SIOCSIFNETMASK: No Such Device
> > >
> > > Do I need to add eth1 somehow? Why Do I have to
> > continually re-do the
> > > ip/netmask on the internal card each time I re-boot?
> > >
> > > Thanks
> > > TimW
> >
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
> >
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list