Metric in static route in RRAS

abatishchev

Member
Joined
Feb 3, 2009
Messages
4
Hello. Could you please help me with next problem:

I have freshly installed Windows Server 2008 Enterprise SP build 6001. Service RRAS is started, configured and works properly.
Server has 2 network cards (named LAN and WAN):
LAN is interface for internal network, IP 10.0.0.1, no gateway set.
WAN is interface for external network, IP 192.168.112.45, gateway 192.168.112.4
Server is NAT from internal to external. And it works fine.

With RRAS I creates a PPPoE-connection thru WAN interface, servers gets additional IP IP 81.200.116.70. Gateway is nothing until no static route is set via dialog in RRAS console: address 0.0.0.0, mask 0.0.0.0, interface Dial-In Interface, metric1. So gateway becomes 10.0.13.21.

After this acrions result of route print is next:

Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.112.4 192.168.112.45 20
0.0.0.0 0.0.0.0 10.0.13.21 81.200.116.70 21
10.0.0.0 255.255.255.0 On-link 10.0.0.1 276
10.0.0.1 255.255.255.255 On-link 10.0.0.1 276
10.0.0.10 255.255.255.255 On-link 10.0.0.10 306
10.0.0.255 255.255.255.255 On-link 10.0.0.1 276
10.113.0.0 255.255.0.0 192.168.112.4 192.168.112.45 21
10.118.0.0 255.255.0.0 192.168.112.4 192.168.112.45 21
10.123.0.0 255.255.0.0 192.168.112.4 192.168.112.45 21
81.200.116.70 255.255.255.255 On-link 81.200.116.70 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.0.0 255.255.0.0 192.168.112.4 192.168.112.45 21
192.168.112.0 255.255.255.0 On-link 192.168.112.45 276
192.168.112.45 255.255.255.255 On-link 192.168.112.45 276
192.168.112.255 255.255.255.255 On-link 192.168.112.45 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.0.0.1 277
224.0.0.0 240.0.0.0 On-link 192.168.112.45 277
224.0.0.0 240.0.0.0 On-link 10.0.0.10 307
224.0.0.0 240.0.0.0 On-link 81.200.116.70 21
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.0.0.1 276
255.255.255.255 255.255.255.255 On-link 192.168.112.45 276
255.255.255.255 255.255.255.255 On-link 10.0.0.10 306
255.255.255.255 255.255.255.255 On-link 81.200.116.70 276
===========================================================================
Persistent Routes:
None


Default route thru WAN gateway (192.168.112.4) has metric lower then just created thru PPPoE gateway (10.0.13.21)! That's why inter net doesn't works, WAN gateway 192.168.112.4 answers No route to host. All goes works fine only after deletion of default route thru WAN gateway (0.0.0.0 ; 0.0.0.0 ; 192.168.112.4 ; 192.168.112.45 ; 20) or increase it's metric to 21+.

How to fix that? Why I set metric for static route to 1, but it sets as 21? (metric of WAN + specified value) ??

P.S.
In Windows 2003 this configuration works great!
 
Back
Top