NEXPEED NBG440 User’s Manual
NexComm Systems, Inc. 91 PAGE
Configuring Load-Balancing
In the following topology, two routers, NBG440 #1 and NBG440 #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 NBG440 #1
Configuration for NBG440 #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:
NBG440_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
--------------------------------------------------------------------
NBG440_1(conf)#
NBG440 #1
S0
S1
10.0.1.0/24
10.0.2.0/24
LAN
NBG440 #2
S0
S1
LAN
Network
A
Network
B
full data rates = 4640 Kbps