no route to host
Ronald Weinrich
freebsd at werosoft.com
Wed May 7 04:25:41 PDT 2003
Hi Danny Pansters,
thank you for clearing me up
so that means 213.47.28.166/32 is only ip 213.47.28.166
if try to create a static route from 192.168.0.0/16 to my dns1 on 213.47.28.162/32 I
have to add to my rc.conf
static_route="dns"
route_nds="-net 192.168.0.0/16 213.47.28.162/32"
--------- ip xx.xx.xx.xx
MY ROUTER
--------- 213.47.28.161 is gw for ..162 and 163
|
|
--------www dns1 xx.xx.xx.162
|
--------dns2 xx.xx.xx.163
|
|
--------- ed0 xx.xx.xx.166
freebsd-box
ipnat should run here :)
(ipfilter) later may be ;)
--------- ep0 192.168.0.1 gw for intra 192.168.0.xx
^
^
192.168.0.0/16
correct ?
thank you
ron
> No. 213.0.0.0/8 would mean a whole class A netblock. The number 8 means 8 bits
> for the subnet part (starting from left, which is only the first byte, or 8
> bits) and 24 bits for the host part. So this is a subnet that can have ~ 16
> million hosts. More precisely the 213.47.28.160/8 describes what can be
> called host 47.28.160 on that huge subnet (supernet really).
>
> In contrast, 213.47.28.166 with a 255.255.255.240 mask is 213.47.28.166/28. So
> your gateway is host number 6 on the 213.47.28.160/28 subnet, 213.47.28.160
> being the network address, 213.47.28.175 being the broadcast address and the
> 14 numbers inbetween can be used as host IPs.
>
>
> It's not a firewalling/NAT problem, although it's a good idea to have routing
> OK'd before dealing with filtering/NAT on the gateway/firewall box.
>
> HTH,
>
> Danny
>
>
> > from outside 213.47.28.160/28 to ed0 213.47.28.166/32 works
> >
> > is that a ipnat problem? or a routing problem?
>
> <snip>
>
> --
>
> Ricin Radio!
> http://www.mp3.com/stations/ricin_radio
>
>
More information about the freebsd-questions
mailing list