2 Network card on the same subnet/firewall/routing

2 Network card on the same subnet/firewall/routing

Post by Claudio Parnenzin » Thu, 07 Oct 1999 04:00:00



Hi all,
Hi all,

I'm having trouble to setup my firewall. I would like to have this kind
of design. but I'm not sure that's possible as I would.

  Internet router 212.74.140.206
                 |
                 |
             eth0|
          ---------------
          | 212.74.140.201|                     Hub
          |               |eth1
          | Firewall    
|----------------------------------------------
          |               | 212.74.140.202 |             |            
|
          |               |                |             |            
|
          |               |        212.74.140.203  212.74.140.204
212.74.140.205
           ---------------             --------       -------      
-------
                                       | SMTP |       | DNS |        |
WWW |
                                       --------       -------      
-------
                                    Private Network  Private net.
Private network
                                           |             |              |

As you can see, i have two IP adress on the same subnet. The first one (
eth0 ) is connected to my Internet router ( 212.74.140.206 ) and the
second ( eth1 ) is connected to an Hub where i want to put all my server
on it.

I would use 212.74.140.202 as default gateway for all the server that i
have on the subnet and used eth0 to forward ( IPChaining ) packets to
Internet. I have already setup the firewall and it was working very
well, when eth1 was on my private network. But when i changed my IP
adress to have the two network card on the same subnet one of the
interface don't respond. It seems to be a routing problem but i have no
idea how configure/fixe my Firewall.

Any help will be really appreciate.

If you need to have more details, let me know.

Thanks in advance

 
 
 

2 Network card on the same subnet/firewall/routing

Post by Thomas Kaeme » Thu, 07 Oct 1999 04:00:00



>   Internet router 212.74.140.206
>                  |
>                  |
>              eth0|
>           ---------------
>           | 212.74.140.201|                     Hub
>           |               |eth1
>           | Firewall
> |----------------------------------------------
>           |               | 212.74.140.202 |             |
> |
>           |               |                |             |
> |
>           |               |        212.74.140.203  212.74.140.204
> 212.74.140.205
>            ---------------             --------       -------
> -------
>                                        | SMTP |       | DNS |        |
> WWW |
>                                        --------       -------
> -------
>                                     Private Network  Private net.
> Private network
>                                            |             |              |

