Ahmed --
If you do this with LRP 2.9.8, all you should need to do is
(1) edit the blocks in /etc/network.conf for the IF0_* variables so they
correctly reflect your eth0, and the IF1_* variables so they correctly
reflect your eth1.
(2) make similar blocks for IF2_* and IF3_*, which will reflect your eth2
and eth3.
(3) edit the HOST0_* block so it contains the address of the one host on the
"external" network.
(4) edit the NET0_* block so it contains information for the eth1 network.
(5) create NET1_* and NET2_* blocks with information for the eth2 and eth3
networks. Here and in step 5, be sure to set the MASQ interface to eth0.
(6) uncomment the line "#GW0_IPADDR=$HOST0_IPADDR" so the system will treat
the external host as its default gateway.
(7) Change other entries, such as the hostname and the DNS addresses, if
needed. These other changes are not specific to a 4-NIC setup, so I don't
detail them here, since there are plenty of HowTo-like documents you can
follow here.
I have to warn you that I have not actually run a 4-NIC setup here, so after
doing this, you may run into problems. (People have run such setups with LRP
2.9.x, but I don't know if anyone on this list has.) If you try this and
encounter problems, please feel free to post the details here (but not to me
personally, please - you'll note that I am responding to the posted message,
not the one you sent to me individually) and we can help you with
troubleshooting.
Also ... the procedure I described is not the only one that will (or should)
work for what you want. In particular, the use of the HOST0_* block is
geared to the external connection being point to point. You don't say what
your eventual Internet connection will be, so I can't guess if this is the
best approach for you to take (though it is fine for the simulated Internet
connection you describe).
Finally ... one problem you may run into stems from your using a
private-range address for the simulated "external" interface. Offhand, I
can't recall if LRP 2.9.8 firewalls private-range addresses on the interface
with the default gateway (as I believe Eiger and EigerStein do). If it does,
the quiuck solution is to use the interface and gateway addresses that you
would use were this router actually connected to your Internet connection.
At 01:38 PM 6/19/01 +0500, Ahmad Saeed wrote:
>I have a LRP box with four ethernet cards .
>1. 192.168.1.1
>2. 192.168.2.1
>3 . 192.168.3.1
>4 192.168.4.1
>
>1.The first interface (eth0 ) is connected to a single computer which has
>IP(192.168.1.10)
> This interface will be connected to internet after testing of my network
>. It has Linux installed on it now
>2. the second interface of LRP is connected to network 192.168.2.x
>3. the third interface of LRP eth2 is connected to network 192.168.3.x
>4 . the fourth interface is connected to LRP2 192.168.4.10
>
>I want that all the computers attached to LRP must have full access to
>computer connected to eth0
>The computers connetced to eth1 (192.168.2.x) must have access to the
>network connected to LRP2 and also to (192.168.3.x)
>The computers connected to eth2 (192.168.3.x) can only access to
>192.168.1.10
>
>Iwant that every computer in my network must ping to each other and then i
>have to measure the band width using software made in java
>What changes shouyld i made in my network.conf and ipfilter.conf
>1. if i am using basic LRP2.9.8
>2. eiger
--
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA [EMAIL PROTECTED]
----------------------------------------------------------------
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user