[726] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Setup of IP-Masquerading Help Please (Long)

daemon@ATHENA.MIT.EDU (ray@bigdog.fred.net)
Thu Oct 24 11:43:59 1996

From: ray@bigdog.fred.net
Date: Thu, 24 Oct 1996 11:40:20 -0400 (EDT)
To: Steven Lembark <lembark@wrkhors.com>
cc: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hi,
	 I am new to this networking and trying to setup a small
network here using two RedHat Linux systems with IP-Masquerading.
I have read all the stuff I could find, expecially the IP-Masquerade
Mini-HOWTO, which I tryed to follow step by step, but I still can't
seem to get it working. My setup is as follows:

        BOX1 Name = raven                       BOX2 Name = picard

     204.215.83.136       192.168.1.1             192.168.1.2
INTERNET<----------> BOX1 <---------------------------------> BOX2
Diald PPP Connection        Ethernet 10Base-T Crossover Cable
      Modem


I seem to be able to ping between BOX1 and BOX2, but somehow I missing
something in BOX1 to tell it, that it has (2) two interfaces, because
I can't send anything out. I have tried many different setups but 
this is how it is now. I have been struggling with this for 
several days now and am frustrated, could someone please help
me and explain what I have done wrong here and why ?

The one ERROR message I do see is:
    'ARP: arp called for own IP address'

I hope I have explained everything here, I really would like to
get this system up soon.

Any help or suggestions much appreciated.

Thanks,

------------------------------------------
BOX1 Setup:

/etc/hosts:
127.0.0.1       localhost            
204.215.83.136  raven.fred.net      raven <--- This is my IP address given
192.168.1.1     raven.comsat.net     raven      me by my ISP
192.168.1.2     picard.comsat.net    picard
-------------------------------------------
/etc/syconfig/network-scripts/ifcfg-eth0:
#!/bin/sh

#>>>Device type: ethernet

#>>>Variable declarations:
DEVICE=eth0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
ONBOOT=yes
#>>>End variable declarations
----------------------------------
/etc/rc.d/rc.local:

# This will load IP Masquarding at startup
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp.o
/sbin/modprobe ip_masq_raudio.o
/sbin/modprobe ip_masq_irc.o
#Firewall Setup Info
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -S 192.168.1.1/24 -D 0.0.0.0/0 <-- This came right out
/sbin/ipfwadm -F -a m -S 192.168.1.2/24 -D 0.0.0.0/0 <--    of the HOWTO
-----------------------------------------------------
/etc/resolv.conf:

domain fred.net
search fred.net
nameserver 204.215.84.2
nameserver 204.215.84.100  <-- This info is all pertinent
nameserver 204.215.84.101         to my ISP, since I am not
nameserver 199.0.216.4            running a nameserver

======================================================
BOX2 Setup:

-------------------------------------------
/etc/hosts:
127.0.0.1       localhost            
192.168.1.1     raven.comsat.net     raven
192.168.1.2     picard.comsat.net    picard

--------------------------------------------
/etc/syconfig/network-scripts/ifcfg-eth0:
#!/bin/sh

#>>>Device type: ethernet

#>>>Variable declarations:
DEVICE=eth0
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
ONBOOT=yes
#>>>End variable declarations
---------------------------------
/etc/resolv.conf

domain fred.net
search fred.net
nameserver 204.215.84.2
nameserver 204.215.84.100    <-- This info is all pertinent
nameserver 204.215.84.101         to my ISP, since I am not
nameserver 199.0.216.4            running a nameserver


--------------------------------------------------------------------
      Linux Host 'Ray' 
      Ray Curtis
      e-mail: ray@fred.net






--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post