PDA

View Full Version : Cisco Due SHDSL 2MB


matteoworld
19-05-2015, 18:52
Buona sera,
sto cercando ci configurare un Cisco 2851 con interfacce Seriali (collegate a FastFrame Telecom SHDSL 2MB)

!
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 3.#.#.21 255.255.255.252
no ip address
duplex full
speed auto
!
interface GigabitEthernet0/1
ip address 2.#.#.17 255.255.255.252
duplex full
speed 100
!
interface Serial0/2/0
no ip address
encapsulation frame-relay
frame-relay lmi-type ansi
!
interface Serial0/2/0.1 point-to-point
ip address 2.§.§.74 255.255.255.252
frame-relay interface-dlci 534 IETF
!
interface Serial0/2/1
no ip address
encapsulation frame-relay
clock rate 2000000
frame-relay lmi-type ansi
!
interface Serial0/2/1.1 point-to-point
ip address 4.§.§.74 255.255.255.252
frame-relay interface-dlci 401 IETF
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 Serial0/2/0.1
!
In questo modo con G0/0 navigo settando il pc con 3.#.#.22

Cambiando
ip route 0.0.0.0 0.0.0.0 Serial0/2/0.1
!
con
ip route 0.0.0.0 0.0.0.0 Serial0/2/1.1
!
In questo modo con G0/1 navigo Settando il PC con 2.#.#.18


Esiste un modo per far Navigare le due LAN in contemporanea con due PC differenti?
Non mi interessa fare bilanciamento di linea semplicemente
PC1->ip pubblico 22 su Linea 1
PC2->ip pubblico 18 su Linea 2

Tutto questo per non utilizzare due Router... visto che ho la HWIC con due seriali e 2 porte GiGabit..
Attendo Vostre solution..

matteoworld
19-05-2015, 18:53
ip cef

interface FastEthernet0/0

Description Primary link ISP1

ip address 12.x.x.x 255.255.255.240

ip nat outside

interface FastEthernet1/0

Description Secondary link ISP2

ip address 76.x.x.x. 255.255.255.252

ip nat outside

interface FastEthernet0/1

Description link ISP3

ip address 96.x.x.x. 255.255.255.252

ip nat outside

interface FastEthernet1/1

Description Inside LAN segment

ip address 172.16.20.1 255.255.255.0

ip nat inside

access-list 100 permit ip 172.16.20.0 0.0.0.255 any

route-map isp1 permit 10

match ip address 100

match interface FastEthernet0/0

route-map isp2 permit 10

match ip address 100

match interface FastEthernet1/0

route-map isp3 permit 10

match ip address 100

match interface FastEthernet0/1

ip nat inside source route-map isp1 interface FastEthernet0/0 overload

ip nat inside source route-map isp2 interface FastEthernet1/0 overload

ip nat inside source route-map isp3 interface FastEthernet0/1 overload

ip route 0.0.0.0 0.0.0.0 12.y.y.y track 1

ip route 0.0.0.0 0.0.0.0 76.y.y.y track 2

ip route 0.0.0.0 0.0.0.0 96.y.y.y track 3

Also you could add IP SLA to monitor those links. In case of failure one of the links it will be removed from routing table.

ip sla 1

icmp-echo 4.4.4.4 source-interface FastEthernet0/0

timeout 1000

ip sla schedule 1 life forever start-time now

ip sla 2

icmp-echo 4.4.4.4 source-interface FastEthernet1/0

timeout 1000

ip sla schedule 2 life forever start-time now

ip sla 3

icmp-echo 4.4.4.4 source-interface FastEthernet0/1

timeout 1000

ip sla schedule 3 life forever start-time now

track 1 ip sla 1 reachability

track 2 ip sla 2 reachability

track 3 ip sla 3 reachability