Fw: routing problem

wong alimsl@pc.jaring.my
Fri, 19 Oct 2001 10:46:13 +0800


yes is the same netmask

currently is

internet isp --->   switch1 ----- >  myweb server
i want  it to be

internet isp  -- > switch  1 ---> firewall ---swithch 2 -> myweb server

becouse next time if i remove the firewall  i just have to reconnect the
server to switch 1,
and i don have to change the setting on the server.

do you know how can it do it with NAT for this ?

thanks

wong



> > ----- Original Message -----
> > From: Yury German <ygerman@nyc.rr.com>
> > To: wong <alimsl@pc.jaring.my>
> > Sent: 19 October 2001 01:44 AM
> > Subject: Re: routing problem
> >
> >
> > > At 01:54 PM 10/18/01 +0800, you wrote:
> > > >hi
> > > >
> > > >i have some routing setup problem using iptables
> > on my firewall
> > > >
> > > >external ip is  203.112.13.11 eth0
> > > >internal  ip is 203 .112.13.12 eth1
> > > >
> > > >gateware should be 203.112.13.1
> > > >
> > > >my webserver behind firewall is 203.112.13.21
> > > >
> > > >both ip 203.115.13.11 and 203.115.13.12 is allow
> > me ping from outsite
> > > >network and have reply response.
> > > >
> > > >what is the proper setup on route or NAT ?
> > >
> > >  From a first look at this I think that the
> > problem is not with the
> > > netfilter (iptables) but instead with the way your
> > network is setup and
> > the
> > > subnet masks. What are the subnet masks that you
> > are using for all the
> > > interfaces?
> > >
> > > Are the masks for the external ip and the internal
> > ip different?
> > >
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>