> As you can see, i have two IP adress on the same subnet. The first one (

Sorry, but I can see nothing.

Thomas

 
 
 

2 Network card on the same subnet/firewall/routing

Post by Claudio Parnenzin » Fri, 08 Oct 1999 04:00:00


Hi all,

I'm having trouble to setup my firewall. I would like to have this kind
of design. but I'm not sure that's possible

  Internet router 212.74.140.206
                 |
                 |
             eth0|
          ---------------
          | 212.74.140.201|                     Hub
          |               |eth1
          | Firewall    
|----------------------------------------------
          |               | 212.74.140.202 |             |            
|
          |               |                |             |            
|
          |               |        212.74.140.203  212.74.140.204
212.74.140.205
           ---------------             --------       -------      
-------
                                       | SMTP |       | DNS |        |
WWW |
                                       --------       -------      
-------
                                    Private Network  Private net.
Private network
                                           |             |              |

As you can see, i have two IP adress on the same subnet. The first one (
eth0 ) is connected to my Internet router ( 212.74.140.206 ) and the
second ( eth1 ) is connected to an Hub where i want to put all my server
on it.

I would use 212.74.140.202 as default gateway for all the server that i
have on the subnet and used eth0 to forward ( IPChaining ) packets to
Internet. I have already setup the firewall and it was working very
well, when eth1 was on my private network. But when i changed my IP
adress to have the two network card on the same subnet one of the
interface doesn't respond. It seems to be a routing problem but i have
no
idea how configure/fixe my Firewall.

Any help will be really appreciate.  

If you need to have more details, let me know.

Thanks in advance

P.S. I'm using Redhat 6.0 to do it ( Kernel 2.2.5-15 )

 
 
 

2 Network card on the same subnet/firewall/routing

Post by Claudio Parnenzin » Fri, 08 Oct 1999 04:00:00


Hi all,

I'm having trouble to setup my firewall. I would like to have this kind of
desig
n. but I'm not sure that's possible as I would.

Internet router 212.74.140.206
                  |
                  |
          eth0 |
           -----------------
          | 212.74.140.201|
          |                          |eth1                            HUB
          | Firewall
|---------------------------------------------
          |                          | 212.74.140.202              |
|
          |                          |
|                          |
          |                          |
212.74.140.203    212.74.140.204
           -----------------                                   --------    
           -------
                                                                      | SMTP
|               | DNS |
                                                                       -----
---                 ------

|                           |
                                                                 Private
Network     Private Network

|                           |

As you can see, i have two IP adress on the same subnet. The first one
(eth0 ) is connected to my Internet router ( 212.74.140.206 ) and the second
( eth1 ) is connected to an Hub where i want to put all my server on it.

I would use 212.74.140.202 as default gateway for all the server that i have
on the subnet and used eth0 to forward ( IPChaining ) packets to Internet. I
have already setup the firewall and it was working very well, when eth1 was
on my private network. But when i changed my IP adress to have the two
network card on the same subnet one of the interface doesn't respond. It
seems to be a routing problem but i have no idea how configure/fixe my
Firewall.

Any help will be really appreciate.  If you need to have more details, let
me know.

Thanks in advance

P.S. I'm using Redhat 6.0 to do it ( Kernel 2.2.5-15 )

 
 
 

2 Network card on the same subnet/firewall/routing

Post by Thomas Kaeme » Fri, 08 Oct 1999 04:00:00



>   Internet router 212.74.140.206
>                  |
>                  |
>              eth0|
>           ---------------
>           | 212.74.140.201|                     Hub
>           |               |eth1
>           | Firewall
> |----------------------------------------------
>           |               | 212.74.140.202 |             |
> |
>           |               |                |             |
> |
>           |               |        212.74.140.203  212.74.140.204
> 212.74.140.205
>            ---------------             --------       -------
> -------
>                                        | SMTP |       | DNS |        |
> WWW |
>                                        --------       -------
> -------
>                                     Private Network  Private net.
> Private network
>                                            |             |              |

> As you can see, i have two IP adress on the same subnet. The first one (

Nobody can understand your picture because it looks cracy.

Thomas

 
 
 

2 Network card on the same subnet/firewall/routing

Post by QuestionExchang » Sat, 09 Oct 1999 04:00:00


The problem is that you can not have two NICs with addresses in
the same network/subnet.
To make this work your ISP,s router (212.74.140.206), hub
(212.74.140.201) <not sure why you need the hub from your
diagram>, and firewall (212.74.140.202) must be on ONE subnet,
and the firewall's other NIC and the hosts behind the firewall
must be on another subnet.  Your ISP will need to route the
subnet you are using behind the firewall to the IP address of
the firewall.  Your firewall will logically be a router as
viewed from your ISP's side.

Quote:> Hi all,
> Hi all,

> I'm having trouble to setup my firewall. I would like to have
this kind
> of design. but I'm not sure that's possible as I would.

>   Internet router 212.74.140.206
>                  |
>                  |
>              eth0|
>           ---------------
>           | 212.74.140.201|                     Hub
>           |               |eth1
>           | Firewall
> |----------------------------------------------
>           |               | 212.74.140.202 |             |
> |
>           |               |                |             |
> |
>           |               |        212.74.140.203
212.74.140.204
> 212.74.140.205
>            ---------------             --------       -------
> -------
>                                        | SMTP |       | DNS |
|
> WWW |
>                                        --------       -------
> -------
>                                     Private Network  Private
net.
> Private network
>                         |   |              |

> As you can see, i have two IP adress on the same subnet. The
first one (
> eth0 ) is connected to my Internet router ( 212.74.140.206 )
and the
> second ( eth1 ) is connected to an Hub where i want to put
all my server
> on it.

> I would use 212.74.140.202 as default gateway for all the
server that i
> have on the subnet and used eth0 to forward ( IPChaining )
packets to
> Internet. I have already setup the firewall and it was
working very
> well, when eth1 was on my private network. But when i changed
my IP
> adress to have the two network card on the same subnet one of
the
> interface don't respond. It seems to be a routing problem but
i have no
> idea how configure/fixe my Firewall.

> Any help will be really appreciate.

> If you need to have more details, let me know.

> Thanks in advance

--
  This answer is courtesy of QuestionExchange.com
  http://www.questionexchange.com/showUsenetGuest.jhtml?ans_id=4243&cus...