Suppose I have the following /etc/host table
setup the  /etc/host file.  This file looks like the following:

#
#Host file  for balls.com company.
#
# IP            FQDN                                  aliases
  
   
  192.5.1.1       store.balls                 store  store-if1
  192.5.1.2.   store3.balls                 store3
  192.5.1.3     store2.balls                 store2
#
  192.5.2.1    store-if2
  192.5.2.2    accounting.balls            accounting
  192.5.2.3    sales.balls                     sales

Host names maybe FQDN or relative to the local domain. Next in the
file /etc/host.conf add the following line
order hosts

In this fictious company there are sub-nets.So in the file  /etc/networks
we add the the following

#/etc/networks for the balls company

tech-support-net      192.5.1.0
customer-support-net  192.5.2.0

I want to know if the following network configs  makes sense:
Example #1
------------------------------------------------------
ifconfig  eth0 store netmaksk 255.255.255.0 up
route add  tech-support-net netmask 255.255.255.0 eth0
route add customer-support-net netmaks 255.255.255.0 eth0 

Example #2
----------------------------------------------------
ifconfig eth0 store netmask 255.255.255.0  up
ifconfig eth1 store1 netmask 255.255.255.0 up
route add tech-support-net  netmask 255.255.255.0 eth0
route add tech-support-net netmask 255.255.255.0 eth1

Example #3
--------------------------------------------------------------------
ifconfig eth0 store netmask 255.255.255.0 up
ifconfig eth1 store2 netmask 255.255.255.0 up
route add tech-support-net netmask 255.255.255.0 eth0
route add customer-support-net netmask 255.255.2  eth1

I admit the actual command sequence might be a bit screwy, but I want
to know if the general networking connection make sense. That is what
I mean

It it doesn't make sense,explain why as networking topology is concerned.

Thanks
Larry Mintz<[EMAIL PROTECTED]>





 









-- 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to