My aim is to make a four ethernet port router.For the testing purposes i have attached four rtl8139 ethernet cards with my LRP machine .
They all are configured .Each ethernet card is attached to a single computer which will be soon shifted to a network of computers through a hub/switch.
the details of my network is as follows. 
eth 0 = 192.168.1.2      is attached to       computer A = 192.168.1.10
eth 1 = 192.169.2.2.     is attached to      computer B   = 192.168.2.10
eth2 = 192.168.3.2       is attached  to       computer C = 192.168.3.10
eth3    = 192.168.4.2    is attached  to   computer D   = 192.168.4.10
 
I am using LRP 2.9.8.
The problem i am facing is that all of the four computers i.e A,B,C,D are pinging to LRP and LRP is also pinging to them
I can c the entries of the four networks is the routing table of LRP using ip route  command
but the problem is that the computer A is not pinging to computer B.i need this to happen and then my real works start.
Why they are not pinging?
Is any probem with the network settings?
Should i have to change the firewall policy?
PLS give me the right solution
 
my network.conf file is
 

############################################################################
# Auto configuration bypass (Say NO to use this file)
############################################################################

DIRECT_SETTINGS_ONLY=NO

############################################################################
# Default Settings
############################################################################

VERBOSE=YES
MAX_LOOP=4
DHCP_SLEEP=15

IPFWDING_KERNEL=YES
IPFWDING_FW=NO

IPMASQ_DLOOSE=NO

CONFIG_HOSTNAME=YES

CONFIG_HOSTSFILE=YES

CONFIG_DNS=YES

############################################################################
# Interfaces
############################################################################

IF0_IFNAME=eth0 # interface eth0 is attached to computer 192.168.1.10
IF0_IPADDR=192.168.1.2
IF0_NETMASK=255.255.255.0
IF0_BROADCAST=192.168.1.255
IF0_IP_SPOOF=NO

IF1_IFNAME=eth1 #interface eth2 is attached to computer 192.168.2.10
IF1_IPADDR=192.168.2.2
IF1_NETMASK=255.255.255.0
IF1_BROADCAST=192.168.2.255
IF1_IP_SPOOF=NO

IF2_IFNAME=eth2 #interface eth2 is attached to computer 192.168.3.10
IF2_IPADDR=192.168.3.2
IF2_NETMASK=255.255.255.0
IF2_BROADCAST=192.168.3.255
IF2_IP_SPOOF=NO

IF3_IFNAME=eth3 #interface eth3 is attached to computer 192.168.4.10
IF3_IPADDR=192.168.4.2
IF3_NETMASK=255.255.255.0
IF3_BROADCAST=192.168.4.255
IF3_IP_SPOOF=NO

#IF2_IFNAME=eth1:0
IF2_IPADDR=192.168.0.1
IF2_NETMASK=$IF1_NETMASK
IF2_BROADCAST=$IF1_BROADCAST
IF2_IP_SPOOF=NO

############################################################################
# Hosts
############################################################################

# HOST0_IPADDR=123.102.104.254
HOST0_GATEWAY_IF=default
HOST0_GATEWAY_IP=123.102.104.216
HOST0_IPMASQ=NO
HOST0_IPMASQ_IF=default

############################################################################
# Networks
############################################################################

NET0_NETADDR=192.168.1.0 #computer A = 192.168.1.10 attached to eth0

NET0_NETMASK=255.255.255.0 #instead of a single comp soon a hub/switch will be connected to eth0
NET0_GATEWAY_IF=default
NET0_GATEWAY_IP=default #is these write?
NET0_IPMASQ=NO
NET0_IPMASQ_IF=$IF0_IFNAME

NET1_NETADDR=192.168.2.0 #computer A = 192.168.2.10 attached to eth0
NET1_NETMASK=255.255.255.0 #instead of a single comp soon a hub/switch will be connected
NET1_GATEWAY_IF=default
NET1_GATEWAY_IP=default
NET1_IPMASQ=NO
NET1_IPMASQ_IF=default

NET2_NETADDR=192.168.3.0 #computer C = 192.168.3.10 attached to eth0
NET2_NETMASK=255.255.255.0 #instead of a single comp soon a hub/switch will be connected
NET2_GATEWAY_IF=default
NET2_GATEWAY_IP=default
NET2_IPMASQ=NO
NET2_IPMASQ_IF=$IF2_IFNAME

NET4_NETADDR=192.168.4.0 #computer D = 192.168.4.10 attached to eth0
NET4_NETMASK=255.255.255.0 #instead of a single comp soon a hub/switch will be connected
NET4_GATEWAY_IF=default
NET4_GATEWAY_IP=default
NET4_IPMASQ=NO
NET4_IPMASQ_IF=default

 

############################################################################
# Gateways (Default Routes)
############################################################################

#GW0_IPADDR=123.102.104.254
GW0_IFNAME=eth0
GW0_METRIC=1

############################################################################
# Port Fowarding
############################################################################

# what should i do with it .i am solely interested in router right nowand just router .

#should i use port forwarding

#PF0_IFNAME=$IF0_IFNAME #MASQ IP address of external IP Address
#PF0_DESTIP=192.168.1.210 #One internal web server
#PF0_TPORTS=80:80,21:21,20:20 #TCP/IP ports for web and ftp services
#PF0_UPORTS=53:5353 #None of the services I 'serv' use UDP

#PF1_IFNAME=$IF0_IFNAME #MASQ IP address of external IP Address
#I have a single 'live' IP Address
#PF1_DESTIP=192.168.1.200 #Mail server is seperate from web/ftp
server.
#PF1_TPORTS=25:25 #TCP/IP ports for SMTP services
#PF1_UPORTS= #None of the services I 'serv' use UDP

############################################################################
# Hostname Requires:
CONFIG_HOSTNAME=YES
############################################################################
HOSTNAME=condor

############################################################################
# Hosts file (Static domainname entires) Requires:
CONFIG_HOSTSFILE=YES
############################################################################
# IP FQDN hostname alias1
alias2..
HOSTS0="$IF0_IPADDR $HOSTNAME.yourdomain.org $HOSTNAME t"
HOSTS1="192.168.1.210 server01.yourdomain.org"
HOSTS2="192.168.1.200 server02.yourdomain.org"
HOSTS3="192.168.1.105 client01.yourdomain.org"

############################################################################
# Domain Search Order and Name Servers Requires: CONFIG_DNS=YES
############################################################################

DOMAINS="yourdomain.org yourotherdomain.net"

DNS0=206.13.28.12
DNS1=206.13.31.12

Reply via email to