The Sun's route command doesn't understand subnet masks , just like RIP
doesn't carry subnet masks. The Sun will only pickup the subnet mask
if you bind that address to one of its interfaces.
The only solution I know of is to add route info into both routers
for all 4 networks . Point the Sun at one of them , then the routers
will send ICMP host redirects to the Sun. This will build the route
table up slowly as traffic is routed to individual hosts. It can make
for a large route table on th eSun , but its the only solution I know
of outside redesigning the Network
Regards,
Chuck
>
> Hi,
>
> I have very long story down here, please read it and reply me a solution.
> Ooppps, its not a Firewall question ;) sorry, desperate for solution.
>
> I'm using Sun Sparc i5 to do a routing for our internal packets. I have
> problem in routing the subnet of Class C address. I break the Class C
> address into 4 networks which means it has mask of 255.255.255.192 and I got
> the following network numbers (correct me if I'm wrong):
>
> 1.2.3.0
> 1.2.3.64
> 1.2.3.128
> 1.2.3.192
>
> The first network (1.2.3.0) used for WAN between ROUTER A and ROUTER B.
> * The routing table on Sun shows :
>
> Network Gateway
> 1.2.3.0 1.1.1.1 (which is ROUTER A's LAN)
> (no problem at this moment)
>
> I add the second network (1.2.3.64) which is also a WAN connection
> between ROUTER C and ROUTER D.
> * The routing table on Sun shows :
>
> Network Gateway
> 1.2.3.0 1.1.1.1 (which is ROUTER A's LAN)
> 1.2.3.64 1.1.1.2 (which is ROUTER C's LAN)
> (I have problem over here...)
>
> I can't PING the WAN interface on ROUTER C and ROUTER D.
> I get a reply ICMP from ROUTER A sayinh host unreachable.
> But I can ping the LAN on ROUTER C.
>
> --> All the four routers are on the same LAN (1.1.1.0).
> --> Edited etc/networks and etc/netmasks approriately.
> --> Flushed routing table, rebooted Sun.
> --> Removed the first route 1.2.3.0 -- 1.1.1.1 from table.
>
> I did all the above and still can't reach the WAN of ROUTER C.
>
> I remove all the route, and added this :
>
> Network Gateway
> 1.2.3.0 1.1.1.2 (which is ROUTER C's LAN)
>
> Guess what ? It works :) I can ping ROUTER C and ROUTER D.
> But I can't reach ROUTER A and ROUTER B :( now.
>
> I beleive this is because the Sun doesn't seems to understand the subnet
> and assumes the 1.2.3.64 as a HOST and not as a NETWORK address.
> (Am I missing anothing over here and Am I correct ?)
>
> I need some advice and suggestions and reasons why is this doesn't work.
> If any of you had experience this, please let me know whats the solution.
>
>
> regards,
> PaLaN
> palan @
mailhost .
net
> "If you can reach them, They can reach you"
>
>
>
>
References:
|
|