firewall with 3 nic , need help.....

firewall with 3 nic , need help.....

Post by Simon Hun » Sun, 31 Dec 1899 09:00:00



Dear All,

  My box have 3 nic installed , I would like to use this box as my firewall
with DMZ,
Those card was loaded up successfully during LILO. And I have assigned the
following IP for each interface as follow :
----------------------------------------------------------------------------
-----------------
 eth1 : 168.168.1.254 ----- For our Private LAN (Intel EtherExpress Pro100)
 netmask: 255.255.0.0
 network: 168.168.0.0
 broadcast: 168.168.255.255

 eth2 : 168.168.2.254 ----- For our DMZ (Intel EtherExpress Pro100)
 netmask: 255.255.0.0
 network: 168.168.0.0
 broadcast: 168.168.255.255

 eth2 : x.x.x.x --------------- Which is our public IP (3c905B-TPO)

 Also, I have set up 2 PC for test using crossover Cat5.

 PC1 (simulate as Private LAN client)
 - connect to the "eth1"
 - and the IP is 168.168.1.10
 netmask: 255.255.0.0
 network: 168.168.0.0
 broadcast: 168.168.255.255
 gateway : 168.168.1.254

 PC2 (simulate as DMZ's server)
 - connect to the "eth2"
 - and the IP is 168.168.1.10
 netmask: 255.255.0.0
 network: 168.168.0.0
 broadcast: 168.168.255.255
 gateway : 168.168.2.254
----------------------------------------------------------------------------
-----------------

  After those setup, I started try to ping those test PC at the Firewall
box.
but just the PC2 have response.. The interrupts of those eth0 and eth1 are
keep
increasing.... so, will this is the routing problem or what other else ??

  Does anyone experienced this wired things b4 ??

Thank
Simon.H
Simon.H

 
 
 

firewall with 3 nic , need help.....

Post by David K. Mean » Sun, 05 Nov 2000 12:36:02


For this situation, you need netmask 255.255.255.0, not 255.255.0.0
  And then you need to make sure that you have routes for each
subnet in your routing table:
168.168.1.0  ....... U ... eth1
168.168.2.0  ....... U ... eth2
x.x.x.x           ....... U ... eth0
127.0.0.0      ....... U ... lo
0.0.0.0  {gw_add}U ... eth0


Quote:> Dear All,

>   My box have 3 nic installed , I would like to use this box as my
firewall
> with DMZ,
> Those card was loaded up successfully during LILO. And I have assigned the
> following IP for each interface as follow :
> --------------------------------------------------------------------------
--
> -----------------
>  eth1 : 168.168.1.254 ----- For our Private LAN (Intel EtherExpress
Pro100)
>  netmask: 255.255.0.0
>  network: 168.168.0.0
>  broadcast: 168.168.255.255

>  eth2 : 168.168.2.254 ----- For our DMZ (Intel EtherExpress Pro100)
>  netmask: 255.255.0.0
>  network: 168.168.0.0
>  broadcast: 168.168.255.255

>  eth2 : x.x.x.x --------------- Which is our public IP (3c905B-TPO)

>  Also, I have set up 2 PC for test using crossover Cat5.

>  PC1 (simulate as Private LAN client)
>  - connect to the "eth1"
>  - and the IP is 168.168.1.10
>  netmask: 255.255.0.0
>  network: 168.168.0.0
>  broadcast: 168.168.255.255
>  gateway : 168.168.1.254

>  PC2 (simulate as DMZ's server)
>  - connect to the "eth2"
>  - and the IP is 168.168.1.10
>  netmask: 255.255.0.0
>  network: 168.168.0.0
>  broadcast: 168.168.255.255
>  gateway : 168.168.2.254
> --------------------------------------------------------------------------
--
> -----------------

>   After those setup, I started try to ping those test PC at the Firewall
> box.
> but just the PC2 have response.. The interrupts of those eth0 and eth1 are
> keep
> increasing.... so, will this is the routing problem or what other else ??

>   Does anyone experienced this wired things b4 ??

> Thank
> Simon.H
> Simon.H


 
 
 

1. 3 nic firewall, need help...

Dear All,

  My box have 3 nic installed , I would like to use this box as my firewall
with DMZ,
Those card was loaded up successfully during LILO. And I have assigned the
following IP for each interface as follow :
----------------------------------------------------------------------------

 eth1 : 168.168.1.254 ----- For our Private LAN (Intel EtherExpress Pro100)
 netmask: 255.255.0.0
 network: 168.168.0.0
 broadcast: 168.168.255.255

 eth2 : 168.168.2.254 ----- For our DMZ (Intel EtherExpress Pro100)
 netmask: 255.255.0.0
 network: 168.168.0.0
 broadcast: 168.168.255.255

 eth2 : x.x.x.x --------------- Which is our public IP (3c905B-TPO)

 Also, I have set up 2 PC for test using crossover Cat5.

 PC1 (simulate as Private LAN client)
 - connect to the "eth1"
 - and the IP is 168.168.1.10
 netmask: 255.255.0.0
 network: 168.168.0.0
 broadcast: 168.168.255.255
 gateway : 168.168.1.254

 PC2 (simulate as DMZ's server)
 - connect to the "eth2"
 - and the IP is 168.168.1.10
 netmask: 255.255.0.0
 network: 168.168.0.0
 broadcast: 168.168.255.255
 gateway : 168.168.2.254
----------------------------------------------------------------------------

  After those setup, I started try to ping those test PC at the Firewall
box.
but just the PC2 have response.. The interrupts of those eth0 and eth1 are
keep
increasing.... so, will this is the routing problem or what other else ??

  Does anyone experienced this wired things b4 ??

Thank
Simon.H

2. 2.5: ewrk3 ioctl locking fixups

3. HELP: need help geting my NIC card working!

4. 2.2.19pre15: drivers/net/Config.in: 359: bad if condition

5. Help ! Router firewall with only one NIC

6. XF86_VGA16 with S3-Trio64V+

7. dual NIC for linux firewall? Help please.

8. Intel Ether Express PRO/10, Sound Blaster 16 (PnP devices)

9. HELP: DSL/2 NICS/RH 7.0/FIREWALL

10. Help in configuring a 2 nic machine within a firewall

11. Crossover Cable Needed for Direct NIC 2 NIC?

12. Do I need a software firewall in addition to a NAT router/firewall?

13. need help configuring nic