NEXPEED NR304G-4W User’s Manual
NexComm Systems, Inc. 67 PAGE
Configuring Load-Balancing
In the following topology, two routers, NR304G-4W #1 and NR304G-4W #2, connect back-to-
back over two SHDSL interfaces (s0 and s1) with high-level data link control (HDLC)
encapsulation. The LAN interface is connected with a local network device (hub or switch). The
LAN interface supports either 10BaseT or 100BaseTx connection.
Configuration for NR304G-4W #1
Configuration for NR304G-4W #2
(conf)# device s0 gshdsl co 2320
(conf)# device s1 gshdsl co 2320
(conf)# interface lan ip 10.0.1.1 255.255.255.0
(conf)# interface s0 ip unnumbered
(conf)# interface s1 ip unnumbered
(conf)#
ip route add 10.0.2.0 255.255.255.0 s0
(conf)#
ip route add 10.0.2.0 255.255.255.0 s1
(conf)# write config
(conf)# device s0 gshdsl rt
(conf)# device s1 gshdsl rt
(conf)# interface lan ip 10.0.2.1 255.255.255.0
(conf)# interface s0 ip unnumbered
(conf)# interface s1 ip unnumbered
(conf)#
ip route add 10.0.1.0 255.255.255.0 s0
(conf)#
ip route add 10.0.1.0 255.255.255.0 s1
(conf)# write config
Equal cost routes can usually be found by using the
show ip route
-
v
command. For example,
below is the output for show ip route to a particular subnet that has multiple routes.
Example:
NR304G-4W_1(conf)# sh ip route -v
destination
netmask
gateway
met
ifname
type
-------------------------------------------------------------------
10.0.2.0
255.255.255.0
0.0.0.0
1
s1
static
- cost 431+200000, ref 1, use 0, flag 0x0
--------------------------------------------------------------------
10.0.2.0
255.255.255.0
0.0.0.0
1
s0
static
- cost 431+200000, ref 1, use 0, flag 0x0
--------------------------------------------------------------------
10.0.1.0
255.255.255.0
10.0.1.254
0
lan
connected
- cost 130, ref 1, use 0, flag 0x0
--------------------------------------------------------------------
NR304G-4W_1(conf)#
NR304G-4W #1
S0
S1
10.0.1.0/24
10.0.2.0/24
LAN
NR304G-4W #2
S0
S1
LAN
Network
A
Network
B
full data rates = 4640 Kbps