Yes, this should be the problem.
Another question:
Can I map to another addresses pool which is also assigned to us by ISP? For example,
map xl0 192.168.0.0/24 -> 210.82.51.64/28 portmap tcp/udp auto
I guess there should be static route on 210.82.47.238 like:
ip route 210.82.51.64 0.0.0.15 210.82.47.237
So, if I
bimap 192.168.0.x/32 -> 210.82.51.65/32
could this work?


----- Original Message ----- 
From: "Edward J" <[EMAIL PROTECTED]>
To: "Shepherd" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 03, 2003 3:55 PM
Subject: Re: "no route to host"


> > > map fxp0 192.168.0.0/24 -> 210.82.47.237/32 portmap tcp/udp auto
> > > map fxp0 192.168.0.0/24 -> 210.82.47.237/32
> 
> the rules should be
> map xl0 192.168.0.0/24 -> 210.82.47.237/32 portmap tcp/udp auto
>     ^^^
> map xl0 192.168.0.0/24 -> 210.82.47.237/32
>     ^^^
> 
> 
> -----Original Message-----
> From: "Shepherd" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Date: Wed, 3 Sep 2003 15:14:19 +0800
> Subject: Re: "no route to host"
> 
> > These are result of troucroute some ip:
> >  1  210.82.47.238 (210.82.47.238)  0.706 ms  0.593 ms  0.550 ms
> >  2  210.82.12.254 (210.82.12.254)  1.057 ms  0.948 ms  0.936 ms
> >  3  210.82.12.9 (210.82.12.9)  0.738 ms  0.644 ms  0.638 ms
> >  4  210.82.1.30 (210.82.1.30)  0.929 ms  0.873 ms  0.849 ms
> >  5  * * *
> >  6  * * *
> >  7  * * *
> >  8  *
> > 
> > ----- Original Message ----- 
> > From: "Shepherd" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, September 02, 2003 3:54 PM
> > Subject: "no route to host"
> > 
> > 
> > > I am on FreeBSD 4.8 with 2 network adaptors:
> > > ifconfig_fxp0="inet 192.168.0.5  netmask 255.255.255.0"
> > > ifconfig_xl0="inet 210.82.47.237  netmask 255.255.255.252"
> > > defaultrouter="210.82.47.238"
> > > 
> > > fxp0 to switch of my company, and xl0 to ISP.
> > > When I ping www.google.com, it reports "no route to host" or sometimes 
> > > "communication
> > prohibited by filter". And at this time I couldn't ssh to this machine.
> > > 
> > > ipf.rules:
> > > pass in all
> > > pass out all
> > > 
> > > ipnat.rules:
> > > map fxp0 192.168.0.0/24 -> 210.82.47.237/32 portmap tcp/udp auto
> > > map fxp0 192.168.0.0/24 -> 210.82.47.237/32
> > > 
> > > Where am I wrong?
> > > 
> > > Thanks.
> > > 
> > > Shepherd
> > > 
> > > 
> > 
> 
> 

Reply via email to